I did some testing with strace. Running it on CtrlClnt didn't tell me 
much, so I started XMail in debug through strace.

As I understand the result correctly, then XMail forks to handle the 
CTRL-request. The first files it opens in that fork seem reasonable: 
ctrl.ipmap.tab, ctrlaccounts.tab, the ctrl-logfile, a temp-file and 
mailusers.tab.

After copying the contents of mailusers.tab into the temp-file (I 
think), it however start opening each user.tab-file of every single user 
in the system.

I'm not sure why it's doing that, but I'm rather sure that it's this 
that is causing the delay. It ended up opening almost 16000 files.

Any ideas of why it would be doing this?



decker schreef:
> Hey,
>
>   
>> ../CtrlClnt -s localhost -u ******* -p ********** userlist  
>> test.domain.tld
>>     
>
> Just a shot in the dark, is it the same when using 127.0.0.1 rather than
> "localhost" ? Can you strace the CtrlClnt process to see where it's
> spending the most time at ?
>
> ~Darren
> -
> To unsubscribe from this list: send the line "unsubscribe xmail" in
> the body of a message to [EMAIL PROTECTED]
> For general help: send the line "help" in the body of a message to
> [EMAIL PROTECTED]
>
>
>   

-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]

Reply via email to