Dear Davide, Is this maybe something we can patch ourselves in the code? I would be very much interested in starting to use this since updates to accounts are very regular for us.
Thanks! Sincerely, Bart Mortelmans Davide Libenzi schreef: > On Mon, 16 Jun 2008, Bart Mortelmans wrote: > > >> 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? >> > > Yep, you're right. There's a common function to load the user info, and > this one fetches the user.tab file too. > I fixed it in the next version by adding a parameter to tell if the caller > wants user.tab info too, when loading it. > > > > - Davide > > > - > 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]
