[Kolab-devel] Multiple Kolab's php eat all the RAM
Alain Spineux
aspineux at gmail.com
Wed Dec 24 07:55:09 CET 2008
On Tue, Dec 23, 2008 at 10:59 PM, Diego M. Vadell
<dvadell at linuxclusters.com.ar> wrote:
> Hi
>
> I think I found it: when I send an email to 30 people inside the server
> (locals to the server) I get a lot of kolabmailfilter processess. Is it the
> intended way of doing things?
Unfortunately yes !
When you send to multiple recipients, one message is "cloned" by recipients !
This could be avoided by some more coding.
This would reduce the CPU load and could reduce the space in the imap
storage regarding
the "singleinstancestore" in imapd.conf if handled
appropriately.(divided by 3 with my own experience)
Regards.
Regards.
>
> On Tuesday 23 December 2008 18:07:41 Diego M. Vadell wrote:
>> 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
>
>
> _______________________________________________
> Kolab-devel mailing list
> Kolab-devel at kolab.org
> https://kolab.org/mailman/listinfo/kolab-devel
>
--
Alain Spineux
aspineux gmail com
May the sources be with you
More information about the devel
mailing list