I had YouTrack installed on my VPS, and lately it just stopped working.
Installation method I used is described here: https://confluence.jetbrains.com/display/YTD65/YouTrack+JAR+as+a+Service+on+Linux.+Alternative+Method (with the difference that I used Apache2 http server in the end). It was being invoked with command:
exec $JAVA_HOME/bin/java -XX:MaxPermSize=1024m -Djetbrains.youtrack.disableBrowser=true -Djava.awt.headless=true -Xmx1g -jar $JAR $PORT >> $LOG 2>&1 &
And most important - it has been working very well. Lately it just stopped. I tried to figure out what is going on. Logged output of this java process didn't indicate anything wrong - it looked like process was just disappearing after few seconds from invoking. What is also interesting, output was different each time I started it, I was monitoring it with "top" with my own eyes and it looked like it would sometimes disappear instantly, sometimes after some time, and generally - was being killed every time in different state. I couldn't find any log that would indicate anything wrong.
I have free space on disk and 3GB of RAM on this VPS, 1.6GB is free. After taking up about 400MB of RAM it stops. What baffling me the most is that nothing had being changed on this server.
I tried to look at everything, even changed oracle java 1.8 into openjdk 1.7 but nothing changed. Tried to change YouTrack version to newer (was using 6.0, changed into 6.5) - didn't help. I'm using Ubuntu 14.04 on my server.
I run otrace on this process until it lasted, it's 41MB file, so I will paste here only its last breaths: http://pastebin.com/ddfuc5yn . Any ideas what should I even look at to diagnose the problem? Am I being screwed by VPS provider somehow?
What kind of virtualization platform is your VPS running? What's happening I think is your process is overloading the server and the admins monitoring the node are killing it. Who's your webhost? :)