The spoolmanager (if I remember correctly) only handles processing messages.
It takes a message in the "received" queue, runs it through various mailets,
and sticks it in the trashbin, some mailbox, the "to deliver" bin, or
wherever. The SMTP handler receiving messages (and putting them in the
"received" queue), the delivery threads handle sending them out, and POP3
handler handles pop connections, etc... The spoolmanager has nothing to do
with TCP/IP.
Again, this is as far as I know... I may be remembering wrong. As you have
no external latency to cause your CPU to wait for something else, I don't
see why creating multiple spoolmanager threads would speed up processing. I
set delivery threads to 5 to 15 because remote servers and my network
connection will run slower than my CPU and IO will allow, so multiple
threads make sense there.
As for locking, the reason for a lock is to prevent multiple threads from
working on the same message simultaneously. A thread obtains a lock on a
message while it current works on it.... It doesn't make sense to write
this locking to disk because if the JVM dies, the thread dies, so the lock
is irrelevant. If you had multiple JVMs working against a single queue,
then locking on the disk (or database) would be required.
Serge Knystautas
Loki Technologies
http://www.lokitech.com/
----- Original Message -----
From: "Oki DZ" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 13, 2001 8:38 PM
Subject: Re: James performance
> Serge Knystautas wrote:
> >
> > Sorry, one other thing... I generally only use 1 spoolmanagerthread. I
was
> ^
> > talking about remote delivery threads. Same issues apply though as far
as
> > OptimizeIt and the degredation of large spools.
>
> That's weird... don't you crave for speed...?
>
> I'm afraid that my assumptions were wrong; I guessed that if you had
> more spool managers, then the messages would be handled in parallel (by
> having many TCP connections; and some bandwidth to spare, of course).
> Please correct me if I was wrong.
>
> BTW, it's kinda neat to see the output of netstat -an | grep \:25 while
> James was receiving mail; which were displayed in screenful ("xtermful",
> to be exact).
>
> Oki
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]