Hi.
I'm setting up a server with Apache 2.2.6 + mod_fcgid 2.2 + PHP 5.2.4. Everythings works well except gracefully restarting Apache. When I execute: apachectl graceful All currently executing PHP scripts come to their ends (have checked it by "touching" a file at the end of script) but the content is never returned to the client, and the connection is broken instead. This is 100% repeatable. I've checked the logs and I've noticed that: - the last (broken) connection is NOT logged in access_log - the error_log contains: [emerg] mod_fcgid: server is restarted, 9462 must exit 9462 is the process number of httpd (I suppose the one that processes my request) My httpd/php process list looks as follows: Before graceful restart: PID PPID COMMAND 9437 1 httpd 9461 9437 httpd 9462 9437 httpd 9463 9437 httpd 9464 9437 httpd 9465 9437 httpd 9466 9437 httpd 9472 9461 php-cgi 9473 9472 php-cgi 9474 9472 php-cgi 9475 9472 php-cgi 9476 9472 php-cgi 9477 9437 httpd After graceful restart (but still while the php script is working): PID PPID COMMAND 9437 1 httpd 9462 9437 httpd 9473 1 php-cgi 9495 9437 httpd 9496 9437 httpd 9497 9437 httpd 9498 9437 httpd 9499 9437 httpd 9500 9437 httpd The PHP script that I've used for testing reported that it was running with PID 9473. Does anyone know the solution? Is it a problem of Apache or mod_fcgid? Marek ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Mod-fcgid-users mailing list Mod-fcgid-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mod-fcgid-users