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
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:
Stack trace of the crashing thread (always the same pattern):
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:
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:
Questions
Core dumps are available if Plesk staff need them.
Thanks!
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
- Is a Plesk build of Passenger 6.2.2 planned, and is there an ETA?
- Is this mod_passenger segfault on the error-document/internal-redirect path a known issue, and is it fixed in 6.2.2?
- 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!