View Single Post
  #9   (View Single Post)  
Old 28th June 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

You may want to disable sendmail if you don't use it, or use a lighter alternative (Like mail/ssmpt)

Add this to /etc/rc.conf
Code:
sendmail_enable="no"
sendmail_submit_enable="no"
sendmail_outbound_enable="no"
sendmail_msp_queue_enable="no"
You may also want to disable some ttys in /etc/ttys, every one takes up some amount of memory, the "Pseudo terminals" don't take up memory, and you can leave them there.

You may want to disable some of the periodic scripts in /etc/periodic.conf (See /etc/defaults/periodic.conf for defaults), some can take quite a bit of time to finish, for example this disables some daily sendmail scripts:

Code:
daily_clean_hoststat_enable="no"
daily_status_mail_rejects_enable="no"
daily_status_include_submit_mailq="no"
daily_submit_queuerun="no"
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote