On Fri, 13 Jun 2008, Bart Mortelmans wrote:
Hi all,
When I run the CTRL-command userlist requesting users for one domain,
it seems to take an unreasonable amount of time before it returns (20 to
30 seconds). In between, when I monitor the server with the Linux
command top, I notice that wa goes up to over 90%. Normal load
average on this machine is around 0, but when running userlist this
will go up to over 2.
This is the same even if the userlist which is returned, should contain
no users or only a small amount.
The total size of mailusers.tab is reasonably large (over 1Mb), but I
would expect CTRL to at least be able to find the users in the list as
quicly as a simple grep for example?
For the record: I'm not requesting the full userlist, I use the command
like this:
userlist[TAB]domainCRLF
The complete configuration of XMailserver is a copy/paste from an other
server. I'm seeing this both with XMailserver 1.24 and 1.25.
The hard drive of this machine seems to be okay. I also seem to notice
something similar on an other machine, although not as extreme.
I looked into many different possibilities to find the cause of this
(including deleting tabindex), but am unable to find it. Or is this
normal behaviour?
Userlist should be very fast. The time of copying out the mailusers file
(that for 1MB size should be like 0.1s) and the time of reading each line.
Are you sure you're not issuing other commands, like, for example, the
ones to query the mailbox/spool?
Disk activity should be almost NIL for userlist.
- 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]