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.
--
Dr. Simone Marzona
Clikkapuntocom
via Castellana 45/a
33100 Udine
tel. 0432 2428 804
fax. 0432 2428 999
http://www.clikka.com
---------------------------------------------------------------------
QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]