The java server application is killed automatically
I have created a java application to run as a socket server. When I run it on my Windows PC, it works OK.
When I put it on the VPS (CentOS) and run in background:
nohup java -jar mychatserver.jar >> chatlog.txt &
Then I check the process by command "jobs -l", the status is "Running"
But, it's automatically killed after 2 - 10 minutes. The status when I call "jobs -l" is:
+ 8835 Exit 143 nohup java -jar mychatserver.jar >> chatlog.txt &
So my server is died
I don't know what happens with my application and why the application is killed?
Can you please advice to resolve my issue?