title: Nohup java process timeout or killed
body: <p>I have a java application which is compiled and packed as Jar file. It contains a while(true) loop inside the application.<br></p>
  
  <p>My main problem is this, when i run my application in unix server by using </p>
  
  <pre><code>nohup java -jar processName.jar &gt; log.txt
  </code></pre>
  
  <p>it starts well. After a while(i do not know the reason, and log file does not exist any exception) it seems to shut down. I can see the process by <code>ps -ef</code> but log file and output file does not change at all.</p>
  
  <p><br>
  Does nohup process shuts down after a while? Does it have any timeout or any configuration I have to make? And what is the best way to create background process at server? <br></p>