Spam Filter ISP Support Forum

  New Posts New Posts RSS Feed - How to start Spamfilter with low priority
  FAQ FAQ  Forum Search   Register Register  Login Login

How to start Spamfilter with low priority

 Post Reply Post Reply
Author
sirrar View Drop Down
Groupie
Groupie
Avatar

Joined: 26 January 2005
Location: Denmark
Status: Offline
Points: 44
Post Options Post Options   Thanks (0) Thanks(0)   Quote sirrar Quote  Post ReplyReply Direct Link To This Post Topic: How to start Spamfilter with low priority
    Posted: 28 April 2005 at 6:22am

Hi does anyone know how to change the priority of the spamfilter service?

When started I know how to manually set the process to low or high through "Task Manager". Actually I can't even change the priority through "TM" getting "Access Denied". Is there a way to configure spamfilter automatically to start with priority ex. belownormal ???

I was thinking of a switch in the registry or maybe a line for it in spamfilter.ini?

Best regards...

SirRar



Edited by sirrar
Back to Top
Desperado View Drop Down
Senior Member
Senior Member
Avatar

Joined: 27 January 2005
Location: United States
Status: Offline
Points: 1143
Post Options Post Options   Thanks (0) Thanks(0)   Quote Desperado Quote  Post ReplyReply Direct Link To This Post Posted: 28 April 2005 at 10:32pm
Sirrar,
 
There are 2 registry settings that control this BUT ... Use with care:
 
All are in "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\YOUR-S ERVICE-NAME\Parameters
 
"Priority"=dword:00000000    = Normal Priority
"Priority"=dword:00000004    = Lower Priority
"Priority"=dword:00000003    = Real Time Priority - DANGER - Preempts all other processes
"Priority"=dword:00000002    = Very High Priority
 
The next values sets how many and which CPU's to use:
 
"AffinityMask"=dword:00000000  = Use all available CPU's
"AffinityMask"=dword:00000001  = Use CPU 0
"AffinityMask"=dword:00000002  = Use CPU 1
"AffinityMask"=dword:00000003  = Use CPU 0 & CPU 1
 
And so on.
 
My gut feeling is to not use any of the above settings however.
 
Regards,
The Desperado
Dan Seligmann.
Work: http://www.mags.net
Personal: http://www.desperado.com

Back to Top
sirrar View Drop Down
Groupie
Groupie
Avatar

Joined: 26 January 2005
Location: Denmark
Status: Offline
Points: 44
Post Options Post Options   Thanks (0) Thanks(0)   Quote sirrar Quote  Post ReplyReply Direct Link To This Post Posted: 29 April 2005 at 1:45am

Hi again

Thanks for the answer.

Have You tested this on the Spamfilter service?

I just did, without any effect on the spamfiltersvc (still running in normal Priority).

First of all, there was no "parameters" below the Spamfilter service, made a new key myself.

Then I have tried with "Priority"  4  (belownormal), but without effect. I have also tried the regdword "ThreadPriority", also without effect.

Any suggestions?

BTW. Running spamfilter on a win2k3.



Edited by sirrar
Best regards...
Torsten Egebirk MCTIP: EA/SA - MCSE - MCSA - CCA - CCNA
Back to Top
Desperado View Drop Down
Senior Member
Senior Member
Avatar

Joined: 27 January 2005
Location: United States
Status: Offline
Points: 1143
Post Options Post Options   Thanks (0) Thanks(0)   Quote Desperado Quote  Post ReplyReply Direct Link To This Post Posted: 29 April 2005 at 1:32pm

sirrar,

The SpamFilter Service *may not* support it however, if you have ever used "FireDaemon" service installer, it can replace the "standard" windows service for SpamFilter and then it *should* work but I have not tested that.  I use FireDaemon to run all my "MRTG" services and use the Affinity setting to set which CPU's (out of 8) the each service uses and that does work.

Regards,

The Desperado
Dan Seligmann.
Work: http://www.mags.net
Personal: http://www.desperado.com

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.316 seconds.