Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have samhain installed on centos6. Recently I realized that its constantly consuming too much of CPU and memory. Its almost eating up 2 CPU cores and 183m of memory. I don't find the reason. I am not sure what is keeping it so much busy.

I tried googling it, but could not find much information. Also if I tail /var/log/messages I see

Nov  1 14:20:17 prod-db Samhain[1974]: MARK   :  [2012-11-01T14:20:17-0400] msg=<---- TIMESTAMP ---->
Nov  1 14:21:17 prod-db Samhain[1974]: MARK   :  [2012-11-01T14:21:17-0400] msg=<---- TIMESTAMP ---->
Nov  1 14:22:17 prod-db Samhain[1974]: MARK   :  [2012-11-01T14:22:17-0400] msg=<---- TIMESTAMP ---->
share|improve this question
up vote 0 down vote accepted

Answering my own question. I think it was signing issue that lead to such a performance hit. Not sure weather newer versions have some means to inform end users.

What I suspect is the samhain binary and the samhainrc/samhain_file were not signed properly or with the same key and that made samhain go crazy eating whole CPU.

Other than this there is no other reason why in one installation (some other guy did) it works and and new installation (which I did) does not.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.