How to debug a server that crashes once in a few days?
Posted
by
Nir
on Ask Ubuntu
See other posts from Ask Ubuntu
or by Nir
Published on 2012-03-13T13:22:52Z
Indexed on
2012/07/01
21:25 UTC
Read the original article
Hit count: 280
One of my servers crashes once in a few days.
It does low traffic static web serving + low trafic dynamic web serving (PHP, local MYSQL with small data, APC, MEMCACHE) + some background jobs like XML file processing.
The only clue I have is that a few hours before the server dies it starts swapping (see screenshot http://awesomescreenshot.com/075xmd24 ) The server has a lot of free memory.
Server details: Ubuntu 11.10 oneiric i386 scalarizr (0.7.185) python 2.7.2, chef 0.10.8, mysql 5.1.58, apache 2.2.20, php 5.3.6, memcached 1.4.7 Amazon EC2 (us-west-1)
How can I detect the reason for the server crashes ? When it crashes its no longer accessible from the outside world.
© Ask Ubuntu or respective owner