Limiting deamon instances

ovsoft

Verified User
Joined
Oct 27, 2004
Messages
76
Hi,
how can I limit the number of processes for following services:

- httpd
- mysqld
- exim
- vm-pop3d

Now I have frequent crashes because of not enought memory. My os is Fedora2

What does it mean a process with written <defunct> near?
Thanks
 
You can modify the numer of processes and children a program uses by modifying the configuration file for it.

/etc/httpd/conf/httpd.conf for httpd
Search http://www.help.directadmin.com for "optimize mysql" to learn how to create and optimize the mysql configuration.

Same for the rest, although I would worry to much about exim or the pop3 service.

<defunct> near tells you that the program in question exited but not cleanly (crashed). Something along those lines.
I would suggest modifying the configuration for the program that causes the crash first.
 
Back
Top