Multiple Kolab's php eat all the RAM

Diego M. Vadell dvadell at linuxclusters.com.ar
Tue Dec 23 21:07:41 CET 2008


Hi,

    I have several kolab 2.2. installations. Today one of them started to use 
all the RAM with several php processes. I had to restart it several times and 
then ssh to it as soon as it starts, in order to win a race with all the php 
processess that started to appear!

   The only think I noticed were that in the mailq there were 4 mails, with a 
lot of recipients (all local).

  Question: Does anyone knows what scenario could spawn hundreds of php 
processes?

Before hanging, top looks like this:
-----------------------
top - 14:15:07 up 11 min,  2 users,  load average: 44.85, 26.53, 11.33
Tasks: 165 total,   4 running, 161 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.7%us,  8.6%sy,  0.0%ni,  0.0%id, 71.4%wa, 19.3%hi,  0.0%si,  0.0%st
Mem:    515492k total,   510556k used,     4936k free,      332k buffers
Swap:   524280k total,   489328k used,    34952k free,   386208k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                                                                                 
 8347 kolab-n   18   0 13400 1300  840 D  1.8  0.3   
0:00.57 /kolab/bin/php -c /kolab/etc/apache/php.ini -f /kolab/var/kolab-filter/scripts/kolabmailboxfilter.php --
 8268 kolab-n   18   0 78940  20m  20m D  1.4  4.1   
0:00.75 /kolab/bin/php -c /kolab/etc/apache/php.ini -f /kolab/var/kolab-filter/scripts/kolabmailboxfilter.php --
 8292 kolab-n   16   0 78940  45m  45m D  1.4  9.1   
0:00.83 /kolab/bin/php -c /kolab/etc/apache/php.ini -f /kolab/var/kolab-filter/scripts/kolabmailboxfilter.php --
 8334 kolab-n   16   0 78940  25m  25m D  1.3  5.1   
0:00.64 /kolab/bin/php -c /kolab/etc/apache/php.ini -f /kolab/var/kolab-filter/scripts/kolabmailboxfilter.php --
 8317 kolab-n   18   0 78940  34m  34m D  0.9  6.8   
0:00.53 /kolab/bin/php -c /kolab/etc/apache/php.ini -f /kolab/var/kolab-filter/scripts/kolabmailboxfilter.php --
 8297 kolab-n   16   0 78940  24m  24m D  0.8  4.8   
0:00.85 /kolab/bin/php -c /kolab/etc/apache/php.ini -f /kolab/var/kolab-filter/scripts/kolabmailboxfilter.php -
-------------------------

Thanks in advance
 - Diego




More information about the users mailing list