java process stops after one day

I installed youtrack with
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.