I have a linux Server, on CentOS 6.2. Recently my server got hanged and I had to reboot it forcefully.
Now it is happenning again and again.
Now the client is asking me the reason? This is what I have already done.
- Checked all type of logs (syslogs etc.)
- I have zabbix configured for this server. Nothing there.
- I created a small script to save the output of top command every 15 min. It shows many httpd process just before hanging. How ever, reinstalling httpd and checking httpd logs didn’t helped.
- Strace httpd didn’t help either.
Any other thing that I can do?
Answer
Heavy swapping to disk could be the reason. Check the number of Apache processes being forked. (ps -aux | grep httpd)
Attribution
Source : Link , Question Author : Abhishek dot py , Answer Author : sridhar pandurangiah