zoot wrote:
Does anyone here have experience with running Jetty on a Linode?
I have a reporting servlet (JasperReports-based) running beneath Jetty on several of my Linodes and I've never had a glitch, for what it's worth, though I suspect it's not an apples to apples comparison.
In my case, nginx is the front-end server, but then there's my own application server, which in turn internally uses the Jetty servlet to generate reports. So nginx never directly proxies to Jetty (well, aside from dev testing). Jetty is started/maintained by a regular /etc/init.d script. My Linodes are all Ubuntu 8.04 LTS systems with Jetty 6.1.17 (same version I started with in 2009). Our JREs are close - I recently upgraded to 1.6.0_24, but ran with 1.6.0_14 and 1.6.0_20 for at least a year each.
Shot in the dark (and I presume you've looked), but what size Linode are you using and is there any chance you may be having memory issues? Maybe an inability to obtain memory is causing the shutdown? Java containers (even Jetty) can be fairly heavyweight, especially with default options. For example, in my case (Linode 512s) I reduced -Xmx on the Jetty6 java startup options to 64MB - it's been so long I can't remember what it defaulted to, but it was far more. (Even with this it's the single largest process I have, even above and beyond my entire application stack)
-- David