HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   problems after the latest Debian updates (http://www.howtoforge.com/forums/showthread.php?t=43623)

Ovidiu 23rd February 2010 19:41

problems after the latest Debian updates
 
I updated Debian 5 today, here is the list of the updates done. I wasn't asked anything the update just went smooth.


2010-02-23 12:28:23 status half-configured php5-mcrypt 5.2.6.dfsg.1-1+lenny6
2010-02-23 12:28:23 status installed php5-mcrypt 5.2.6.dfsg.1-1+lenny6
2010-02-23 12:28:23 configure php5-imap 5.2.6.dfsg.1-1+lenny6 5.2.6.dfsg.1-1+lenny6
2010-02-23 12:28:23 status unpacked php5-imap 5.2.6.dfsg.1-1+lenny6
2010-02-23 12:28:23 status unpacked php5-imap 5.2.6.dfsg.1-1+lenny6
2010-02-23 12:28:23 status half-configured php5-imap 5.2.6.dfsg.1-1+lenny6
2010-02-23 12:28:23 status installed php5-imap 5.2.6.dfsg.1-1+lenny6
2010-02-23 12:28:23 configure php5-gd 5.2.6.dfsg.1-1+lenny6 5.2.6.dfsg.1-1+lenny6
2010-02-23 12:28:23 status unpacked php5-gd 5.2.6.dfsg.1-1+lenny6
2010-02-23 12:28:23 status unpacked php5-gd 5.2.6.dfsg.1-1+lenny6
2010-02-23 12:28:24 status half-configured php5-gd 5.2.6.dfsg.1-1+lenny6
2010-02-23 12:28:24 status installed php5-gd 5.2.6.dfsg.1-1+lenny6
2010-02-23 12:28:24 configure php5-curl 5.2.6.dfsg.1-1+lenny6 5.2.6.dfsg.1-1+lenny6
2010-02-23 12:28:21 status installed php5-recode 5.2.6.dfsg.1-1+lenny6
2010-02-23 12:28:22 configure php5-mysql 5.2.6.dfsg.1-1+lenny6 5.2.6.dfsg.1-1+lenny6
2010-02-23 12:28:22 status unpacked php5-mysql 5.2.6.dfsg.1-1+lenny6
2010-02-23 12:28:22 status unpacked php5-mysql 5.2.6.dfsg.1-1+lenny6
2010-02-23 12:28:22 status unpacked php5-mysql 5.2.6.dfsg.1-1+lenny6
2010-02-23 12:28:22 status unpacked php5-mysql 5.2.6.dfsg.1-1+lenny6
2010-02-23 12:28:22 status half-configured php5-mysql 5.2.6.dfsg.1-1+lenny6
2010-02-23 12:28:22 status installed php5-mysql 5.2.6.dfsg.1-1+lenny6
2010-02-23 12:28:22 configure php5-mcrypt 5.2.6.dfsg.1-1+lenny6 5.2.6.dfsg.1-1+lenny6
2010-02-23 12:28:22 status unpacked php5-mcrypt 5.2.6.dfsg.1-1+lenny6
2010-02-23 12:28:22 status unpacked php5-mcrypt 5.2.6.dfsg.1-1+lenny6
2010-02-23 12:28:23 status half-configured php5-mcrypt 5.2.6.dfsg.1-1+lenny6
2010-02-23 12:28:23 status installed php5-mcrypt 5.2.6.dfsg.1-1+lenny6
2010-02-23 12:28:23 configure php5-imap 5.2.6.dfsg.1-1+lenny6 5.2.6.dfsg.1-1+lenny6
2010-02-23 12:28:23 status unpacked php5-imap 5.2.6.dfsg.1-1+lenny6
2010-02-23 12:28:23 status unpacked php5-imap 5.2.6.dfsg.1-1+lenny6
2010-02-23 12:28:23 status half-configured php5-imap 5.2.6.dfsg.1-1+lenny6
2010-02-23 12:28:23 status installed php5-imap 5.2.6.dfsg.1-1+lenny6
2010-02-23 12:28:23 configure php5-gd 5.2.6.dfsg.1-1+lenny6 5.2.6.dfsg.1-1+lenny6
2010-02-23 12:28:23 status unpacked php5-gd 5.2.6.dfsg.1-1+lenny6
2010-02-23 12:28:23 status unpacked php5-gd 5.2.6.dfsg.1-1+lenny6
2010-02-23 12:28:24 status half-configured php5-gd 5.2.6.dfsg.1-1+lenny6
2010-02-23 12:28:24 status installed php5-gd 5.2.6.dfsg.1-1+lenny6
2010-02-23 12:28:24 configure php5-curl 5.2.6.dfsg.1-1+lenny6 5.2.6.dfsg.1-1+lenny6
2010-02-23 12:28:24 status unpacked php5-curl 5.2.6.dfsg.1-1+lenny6
2010-02-23 12:28:24 status unpacked php5-curl 5.2.6.dfsg.1-1+lenny6
2010-02-23 12:28:24 status half-configured php5-curl 5.2.6.dfsg.1-1+lenny6
2010-02-23 12:28:24 status installed php5-curl 5.2.6.dfsg.1-1+lenny6
2010-02-23 12:28:24 configure php-pear 5.2.6.dfsg.1-1+lenny6 5.2.6.dfsg.1-1+lenny6
2010-02-23 12:28:24 status unpacked php-pear 5.2.6.dfsg.1-1+lenny6
2010-02-23 12:28:24 status unpacked php-pear 5.2.6.dfsg.1-1+lenny6
2010-02-23 12:28:24 status half-configured php-pear 5.2.6.dfsg.1-1+lenny6
2010-02-23 12:28:24 status installed php-pear 5.2.6.dfsg.1-1+lenny6
2010-02-23 12:28:25 configure php5 5.2.6.dfsg.1-1+lenny6 5.2.6.dfsg.1-1+lenny6
2010-02-23 12:28:25 status unpacked php5 5.2.6.dfsg.1-1+lenny6
2010-02-23 12:28:25 status half-configured php5 5.2.6.dfsg.1-1+lenny6
2010-02-23 12:28:25 status installed php5 5.2.6.dfsg.1-1+lenny6
2010-02-23 12:28:25 configure php5-dev 5.2.6.dfsg.1-1+lenny6 5.2.6.dfsg.1-1+lenny6
2010-02-23 12:28:25 status unpacked php5-dev 5.2.6.dfsg.1-1+lenny6
2010-02-23 12:28:25 status half-configured php5-dev 5.2.6.dfsg.1-1+lenny6
2010-02-23 12:28:25 status installed php5-dev 5.2.6.dfsg.1-1+lenny6


The problem is I have a couple of sites running suPhp (using ISPCFG3) and all of a sudden those processes are running amok: one of the sites has 49 php-cgi processes running and it is just me accessing the backend of that particular wordpress installation :-(

Do you think it could be related to these latest upgrades?

Ovidiu 23rd February 2010 19:49

just checked the config in ISPCFG3: FastCGI Children is still set to 8 so why so many processes for a single vhost?

Ovidiu 23rd February 2010 19:54

strange enough I see this:

pstree | more
init-+-acpid
|-amavisd-new---2*[amavisd-new]
|-apache2-+-apache2---7*[php-cgi---8*[php-cgi]]
| |-11*[apache2]
| |-apache2---php-cgi
| `-vlogger
|-clamd---{clamd}


but when I open top and sort the processes by name I see more than 38 php-cgi processes running for one vhost!?

Ovidiu 23rd February 2010 20:25

another hint: I was using eaccelerator. Had to recompile version 0.9.5.3 for this new PHP version, but this was done before these problems occured...

I have disabled the eaccelerator extension for now, will see if this fixes the problem.

Ovidiu 25th February 2010 10:07

It was indeed eaccelerator causing the problem. I suspect the following might be happening:

I'd suspect suPHP as the most likely cause. suPHP definitely prevents eAccelerator from maintaining shared memory. The swapping that I notice iis perhaps a consequence of the above. If each process allocates the same amount of (non)shared memory, the memory usage could explode pretty fast.
Seeing that it was 'working' before the update, perhaps it was actually 'not working' but in a different way. Maybe the memory allocation was failing and not running out of control.

I think this is pretty closely related to my other thread where I was asking about how to use different php.inis for each vhost: http://howtoforge.com/forums/showthread.php?t=41200


All times are GMT +2. The time now is 17:28.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.