Click to See Complete Forum and Search --> : killing sendmail
perfectly_dark
09-26-2003, 05:28 PM
I've been using a linux box for quite some time now as a server. It runs on the GUI all the time and stays on for weeks at a time. The thing is though, after it's been on a day or two, it gets VERY sluggish in the GUI. I've ran a few tests and sendmail is eating like over 50% of the CPU and I think it's constantly writing to the HD because the light is on ALL THE TIME. I don't use sendmail at all, the computer is just an internet gateway/firewall so sendmail is not needed. How can I stop sendmail and prevent it from starting up?
mdwatts
09-26-2003, 06:53 PM
Use whatever service configuration utility included with your distro to disable sendmail from starting in whatever runlevel(s).
Some distros can use the commandline 'chkconfig'.
chkconfig --list
This will show you what is set to run on startup and at what run levels. Note the way that the names are listed here.
chkconfig --level 5 sendmail off
Most distros also have documentation on their sites that explain how to disable/enable services. :)
perfectly_dark
09-26-2003, 07:49 PM
whoops, should have checked Red Hat...I'm an idiot :)
Thx!
mdwatts
09-27-2003, 09:19 AM
Or you can use Webmin as I do to enable/disable services.
Webmin - System/Bootup & Shutdown