I am running my node server on a cluster by remotely connecting to the server using Putty windows interface.
I am running my node process as nohup .. & so that it runs in background and does not get killed even after logging out of the session
If I exit the session by typing 'exit' in the command prompt, things work as expected, but if I close the putty session by closing the interface, the nohup process is immediately killed.
Why might this be happening?
PS: It is not happening on every cluster, on some clusters the process is killed, and on others it continues to run.
screen
?