Control Web Panel
WebPanel => Apache => Topic started by: toanle on June 19, 2025, 04:10:55 AM
-
Hello every body,
I have one error on apache with AlmaLinux 9.x and bellow is log:
× httpd.service - Web server Apache
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; preset: disabled)
Active: failed (Result: oom-kill) since Thu 2025-06-19 01:19:35 UTC; 2h 46min ago
Duration: 16h 45min 34.142s
Process: 104254 ExecStart=/usr/local/apache/bin/apachectl start (code=exited, status=0/SUCCESS)
Process: 142306 ExecStop=/usr/local/apache/bin/apachectl graceful-stop (code=exited, status=0/SUCCESS)
Main PID: 104257 (code=killed, signal=KILL)
CPU: 47min 29.826s
Jun 19 01:19:34 vultr.guest systemd[1]: httpd.service: Killing process 142117 (httpd) with signal SIGKILL.
Jun 19 01:19:34 vultr.guest systemd[1]: httpd.service: Killing process 142121 (httpd) with signal SIGKILL.
Jun 19 01:19:34 vultr.guest systemd[1]: httpd.service: Killing process 142122 (httpd) with signal SIGKILL.
Jun 19 01:19:34 vultr.guest systemd[1]: httpd.service: Killing process 142124 (httpd) with signal SIGKILL.
Jun 19 01:19:34 vultr.guest systemd[1]: httpd.service: Killing process 142189 (httpd) with signal SIGKILL.
Jun 19 01:19:34 vultr.guest systemd[1]: httpd.service: Killing process 142190 (httpd) with signal SIGKILL.
Jun 19 01:19:34 vultr.guest systemd[1]: httpd.service: Killing process 142214 (httpd) with signal SIGKILL.
Jun 19 01:19:34 vultr.guest systemd[1]: httpd.service: Main process exited, code=killed, status=9/KILL
Jun 19 01:19:35 vultr.guest systemd[1]: httpd.service: Failed with result 'oom-kill'.
Jun 19 01:19:35 vultr.guest systemd[1]: httpd.service: Consumed 47min 29.826s CPU time.
My VPS INFO:
CPU Model: AMD EPYC-Rome Processor
CPU Details: 2 Core (2795 MHz)
Distro Name: AlmaLinux release 9.6 (Sage Margay)
Kernel Version: 5.14.0-570.19.1.el9_6.x86_64
CWP PRO
Please help me. Thanks all.
-
'oom-kill' in the message:
Jun 19 01:19:35 vultr.guest systemd[1]: httpd.service: Failed with result 'oom-kill'.
makes me think your VPS is Out Of Memory (oom).
Check the resource usage and RAM consumption.
-
'oom-kill' in the message:
Jun 19 01:19:35 vultr.guest systemd[1]: httpd.service: Failed with result 'oom-kill'.
makes me think your VPS is Out Of Memory (oom).
Check the resource usage and RAM consumption.
Also do you think Centos vs Almalinux ? Because same on centos have not any same error.
Thank you!
-
I think there is no sense to use CentOS nowadays. If I have to select CentOS or AlmaLinux then my vote for AlmaLinux .
-
CentOS is now a beta-quality OS. Fedora is alpha-class, CentOS is the beta, RHEL is the release-quality. AlmaLinux has taken the place of CentOS as the stable, server-quality release for an EL-compatible (formerly clone) OS. You will have the best success with AlmaLinux as the foundation for a server.
Does your Vultr VPS have 4GB of memory? I've frequently seen VPS plans have too low of memory and I would say 4GB is bare minimum. 8GB would be a lot more comfortable headroom on a VPS server.
-
I would be worried why servers are using:
vultr.guest systemd[1]:
Why is there is a 'vultr.guest' account on the server.
That's the account showing that is killing your Apache.
Jun 19 01:19:34 vultr.guest systemd[1]: httpd.service: Killing process 142117 (httpd) with signal SIGKILL.
-
I would be worried why servers are using:
vultr.guest systemd[1]:
Why is there is a 'vultr.guest' account on the server.
That's the account showing that is killing your Apache.
Jun 19 01:19:34 vultr.guest systemd[1]: httpd.service: Killing process 142117 (httpd) with signal SIGKILL.
So your mean problem from hosting name?
-
Why is there is a 'vultr.guest' account on the server.
That's the account showing that is killing your Apache.
'vultr.guest' isn't the account. It is the part of the server's hostname.
-
Thanks all, i just edit server name. Let wait.
Thanks Again!