Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] unexpected graceful shutdown

On 11/25/2010 05:00 AM, Jonathan Cohen wrote:
What would cause a jetty server to go down with a graceful shutdown during an overnight period of inactivity?

Just a suggestion.. I run Jetty on a VPS with limited memory. Due to an httpd on the same box being hit a lot by indexing search engines overnight, the machine sometimes exceeds the allocated amount of RAM, and the VPS management system automatically kills processes (almost at random, it seems). Check your /var/log/messages for indication of software restarts, or run jetty with a "2>&1 >> out.log" to trap stdout and stderr to see if the VM reports anything as it goes down (mine often reported OutOfMemory as it was shut down, despite not being under load and using about 10Mb of 200Mb available).

Your hosting company may be able to provide more information.

Nick


Back to the top