[Kolab-devel] Multiple Kolab's php eat all the RAM

Alain Spineux aspineux at gmail.com
Sun Dec 28 15:01:17 CET 2008


On Sat, Dec 27, 2008 at 6:28 PM, Gunnar Wrobel <wrobel at pardus.de> wrote:
> Quoting "Diego M. Vadell" <dvadell at linuxclusters.com.ar>:
>
>> On Wednesday 24 December 2008 04:55:09 Alain Spineux wrote:
>>>
>>> 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.
>>
>> Hi,
>>
>>  I mitigated (or solved?) the issue by editing master.cf.template and
>> changing this line:
>>
>> kolabmailboxfilter     unix  -       n       n       -      -        pipe
>> user=kolab-n null_sender= argv=/kolab/bin/php
>>
>> to:
>>
>> kolabmailboxfilter     unix  -       n       n       -       2       pipe
>> user=kolab-n null_sender= argv=/kolab/bin/php
>>
>>
>> Given that amavisd gets only 2 emails at a time, I thought 2 was a good
>> place
>> to start.
>
> I believe that is a sensible safeguard.
>
> @thomas, bernhard: Should we add this as a default?


And  why not change the code to keep all the recipients within the
same email :-)
No need to let the antivirus scan the same email twice (ore more) !


Regards

>
> Cheers,
>
> Gunnar
>
>>
>> Thanks,
>>  -- Diego
>>
>> _______________________________________________
>> Kolab-users mailing list
>> Kolab-users at kolab.org
>> https://kolab.org/mailman/listinfo/kolab-users
>>
>
>
>
> --
> ______ http://kdab.com _______________ http://kolab-konsortium.com _
>
> p at rdus Kolab work is funded in part by KDAB and the Kolab Konsortium
>
> ____ http://www.pardus.de _________________ http://gunnarwrobel.de _
> E-mail : p at rdus.de                                 Dr. Gunnar Wrobel
> Tel.   : +49 700 6245 0000                          Bundesstrasse 29
> Fax    : +49 721 1513 52322                          D-20146 Hamburg
> --------------------------------------------------------------------
>   >> Mail at ease - Rent a kolab groupware server at p at rdus <<
> --------------------------------------------------------------------
>
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
> _______________________________________________
> Kolab-users mailing list
> Kolab-users at kolab.org
> https://kolab.org/mailman/listinfo/kolab-users
>
>



-- 
Alain Spineux
aspineux gmail com
May the sources be with you




More information about the users mailing list