We hit this last week or so ourselves. It's a threading bug in the 2.1.x codebase fixed in 2.2.x somewhere. Solution is to drop to 1 spool thread to get past the stuck spool (requires edit of config.xml and restart).
We are moving away from the 2.1 series for this reason, but in the meantime, I have a script that runs on Linux (in Perl) that checks the spool size. If the spool size is over "X" (changes depending on what I'm expecting) then I wait N seconds and check again; if the spool is still over X in the queue, I'll start a second session of James with everything except the remote manager and smtp disabled; remote manager gets moved to a different port than 4555 and so does smtp (outgoing SMTP is always an available upper-level port anyway). This *almost always* empties the queue. Once the queue is empty I shutdown the second instance of James to avoid double mailings when the threading on the first instance is fixed. All this is to avoid stopping James, setting the spool thread count to 1, restarting, stopping when the spool is complete, setting the threads up to a reasonable number...because users are able to POP and add to the queue just fine when the spool is stuck; but starting and stopping lets them know there is trouble. Not a Good Thing. BTW, I use Perl and Net::Telnet to control James through a constantly running shell script to automatically do this stuff for me. Needless to say, we're moving the mailets out of 2.1 code ASAP. HTH, On Tue, 2004-05-04 at 23:25, [EMAIL PROTECTED] wrote: > Hi everyone, > > I am having a problem with my email server, it seems to be really slow and > sending outgoing mail. I have over 50 messages sitting in my outgoing > directory, that were sent over 24 hours ago. I am not 100% certain whether > or not it is my server or another variable I am not aware of. I was hoping > if anyone knew anything that could shed some light on this, it would be > greatly appreciated. > > Version: 2.1.3 > OS: Win 2000 Server > Attached is the config.xml > > I look forward to hearing from you. > > Kindest Regards, > Matt Anderson > > ______________________________________________________________________ > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
