http://www.perlmonks.org?node_id=1069869


in reply to After system call, scripts is getting terminated

This server_down script is using kill? Consider this:

system("kill 1 0"); print "line 1"; print "line 2";
Fix the server_down.sh, or ignore signals in your perl script. (See perlipc.)