Eric "Shubes" wrote:
Simone Marzona wrote:
Eric "Shubes" wrote:
David Sánchez Martín wrote:
That sounds like it's worth a try, but I kinda doubt that it'd be
effective.
spamd spawns the processes that actually do the spam checking
(spamd child), so those are the processes you'd really need to
'nice'. I don't know if the children pick up the nice level of the
parent or not, or how their nice level is determined.
Yes, in UNIX, among other things nice is inherited by child.
http://bama.ua.edu/cgi-bin/man-cgi?fork1+2
Looks like modifying the run file will work then!
Please let us know how this works for you, Simone.
just for a try I made a "renice 5" to all spamd processes (also the
father, so something "renice 5 $( pidof spamd )" does not catch all
relevant processes..)
LIVE, so without modifying the run file nor restarting spamd or qmail.
I've found that it works.
Cool.
You'll want to nice it in the run file too though, right? (so it'll run at 5
after you restart)
Also, if smtp timeouts occur, you may see some duplicate emails. Keep an eye
on scan times.
Once you get it all set, would you care to add this to the "Tips and Tricks"
section of the wiki?
sure.
---------------------------------------------------------------------
QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]