httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Reinhardt" <crypto...@cryptodan.net>
Subject Re: [users@httpd] Apache hangs on reload
Date Sat, 23 Jan 2010 02:24:27 GMT

--------------------------------------------------
From: "Jeremy R." <jeremy@novawave.net>
Sent: 23 January, 2010 0:59
To: <users@httpd.apache.org>
Subject: [users@httpd] Apache hangs on reload

> Hello:
>
> I'm running PHP inside suexec with mod_fcgid and a couple wrapper scripts, and 
> though it works properly, Apache now hangs whenever someone issues 
> /etc/init.d/apache2 reload (which happens fairly frequently). Killing off all 
> FCGI processes and the www-data Apache processes seems to let it continue 
> working, but this shouldn't be happening.
>
> Here's the setup for one of my vhosts (one other is set up similarly, and 
> suexec is otherwise not used at all - mod_suexec is not enabled):
>
> dr-xr-xr-x 2 www-webmail www-webmail 4096 2010-01-20 21:57 
> /var/lib/roundcube/fcgi-wrapper
>
> -r-xr-xr-x 1 www-webmail www-webmail   95 2010-01-20 21:57 php-cgi
> #!/bin/sh
> export PHP_FCGI_CHILDREN=0
> export PHP_FCGI_MAX_REQUESTS=4000
> exec /usr/bin/php5-cgi
>
> -rwxr-xr-x 1 root        root          71 2010-01-20 21:34 php-cgi-suexec
> #!/bin/sh
> exec /usr/lib/apache2/suexec www-webmail www-webmail php-cgi
>
> And here is the relevant line in the vhost configuration:
>
> FCGIWrapper "/var/lib/roundcube/fcgi-wrapper/php-cgi-suexec" .php
>
> Any thoughts or tips?
>
> -- 
> Jeremy R.
> Owner, NovaWave Solutions
> http://www.novawave.net/
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>

Jeremy,

Check your error logs.

Thanks,
Daniel 


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message