Author Topic: Apache auto turn off on AlmaLinux 9.x  (Read 159 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Apache auto turn off on AlmaLinux 9.x
« 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.

Offline
***
Re: Apache auto turn off on AlmaLinux 9.x
« Reply #1 on: June 19, 2025, 10:42:03 AM »
'oom-kill' in the message:

Code: [Select]
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.

Offline
*
Re: Apache auto turn off on AlmaLinux 9.x
« Reply #2 on: June 19, 2025, 05:51:14 PM »
'oom-kill' in the message:

Code: [Select]
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!

Offline
***
Re: Apache auto turn off on AlmaLinux 9.x
« Reply #3 on: June 19, 2025, 07:04:38 PM »
I think there is no sense to use CentOS nowadays. If I have to select CentOS or AlmaLinux then my vote for AlmaLinux .

Offline
*****
Re: Apache auto turn off on AlmaLinux 9.x
« Reply #4 on: June 19, 2025, 07:06:47 PM »
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. 
« Last Edit: June 19, 2025, 07:10:01 PM by overseer »

Offline
*****
Re: Apache auto turn off on AlmaLinux 9.x
« Reply #5 on: June 21, 2025, 07:31:49 PM »
I would be worried why servers are using:

Quote
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.

Quote
Jun 19 01:19:34 vultr.guest systemd[1]: httpd.service: Killing process 142117 (httpd) with signal SIGKILL.

Offline
*
Re: Apache auto turn off on AlmaLinux 9.x
« Reply #6 on: June 22, 2025, 05:36:36 PM »
I would be worried why servers are using:

Quote
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.

Quote
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?

Offline
***
Re: Apache auto turn off on AlmaLinux 9.x
« Reply #7 on: June 23, 2025, 07:55:17 AM »

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.

Offline
*
Re: Apache auto turn off on AlmaLinux 9.x
« Reply #8 on: June 23, 2025, 06:26:41 PM »
Thanks all, i just edit server name. Let wait.
Thanks Again!