Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.