java process stops after one day

I installed youtrack with http://confluence.jetbrains.com/display/YTD5/Linux.+YouTrack+JAR+as+a+Service.+Alternative+Method
After install in configuration it asked to set -XX:MaxPermSize=150m
So the process works as
exec $JAVA_HOME/bin/java -Xmx512m -XX:MaxPermSize=150m -jar $JAR $PORT >> $LOG 2>&1 &
And then it is opened through nginx.

All works for a day +- and then java process stops with no errors in log. How to solve this?

Please sign in to leave a comment.