I think I found it. I suppose the problem is with this spool manager behavior "This spool repository is also used for storage of mail that is being redirected from one processor to another."

Right now our server has 3M files ( which should be 1.5M emails ) in the spool and I'm trying to find a way to quickly process them. Reading and writing to the disk every time the emails goes from one processor to another is slow and and our configuration has several processors. I changed the configuration to have less processors.

On 24.07.2008, at 18:48, zkn wrote:

Hi,

I noticed today that some of our emails are being processed very slow through the spool. I managed to fasten the processing by switching to a newer java version but still doesn't seem quick enough.

What could possibly cause this problem and is there a way to fix that?

We are using James v2.3.1 on linux.

Thanks

Here is the spoolmanager log for a single message for jdk1.6.0_03

24/07/08 08:41:50 DEBUG spoolmanager: ==== Begin processing mail Mail1216374001074-21911==== 24/07/08 08:41:50 DEBUG spoolmanager: Processing Mail1216374001074-21911 through root 24/07/08 08:41:50 DEBUG spoolmanager.root: Servicing mail: Mail1216374001074-21911 24/07/08 08:41:50 DEBUG spoolmanager.root: Checking Mail1216374001074-21911 with [EMAIL PROTECTED] 24/07/08 08:41:51 DEBUG spoolmanager.root: Checking Mail1216374001074-21911 with [EMAIL PROTECTED] 24/07/08 08:41:51 DEBUG spoolmanager.root: Servicing Mail1216374001074-21911 by Postmaster aliasing mailet 24/07/08 08:41:51 DEBUG spoolmanager.root: Checking Mail1216374001074-21911 with [EMAIL PROTECTED] 24/07/08 08:41:51 DEBUG spoolmanager.root: Servicing Mail1216374001074-21911 by ToProcessor Mailet 24/07/08 08:41:51 DEBUG spoolmanager: Processed Mail1216374001074-21911 through root

24/07/08 08:42:24 DEBUG spoolmanager: ==== Begin processing mail Mail1216374001074-21911==== 24/07/08 08:42:24 DEBUG spoolmanager: Processing Mail1216374001074-21911 through local 24/07/08 08:42:24 DEBUG spoolmanager.local: Servicing mail: Mail1216374001074-21911 24/07/08 08:42:24 DEBUG spoolmanager.local: Checking Mail1216374001074-21911 with [EMAIL PROTECTED] 24/07/08 08:42:24 DEBUG spoolmanager.local: Checking Mail1216374001074-21911 with [EMAIL PROTECTED] 24/07/08 08:42:24 DEBUG spoolmanager.local: Checking Mail1216374001074-21911 with [EMAIL PROTECTED] 24/07/08 08:42:24 DEBUG spoolmanager.local: Servicing Mail1216374001074-21911 by ToProcessor Mailet 24/07/08 08:42:24 DEBUG spoolmanager: Processed Mail1216374001074-21911 through local

24/07/08 08:42:42 DEBUG spoolmanager: ==== Begin processing mail Mail1216374001074-21911==== 24/07/08 08:42:42 DEBUG spoolmanager: Processing Mail1216374001074-21911 through local-address-error 24/07/08 08:42:42 DEBUG spoolmanager.local-address-error: Servicing mail: Mail1216374001074-21911 24/07/08 08:42:42 DEBUG spoolmanager.local-address-error: Checking Mail1216374001074-21911 with [EMAIL PROTECTED] 24/07/08 08:42:42 DEBUG spoolmanager.local-address-error: Servicing Mail1216374001074-21911 by ToRepository Mailet 24/07/08 08:42:42 DEBUG spoolmanager: Processed Mail1216374001074-21911 through local-address-error 24/07/08 08:42:42 DEBUG spoolmanager: ==== Removed from spool mail Mail1216374001074-21911====


Here is the spoolmanager log for a single message for j2sdk1.4.2_13:

24/07/08 06:47:08 DEBUG spoolmanager: ==== Begin processing mail Mail1216368637451-14513==== 24/07/08 06:47:08 DEBUG spoolmanager: Processing Mail1216368637451-14513 through root 24/07/08 06:47:08 DEBUG spoolmanager.root: Servicing mail: Mail1216368637451-14513 24/07/08 06:47:08 DEBUG spoolmanager.root: Checking Mail1216368637451-14513 with [EMAIL PROTECTED] 24/07/08 06:47:08 DEBUG spoolmanager.root: Checking Mail1216368637451-14513 with [EMAIL PROTECTED] 24/07/08 06:47:08 DEBUG spoolmanager.root: Servicing Mail1216368637451-14513 by Postmaster aliasing mailet 24/07/08 06:47:08 DEBUG spoolmanager.root: Checking Mail1216368637451-14513 with [EMAIL PROTECTED] 24/07/08 06:47:08 DEBUG spoolmanager.root: Servicing Mail1216368637451-14513 by ToProcessor Mailet 24/07/08 06:47:08 DEBUG spoolmanager: Processed Mail1216368637451-14513 through root

24/07/08 06:47:58 DEBUG spoolmanager: ==== Begin processing mail Mail1216368637451-14513==== 24/07/08 06:47:58 DEBUG spoolmanager: Processing Mail1216368637451-14513 through local 24/07/08 06:47:58 DEBUG spoolmanager.local: Servicing mail: Mail1216368637451-14513 24/07/08 06:47:58 DEBUG spoolmanager.local: Checking Mail1216368637451-14513 with [EMAIL PROTECTED] 24/07/08 06:47:58 DEBUG spoolmanager.local: Checking Mail1216368637451-14513 with [EMAIL PROTECTED] 24/07/08 06:47:58 DEBUG spoolmanager.local: Checking Mail1216368637451-14513 with [EMAIL PROTECTED] 24/07/08 06:47:58 DEBUG spoolmanager.local: Servicing Mail1216368637451-14513 by ToProcessor Mailet 24/07/08 06:47:58 DEBUG spoolmanager: Processed Mail1216368637451-14513 through local

24/07/08 06:48:47 DEBUG spoolmanager: ==== Begin processing mail Mail1216368637451-14513==== 24/07/08 06:48:47 DEBUG spoolmanager: Processing Mail1216368637451-14513 through local-address-error 24/07/08 06:48:47 DEBUG spoolmanager.local-address-error: Servicing mail: Mail1216368637451-14513 24/07/08 06:48:47 DEBUG spoolmanager.local-address-error: Checking Mail1216368637451-14513 with [EMAIL PROTECTED] 24/07/08 06:48:47 DEBUG spoolmanager.local-address-error: Servicing Mail1216368637451-14513 by ToRepository Mailet 24/07/08 06:48:47 DEBUG spoolmanager: Processed Mail1216368637451-14513 through local-address-error 24/07/08 06:48:48 DEBUG spoolmanager: ==== Removed from spool mail Mail1216368637451-14513====


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

Reply via email to