There is a test server on NodeJs , no logging is not screwed. Sometimes crashes. Automatic pm2 provided by pm2 Can I somehow see what error is throwing out?

  • Does the service not do anything at all in either stdot or stder? Which of these do you have: systemd / upstart / sysv-init, etc., which version of Debian? With such a description in the question, getting an answer is extremely problematic - the reason is not concrete. - Hellseher
  • @Hellseher, thanks for the criticism). Such a description is due to the fact that I am a Windows user. Hoping for an answer like: "enter the command such and such." Debian 8 server Debian 8 . Upstart replaces me with pm2 (if I understand correctly what is upstart). What is stdot/stder do not know. - Dmytryk
  • Memory badly clogged? free -m What gives grep "Killed process" /var/log/syslog - Total Pusher
  • Upstart мне заменяет pm2 ... Что такое stdot/stder не знаю. . How do you run the script? pm2 ... ? Then pm2 logs - look for your mistake there. stdout/stderr is the standard output and error output, the default output to the console. - Total Pusher
  • @TotalPusher, thank you - pm2 really helped me find out what error was crashed. You can issue as an answer - Dmytryk

0