Rakotomandimby Mihamina wrote:
>>>
I have an exim4 server running, and it "sucks" up to 90% system CPU so
that the website hosted on the same machine slows down as hell.
I would like to strongly limit the CPU ressources taken by exim4. What
should be the best way ?
<<<
What exactly is your exim busy with? Receiving mail? Sending Mail?
Waiting for callouts? Antivirus scanning?
CPU is just one of the scarce resources, IP bandwidth may be another.
What is your web server doing? Static pages? Lots of DB and PHP?
One possibility may be to use traffic shaping to guarantee minimum
bandwidth for your web server (eg.
http://www.m0n0.ch/wall). When you're
operating a heavy-load environment I really really suggest you get a 2nd
machine for either mail or www.
--
Ben