A simple jruby process is freezing our Amazon EC2 Cent OS 5.4 instance. To get it back we have to reboot the complete VM from Amazon Mgmt Console.
Is there way to prevent an app from freezing the OS?
How do we find out what caused the OS to become unresponse?
Will /var/log folder contain any useful log?. Thanks.
Update 17 Dec 2011: We found this was happening because of 2048m memory allocated to a jruby process running a rake task - delayed_job. Reduced the memory to 512m to fix the issue. It appears delayed_job/JRuby with 2048m seems a deadly combo.