Spam Filter ISP Support Forum

  New Posts New Posts RSS Feed - CPU Spikes
  FAQ FAQ  Forum Search   Register Register  Login Login

CPU Spikes

 Post Reply Post Reply
Author
Chad View Drop Down
Guest Group
Guest Group
Post Options Post Options   Thanks (0) Thanks(0)   Quote Chad Quote  Post ReplyReply Direct Link To This Post Topic: CPU Spikes
    Posted: 12 June 2003 at 10:29am
I am running beta 147.  I know this has been brought up before, but I have not seen any thoughts on it for a while.  When SpamFilter is running (even as a console app) I get 15 sec. CPU spikes (pegged at 100%) exactly every 1 minute.  I have a very modest configuration; none of my list files have more than 5 or 10 entries.  I also have very low traffic.  This server only handles my personal email (approx. 10-20 messages / day).  Any thoughts?
Back to Top
LogSat View Drop Down
Admin Group
Admin Group
Avatar

Joined: 25 January 2005
Location: United States
Status: Offline
Points: 4104
Post Options Post Options   Thanks (0) Thanks(0)   Quote LogSat Quote  Post ReplyReply Direct Link To This Post Posted: 12 June 2003 at 12:48pm

Chad,

Can you please download the latest beta? Instead of running several task concurrently every minute (logfile saving, updating country stats, refreshing local black/white lists) we now spread them apart (logfiles every minute, country stats every 2 minutes, local files refresh every 3 minutes). This should help us pinpoint the problem depending on when you are now seing the spikes. This change may have been made in build .147, but we'll be certain if using .152

Roberto Franceschetti
LogSat Software

Back to Top
Chad View Drop Down
Guest Group
Guest Group
Post Options Post Options   Thanks (0) Thanks(0)   Quote Chad Quote  Post ReplyReply Direct Link To This Post Posted: 12 June 2003 at 1:40pm

Ok, I have installed the newest beta and I am still seeing about the same spikes.

Here is a picture of my CPU graph over about 5 or 6 minutes.  For the first half, SpamFilter is open and running.  For the later half, I have closed SpamFilter. 

http://www.weyand-johnson.com/cpu.gif

Considering I did not receive any email during the time SpamFilter was open, that is an incredible amount of "background noise".  Considering I use this computer for several purposes, I just can't afford to have one application use this much CPU while "idle".  I am a programmer by day and I am honestly amazed that it takes this much CPU to read in properties files once a minute.  I just cannot understand this.

-chad

Back to Top
LogSat View Drop Down
Admin Group
Admin Group
Avatar

Joined: 25 January 2005
Location: United States
Status: Offline
Points: 4104
Post Options Post Options   Thanks (0) Thanks(0)   Quote LogSat Quote  Post ReplyReply Direct Link To This Post Posted: 12 June 2003 at 2:08pm

We're amazed as well as we've have not seen this behavior before...

As we mentioned in the previous msg, the following intervals are now being used:

dumping the logfile every minute
recalculating, country stats every 2 minutes
reloading config local files every 3 minutes

You have not mentioned what is the time interval between the spikes in the screenshot graph. Have you verified that it is the SpamFilter process that is consuming 100% of the CPU and not some other process that spikes when SpamFilter runs alongiside it?

If it is still peaking every 60 seconds, the main event that happens then is dumping the logfile to the hard drive. We have not had problems with antivirus software so far, but if you have one running, have you tried excluding the "logfile" directory from being scanned?

Roberto Franceschetti
LogSat Software

Back to Top
Chad View Drop Down
Guest Group
Guest Group
Post Options Post Options   Thanks (0) Thanks(0)   Quote Chad Quote  Post ReplyReply Direct Link To This Post Posted: 12 June 2003 at 5:17pm

Ok, I think you pegged it.  It was my virus scan conflicting with SpamFilter.

Unfortunately, McAfee ActiveShield does not have an option to exclude individual folders, so unless their TechSupport can provide some insight, I guess I can only run one or the other.

Thanks,

-chad

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.242 seconds.