mpm_event fails to restart all children gracefully

Bug #1979942 reported by Christian Ehrhardt 
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apache2 (Ubuntu)
Fix Released
Undecided
Unassigned
Bionic
New
Undecided
Bryce Harrington
Focal
New
Undecided
Bryce Harrington

Bug Description

Reported on the ML [1] and seems to be a valid and real bug for some active releases.

It is in 2.4.49 and thereby fixed in Jammy and later.
Introduced in 2.3.34 so it wasn't present in Bionic yet.

Upstream bug [2]

It first sounded (by the words) a bit like this old bug [3], but it is an entirely new thing.

Since it is fixed upstream we know the change which looks kind of small and reasonable [4].

Maybe someone could evaluate how well (or not) applicable that would be to Focal/Impish?

@Mike - if you read this later, to SRU it we will need a testcase and the upstream bug isn't very helpful. If you would be able to add a step by step description how to trigger the case that would be very helpful.

States from here:
- Triaged for now, action is to eval the applicability of the change
- Then if repro steps exists let us look at an SRU, if not -> incomplete

[1]: https://lists.ubuntu.com/archives/ubuntu-devel-discuss/2022-June/019284.html
[2]: https://bz.apache.org/bugzilla/show_bug.cgi?id=63169
[3]: https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1466926
[4]: https://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/server/mpm/event/event.c?r1=1893109&r2=1893108&pathrev=1893109

Changed in apache2 (Ubuntu):
status: New → Fix Released
tags: added: server-todo
Revision history for this message
Bryce Harrington (bryce) wrote :

Attached is the patch upstream backported to the 2.4.x branch. It applies cleanly to bionic and focal's apache2 (with -p4), but jammy already has this fix.

From what I understand, this is an issue that crops up only when apache2 is under intense load, so identifying a reliable test case may be a challenge. However, the fix makes sense and the patch seems reasonable to me.

no longer affects: apache2 (Ubuntu Impish)
Revision history for this message
Bryce Harrington (bryce) wrote :

[Test case needed]

Changed in apache2 (Ubuntu Focal):
status: New → Incomplete
Bryce Harrington (bryce)
summary: - mpm_event fails to restart all childs gracefully
+ mpm_event fails to restart all children gracefully
Bryce Harrington (bryce)
Changed in apache2 (Ubuntu Focal):
status: Incomplete → New
Revision history for this message
Bryce Harrington (bryce) wrote :

A PPA with the patch is available at https://launchpad.net/~bryce/+archive/ubuntu/apache2-fix-lp1979942

As Christian already mentioned above, we need a reproducing test case in order to move forward with an SRU for this package. Or, if an affected person can assist with reproducing the fault on their own system, and then validating the fix we may be able to proceed. In that case we'll need you to also reproduce the issue and fix again later, as part of the final acceptance verification.

Can someone affected by this issue assist? We need either a reproducing test case, or we need someone willing to handle doing the testing themselves.

Changed in apache2 (Ubuntu Bionic):
assignee: nobody → Bryce Harrington (bryce)
Changed in apache2 (Ubuntu Focal):
assignee: nobody → Bryce Harrington (bryce)
tags: removed: server-todo
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers