Adding first user in additional domains takes a long time to create the mailbox

Timotheus Pokorra timotheus at pokorra.de
Fri Oct 18 16:03:43 CEST 2013


Hello Christian,
I have found the reason:
you can edit /usr/lib/python2.6/site-packages/kolabd/__init__.py line
257 (https://git.kolab.org/pykolab/tree/kolabd/__init__.py#n257)
            if len(removed_domains) == 0 and len(added_domains) == 0:
                time.sleep(300)
change 300 to 10, so it will not sleep for 5 minutes, only 10 seconds.

This value should be configurable perhaps?

Timotheus

On 18 October 2013 15:41, Christian Hügel <christian.huegel at stonebyte.de> wrote:
> Hi Timotheus,
>
> ah ok. Do you now why this is taking so long? I've got here a virtual
> box with 4GB RAM an 2xCPUs. Obviously this issue  is not due a slow machine.
>
> Thx
>
> Christian
>
>
>
> Am 18.10.2013 15:18, schrieb Timotheus Pokorra:
>> Hello Christian,
>> I have given this mail a new subject, to separate it from the long thread...
>>
>> I have tested now again, and it seems, for the first user in a new
>> domain, the creation of the mailbox takes about 7 minutes on my test
>> machine (jiffybox).
>> The default domain creates the first user quite immediately, but for
>> the first and second additional domain  it takes 7 minutes.
>> But then, the second user on each of these domains is created immediately.
>>
>> Timotheus
>>
>>> Hi Timotheus,
>>>
>>> thanks for looking at it. I´ll run another tests this evening and get back
>>> to you. Do you have something new?
>>>
>>> Cheers,
>>>
>>> Christian
>>>
>>> _______________________________________________
>>> users mailing list
>>> users at lists.kolab.org
>>> https://lists.kolab.org/mailman/listinfo/users
>> _______________________________________________
>> users mailing list
>> users at lists.kolab.org
>> https://lists.kolab.org/mailman/listinfo/users
>>
>
> --
> -------------------
> OpenPGP: 0x1F814CFD
> Threema: ZKZ2WZR7
>
> _______________________________________________
> users mailing list
> users at lists.kolab.org
> https://lists.kolab.org/mailman/listinfo/users


More information about the users mailing list