Why does my Perl script exit with 137?

前端 未结 4 1363
日久生厌
日久生厌 2020-11-30 05:42

Is there a way to eliminate a warning (exit code 137) in perl? I am running a Perl script on linux within another shell script. This Perl script exits with a warning and exi

4条回答
  •  萌比男神i
    2020-11-30 06:02

    I just ran into the same exit code 137 when launching a python script. It turns out to be the OOM killer kicking in, sending SIGKILL to python interpreter. If it's the same cause, you can find oom msgs in /var/log/messages

提交回复
热议问题