I have a problem on CentOS 6.3 system where the crond process tries to unsuccessfully send mail over and over (at least I think this is what its doing) until the OS eventually generates a "too many files open" error. This computer is not connected to a network.
After running overnight, the system produces a "too may files open" error when a user tries to log in.
If I examine the process list after it has been running for a few hours, I see this trio of processes listed several times (the number or repetitions continue growing as time goes on):
CROND /usr/sbin/sendmail -FCronDaemon -i -odi -oem -i -t ... /usr/sbin/postdrop -r
- I disabled the postfix process, which seems to be related to the mail sending features
/etc/anacrontab, and changed the line:
Neither of these attempted fixes have resolved the problem. It appears that it's actually the
postdrop process that is hanging. If I kill it, the other two processes also die. Barring some more elegant solution, my next plan of attack is to replace
postdrop with a bash script that does nothing and exits to prevent these processes from accumulating. Any advice is appreciated!