Print Page | Close Window

How to start Spamfilter with low priority

Printed From: LogSat Software
Category: Spam Filter ISP
Forum Name: Spam Filter ISP Support
Forum Description: General support for Spam Filter ISP
URL: https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=5141
Printed Date: 13 December 2025 at 1:24am


Topic: How to start Spamfilter with low priority
Posted By: sirrar
Subject: How to start Spamfilter with low priority
Date 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




Replies:
Posted By: Desperado
Date 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



Posted By: sirrar
Date 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.



-------------
Best regards...
Torsten Egebirk MCTIP: EA/SA - MCSE - MCSA - CCA - CCNA


Posted By: Desperado
Date 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




Print Page | Close Window