In Progress UPS-398 - September 21st Easyapache update causing segfaults in apache/PHP 5.6

Operating System & Version
CentOS Linux release 7.9.2009 (Core)
cPanel & WHM Version
98.0.8

kdean

Well-Known Member
Oct 19, 2012
406
80
78
Orlando, FL
cPanel Access Level
Root Administrator
Don't know about PHP 5.6 specifically, but I'm also having problems with apache 2.4.49. After about 1.5 hours, apache stops responding completely. Restarting apache brings it back for another 1.5 hours or so. I run PHP versions from 5.6 to 7.4 via PHP-FPM which remains functional once apache is restarted.

I also downgraded all the ea-apache24 related updates but added a cron firing ever 15 minutes to graceful restart just in case since I don't want to risk their still being an issue when I'm asleep.

Googling shows some Linux and DirectAdmin users experiencing similar issues with 2.4.49, but some are fine.
 
  • Like
Reactions: inveress

voip

Member
Apr 8, 2004
17
2
153
After about 1.5 hours, apache stops responding completely. Restarting apache brings it back for another 1.5 hours or so. I run PHP versions from 5.6 to 7.4 via PHP-FPM which remains functional once apache is restarted.
Exactly the same situation, although it seems that only 20% of our servers are affected by this issue. I hope cPanel finds a solution soon, should we contact support?
 

voip

Member
Apr 8, 2004
17
2
153
We do not use Cloudlinux.

It only happens on virtualized servers (virtuozzo and kvm), but not all virtualized ones are affected, very strange.

All non-virtualized servers work fine.
 
  • Like
Reactions: Simon Greenwood
Mar 8, 2017
16
0
51
Bradford, West Yorkshire, UK
cPanel Access Level
Root Administrator
We're seeing it on physical servers. It is clear there is problem. I admin a bunch of cPanel servers but we aren't a registered user or reseller and I'm not sure whether we can raise a ticket without a licence so it may be easier for someone else to do it.

We do not use Cloudlinux.

It only happens on virtualized servers (virtuozzo and kvm), but not all virtualized ones are affected, very strange.

All non-virtualized servers work fine.
 

gnusys

Well-Known Member
Jan 18, 2013
62
20
58
cPanel Access Level
DataCenter Provider
What mpm are you using?
########
rpm -qa|grep mpm
########

I had a similar case and it was event MPM and switching to prefork did make things better
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
14,307
2,239
363
cPanel Access Level
Root Administrator
Hey everyone - we're definitely aware, although it is an upstream issue with Apache. We're tracking it through an internal upstream case as it is related to this:


There's a patch available here:


but since this is still so new we haven't tested on our end just yet. We're working on it though and I'll post an update once I have more details.
 

sparek-3

Well-Known Member
Aug 10, 2002
2,138
260
388
cPanel Access Level
Root Administrator
Looks like Apache 2.4.49 modules are still being listed in the repository. Although Apache 2.4.49 itself is not listed. I'm not sure if that would be problematic or not.

Also of note - updating cPanel also runs a yum update. There was a new cPanel update a few days ago (at least for the 94 branch). So even if you have automatic yum updates disabled, if you update cPanel, yum update is going to run. This has been problematic for me in the past when a cPanel update and an EasyApache update is released on the same day (EA updates are usually done on Thursdays it would seem). Although this may be mitigated since Apache 2.4.49 itself has been removed from the repository for right now. I mention this because someone may have been aware of the Apache 2.4.49 issues and wanted to avoid it, but if they run upcp, then they will inadvertently get updated to Apache 2.4.49 (at least prior to cPanel removing Apache 2.4.49 from the repository).
 

Ryan Burke

Member
PartnerNOC
Feb 4, 2017
9
3
53
Tampa, Fl
cPanel Access Level
DataCenter Provider
As a workaround in the meantime, I switched Apache from mpm_event to mpm_worker

Which seems to be working until a patch.

Tested it on two separate machines; still saw 1-2 mpm_worker SIGTERMs, but only right after swapping. Both have been good for about 45 minutes now, instead of having to restart httpd every 10-15 minutes.
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
14,307
2,239
363
cPanel Access Level
Root Administrator
Currently we are recommending that you switch to mpm_worker as outlined here: cPanel

We don't recommend trying to downgrade the packages are there are several that are affected - my personal system has 13 dependencies for ea-apache24 when I checked just now.

We're already working on a fix on our side and hope to have that out soon.
 
  • Like
Reactions: mvandemar

mvandemar

Well-Known Member
Jun 17, 2006
171
47
178
Currently we are recommending that you switch to mpm_worker as outlined here: cPanel

We don't recommend trying to downgrade the packages are there are several that are affected - my personal system has 13 dependencies for ea-apache24 when I checked just now.

We're already working on a fix on our side and hope to have that out soon.
Soo... it won't let me do that. When I go to EA4 and deselect event and select worker, it tells me there are no changes to make, and Provision is grayed out:





Is this by any chance because y'all removed 2.4.49 from your mirrors? Or something else?

-Michael
 

mvandemar

Well-Known Member
Jun 17, 2006
171
47
178
I wouldn't expect that to be caused by the mirror changes. If you're seeing odd issues with EA4, could you submit a ticket to our team so we can check that?
Based on average reply times and the fact that I am just doing this as a workaround to something the team is actively trying to fix, do you think it's worth submitting on? Ie. could this be indicative of some other underlying issue that should be looked at? Or should I wait until the fix comes out?

-Michael
 

Achatpc

Registered
Sep 23, 2021
1
0
1
Belgique
cPanel Access Level
Website Owner
Hello,

I have same issue on Ubuntu 20 since last apache 2.4.49 update official update. I dont use cpanel. No error trace in logs and solved after apache2 service restart.
The problem recurs every 4 to 6 hours depending on the traffic.

Hope that can help to identify issue and solve it.
 
Last edited: