I have been tweaking the THREADS value and found that small adjustments can
have quite large effects on CPU usage. I found a value of 15 is a good
compromise when processing 15-20k messages a day on a Xeon 1.4GHz dual
processor box with 1GB RAM. Any higher than 15 and I get 100% CPU for
minutes at a time.

I have left the default SMTP max. threads in Imail set at 60 and min.
threads at 2.

David 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kim Premuda
Sent: 30 September 2005 02:50
To: Declude JunkMail Forum
Subject: [Declude.JunkMail] JunkMail 3.0.5 100% CPU Usage

IMail 8.05 HF3
JunkMail 3.0.5.5

We are still seeing times when 'decludeproc.exe' will burst the CPU usage to
100% for 20-30 seconds up to a minute or two. We've adjusted the
WAITFORTHREADS and WAITBETWEENTHREADS to various values, and it doesn't seem
to make any difference. The current values we are using are:

WAITFORTHREADS       10000
WAITBETWEENTHREADS   10000

As an example, the 'work' folder will have several messages in process, so
you would expect to see the CPU usage go up for the first thread, then down
to minimal levels for 10 seconds, then back up again for each additional
message thread processed. But, what we see is the CPU usage hitting 100% and
staying there while processing the messages in the 'work' folder. If
additional messages show up in the 'proc' folder and are transferred to the
'work' folder before the current THREAD run has completed, they are
immediately processed thereby keeping the CPU usage at 100%. When everything
is eventually processed, the CPU usage returns to normal levels. This only
seems to be a problem under heavy load. Is anyone else experiencing this
behavior?

Also, does anyone know if the THREADS value can be reduced to a number below
the Declude recommended minimum of 5 (and not break anything)? My thinking
here was 

Thanks!


--
Kim W. Premuda
FastWave Internet Services
San Diego, CA

--
---
This E-mail came from the Declude.JunkMail mailing list.  To unsubscribe,
just send an E-mail to [EMAIL PROTECTED], and type "unsubscribe
Declude.JunkMail".  The archives can be found at
http://www.mail-archive.com.

---
This E-mail came from the Declude.JunkMail mailing list.  To
unsubscribe, just send an E-mail to [EMAIL PROTECTED], and
type "unsubscribe Declude.JunkMail".  The archives can be found
at http://www.mail-archive.com.

Reply via email to