I've been having an issue where I'll see many instances of a particular process:
/usr/sbin/sendmail -FCronDaemon -i -odi -oem -oi -t
I've done a bit of reading and it seems like the processes are starting up to send out the stdout output of a cron job, but for some reason never terminate.
There's one process per day, so it believe it's related to the daily cron jobs. The start time of the process in
ps aux (04:01 daily) seems to coincide with the kick-off time for the daily cron jobs (04:02 daily). The contents of
0anacron 0logwatch cups logrotate makewhatis.cron mlocate.cron rpm tmpwatch
The contents of
SHELL=/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin MAILTO=root HOME=/ # run-parts 01 * * * * root run-parts /etc/cron.hourly 02 4 * * * root run-parts /etc/cron.daily 22 4 * * 0 root run-parts /etc/cron.weekly 42 4 1 * * root run-parts /etc/cron.monthly
So far, I've manually killed these processes when they get to large numbers; if I don't, the server runs out of resources and the service running on it stops. Worst case, I'll simply set up another cron that kills these processes, but I'd rather stop the problem at the source. Does anyone know the cause for this issue? Can anyone provide steps to debug?