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

Christian Hügel christian.huegel at stonebyte.de
Fri Oct 18 16:11:00 CEST 2013


Hi Timotheus,

great, much appreciated! In my __init__.py the value is even higher:

if len(removed_domains) == 0 and len(added_domains) == 0:
                time.sleep(600)

Have a good day,

Christian


Am 18.10.2013 16:03, schrieb Timotheus Pokorra:
> 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
> _______________________________________________
> users mailing list
> users at lists.kolab.org
> https://lists.kolab.org/mailman/listinfo/users
> 

-- 
-------------------
OpenPGP: 0x1F814CFD
Threema: ZKZ2WZR7
-------------- n?chster Teil --------------
Ein Dateianhang mit Bin?rdaten wurde abgetrennt...
Dateiname   : 0x1F814CFD.asc
Dateityp    : application/pgp-keys
Dateigr??e  : 3129 bytes
Beschreibung: nicht verf?gbar
URL         : <http://lists.kolab.org/pipermail/users/attachments/20131018/1e7f71f6/attachment-0001.bin>
-------------- n?chster Teil --------------
Ein Dateianhang mit Bin?rdaten wurde abgetrennt...
Dateiname   : signature.asc
Dateityp    : application/pgp-signature
Dateigr??e  : 901 bytes
Beschreibung: OpenPGP digital signature
URL         : <http://lists.kolab.org/pipermail/users/attachments/20131018/1e7f71f6/attachment-0001.sig>


More information about the users mailing list