Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 23rd February 2010, 20:41
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,270
Thanks: 84
Thanked 25 Times in 21 Posts
Default 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?
Reply With Quote
Sponsored Links
  #2  
Old 23rd February 2010, 20:49
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,270
Thanks: 84
Thanked 25 Times in 21 Posts
Default

just checked the config in ISPCFG3: FastCGI Children is still set to 8 so why so many processes for a single vhost?
Reply With Quote
  #3  
Old 23rd February 2010, 20:54
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,270
Thanks: 84
Thanked 25 Times in 21 Posts
Default

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!?
Reply With Quote
  #4  
Old 23rd February 2010, 21:25
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,270
Thanks: 84
Thanked 25 Times in 21 Posts
Default

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.
Reply With Quote
  #5  
Old 25th February 2010, 11:07
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,270
Thanks: 84
Thanked 25 Times in 21 Posts
 
Default

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
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[debian 5 + ispconfig 3] Unable to send mail tanakskool HOWTO-Related Questions 6 4th November 2009 19:20
Booting On PXE And On A Customized Debian System sebastienp HOWTO-Related Questions 7 30th July 2009 22:13
Problems with Yum following The Perfect Server - CentOS 5.3 x86_64 Guide GOPalmer HOWTO-Related Questions 7 1st July 2009 15:20
Bind Failed christoph2k HOWTO-Related Questions 4 28th April 2007 01:57
e-mail problem!!! Debian 3.1 maroonworks Installation/Configuration 18 6th December 2005 15:42


All times are GMT +2. The time now is 13:26.


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