On Wed, 27 Jun 2007, Harald Schneider wrote:

> Would be nice to have a Ctrl command which reports the totals of 
> sending, resending and frozen messages e.g.:
> 
> # qstatus()
> send: 5
> rsnd: 13
> froz: 89
> 
> This would make life status displays without querying the queue 
> possible. Also such things like performance measuring would be a snap...
> 
> I think XMail internally knows which thread handles currently which files.
> 
> Your thoughts ?

Doing that requires XMail to do a full spool scan. First, frozen messages 
do not have a trace in memory, so you need to account them on the file 
system. Then, when an SMAIL thread gets a message to deliver, it access 
this message w/out any locks held since it assumes it is the only one 
accessing it. So the only way to get it right ATM is doing a spool FS 
scan, that is quite expensive.



- 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]

Reply via email to