I am using SSH to access to Openshift VM, i'm running a simple java program (java -jar ....) that takes a while a to complete, and do some heavy work. But the execution always gets terminated, along with the SSH session. Using putty, i get a
Server unexpectedly closed network connection
I have tried to set the TMOUT variable to a higher value, and enabled the TCP keepalives from putty. It works when idle, but when i run the java program it get excluded once again after like 5min.
So are there any restriction or limits set by openshift? any other configuration i can do to fix this? and how can i can the last exiting error in java or the ssh session?
EDIT: I alos tried lunching it with: nohup java -jar name.jar &
and it also died after several minutes (i checked using ftp logs)