I started a sec process via
/etc/init.d/sec startwith a bad config file (the arguments being passed are in an unintended format.
When a rule passes it tries to mail me. If the mail script dies, it mails me saying that the mail script dies.
I am getting hundreds of mails from something having to do with this process... I found a sec process via
ps auxw | grep secand killed it.
The script that mails me is called mailsec.sh. I moved that file so it could no longer be executed.
ps auxw | grep mailsec.shdoes not show anything either.
However, I am still getting emails and the load average on the server is really high. Any ideas on how to debug this?
Tried running the following commands to see what was in the queue. I cleared the queue a few minutes ago, so notihgn should be showing up and indeed, nothing is:
root@localhost:/var/log# exim4 -bp root@localhost:/var/log# mailq root@localhost:/var/log#