• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

Issue Apache child segfaults in mod_passenger 6.2.0.1 (Plesk 18.0.82 Update 4) + Passenger reports security update to 6.2.2

abanico

New Pleskian
Server operating system version
Almalinux 9.9
Plesk version and microupdate number
18.0.82 #4
Hi all,


On one of our servers we're seeing recurring segfaults of Apache child processes inside mod_passenger, and Passenger itself reports that a security update is available. Looking for confirmation whether this is a known issue and whether an updated Passenger package is planned.


Environment
  • Plesk Obsidian 18.0.82 Update 4
  • AlmaLinux 9.9
  • nginx as reverse proxy in front of Apache (event MPM); Node.js apps served by Passenger under Apache, PHP sites via PHP-FPM
  • Apache/2.4.62 (AlmaLinux)
  • 100+ Node.js apps on the server, PassengerMaxPoolSize 128
  • Packages: passenger-6.2.0.1-2.redhat.9+p18.0.82.4, mod_passenger-6.2.0.1-2.redhat.9+p18.0.82.4

1. Segfaults in mod_passenger

coredumpctl shows httpd children dying with SIGSEGV. Sporadic before (it also happened with the previous Passenger 6.1.x, prior to Update 4), and a burst of ~26 crashes in 8 minutes today:

Code:
Thu 2026-11-12 12:43:28  SIGSEGV  /usr/sbin/httpd   (x2)
Tue 2026-11-17 10:55:30  SIGSEGV  /usr/sbin/httpd
Fri 2026-11-20 15:14:33  SIGSEGV  /usr/sbin/httpd
Mon 2026-11-23 08:57:54 - 09:05:52  SIGSEGV  /usr/sbin/httpd  (~26 cores)

Stack trace of the crashing thread (always the same pattern):

Code:
#0  n/a (mod_passenger.so + 0x4710b)
#1  getsfunc_BRIGADE (httpd + 0x272c1)
#2  ap_scan_script_header_err_core_ex (httpd + 0x2fcf9)
#3  n/a (mod_passenger.so + 0x5b8d7)
#4  n/a (mod_passenger.so + 0x482b8)
#5  ap_run_handler (httpd + 0x1c168)
#6  ap_invoke_handler (httpd + 0x25666)
#7  ap_internal_redirect (httpd + 0x5ff8e)
#8  ap_die_r.lto_priv.0 (httpd + 0x60385)
#9  ap_process_async_request (httpd + 0x604c6)
#10 ap_process_http_connection (httpd + 0x60d1b)

So the crash happens on the error path: a request fails, Apache does an internal redirect to the error document (ap_die_r → ap_internal_redirect), that redirect is handled again by mod_passenger, and it segfaults while parsing the response headers.


2. What triggers the burst

Today's burst coincided with several Apache/nginx reloads plus one full restart while disk I/O was saturated (a full backup was running). From /var/log/passenger/passenger.log:

Code:
[ W 08:56:39 ... WatchdogMain.cpp:463 ]: Some Phusion Passenger(R) agent processes did not exit in time, forcefully shutting down all.
[ W 08:58:23 ... WatchdogMain.cpp:463 ]: Some Phusion Passenger(R) agent processes did not exit in time, forcefully shutting down all.
[ E 08:58:28 ... apa/Hooks.cpp:756 ]: Unexpected error in mod_passenger: Cannot connect to the Passenger core at unix:/tmp/passenger.XXXX/agents.s/core
[ W 08:58:34 ... WatchdogMain.cpp:463 ]: Some Phusion Passenger(R) agent processes did not exit in time, forcefully shutting down all.

Our reading: each reload restarts the Passenger core; under heavy I/O the old core doesn't exit in time and the watchdog kills it; Apache children with in-flight requests lose the core connection, hit the error path, and crash as above. Each crash drops every request on that child, which our uptime monitors see as 2–5 minute outages.


3. Security update notice

On every core start, Passenger logs:

Code:
[ E ... SecurityUpdateChecker.h:521 ]: A security update is available for your version (6.2.0) of Phusion Passenger(R). We strongly recommend upgrading to version 6.2.2.

Questions
  1. Is a Plesk build of Passenger 6.2.2 planned, and is there an ETA?
  2. Is this mod_passenger segfault on the error-document/internal-redirect path a known issue, and is it fixed in 6.2.2?
  3. Any recommended mitigation in the meantime (e.g. disabling custom error documents on Passenger vhosts)?

Core dumps are available if Plesk staff need them.

Thanks!
 
Hi, @abanico . Our team is already working on updating Passenger to version 6.2.2 . The delivery target is Plesk Obsidian 18.0.83, which is planned for release during the upcoming week. According to the upstream changelog 6.2.2 is security hardening only. I also cannot locate any internal reports or user tickets about the described segfault behavior.

Could you please try disabling custom error documents on Passenger vhosts, for example ErrorDocument 500 default in additional Apache directives, or exclude /error_docs from Passenger and confirm if that makes any difference?
 
Hi @Sebahat.hadzhi !! thanks for the quick reply and for confirming 6.2.2 is coming in 18.0.83.

A quick note on why this came to the forum rather than a support ticket: our Plesk licenses are purchased through OVH, so we don't have direct Plesk support included. We know paid support is available, but we wanted to check here first in case anyone else had run into the same behavior.

We'll go with your second suggestion and exclude /error_docs from Passenger server-wide, rather than resetting ErrorDocument. That way the error pages are still served (statically by Apache), and it covers every status code on that error path, not just 500. We plan to add this to a custom config file in /etc/httpd/conf.d/:

Code:
<Directory "/var/www/vhosts/*/error_docs">
PassengerEnabled off
</Directory>

We'll apply it once the backup currently running finishes, and verify that /error_docs/* responses no longer carry the X-Powered-By: Phusion Passenger header.

One caveat: the crash is intermittent. Outside of today's burst (heavy disk I/O plus several Apache reloads) we've only seen a few isolated cases in two weeks, so confirming the effect will take some time. We'll keep watching coredumpctl for httpd SIGSEGVs over the coming weeks, including the next full backup and the 18.0.83 update itself, since both involve the reload-under-load conditions that triggered the burst. We'll report back here either way: whether the crashes stop, or with a fresh stack trace if they come back.

Thanks again!
 
Back
Top