Re: Apache graceful restarts and FastCGI - mod_fcgid: can't lock process ta
I am also having this problem over the past 4-5 days - a bunch of PHP processes seem to run indefinitely until they are manually killed, or the httpd service is restarted.
PHP:
Code:
PHP 5.2.17 (cli) (built: Feb 23 2012 21:51:21)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
with the ionCube PHP Loader v4.0.12, Copyright (c) 2002-2011, by ionCube Ltd ., and
with Zend Optimizer v3.3.9, Copyright (c) 1998-2009, by Zend Technologies
with Suhosin v0.9.33, Copyright (c) 2007-2012, by SektionEins GmbH
Apache:
Code:
Server version: Apache/2.2.22 (Unix)
Server built: Feb 23 2012 21:48:01
Cpanel::Easy::Apache v3.9.2 rev9999
I've got a few errors like this showing up:
Code:
[Fri Feb 24 07:15:17 2012] [notice] Graceful restart requested, doing restart
[Fri Feb 24 07:15:20 2012] [notice] SSL FIPS mode disabled
[Fri Feb 24 07:15:20 2012] [notice] mod_bw : Memory Allocated 0 bytes (each conf takes 48 bytes)
[Fri Feb 24 07:15:20 2012] [notice] mod_bw : Version 0.92 - Initialized [0 Confs]
[Fri Feb 24 07:15:20 2012] [notice] Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/1.0.0-fips mod_bwlimited/1.4 mod_fcgid/2.3.6 configured -- resuming normal operations
There are also occasional warnings about suhosin not supporting PHP 5.2 and below anymore, but I don't think this is the issue, as I've also used PHP 5.3.10 and the same problems occur (same configuration, other than version).
I was using the same configuration on the previous install, which I setup in January - that worked perfectly. I set this up again last Monday, and since then, there have been these repeated Apache errors. I did switch to SuPHP for some time, but I did not do a hard restart on the httpd service (from what I read, it seems that EasyApache doesn't kill existing processes), so I am switching back now and doing a service restart to see if it will make a difference.
ldf (CSF) is reporting many errors like this:
Code:
Time: Fri Feb 24 08:24:39 2012 +0000
Account: discove8
Resource: Process Time
Exceeded: 18090 > 1800 (seconds)
Executable: /usr/bin/php
Command Line: /usr/bin/php
PID: 24928
Killed: No
Did anyone manage to fix this problem?
Thanks.