vendredi 6 octobre 2017

Python process shuts randomly

Im running a python script on linux 17.04 vps and after random amount of hours the script just disappears! Im logging everything and I couldnt see any error or bad output... After looking at the logs I found

  Oct  6 05:30:01 vmi142260 kernel: [53596.820014] sh (31930): drop_caches: 3
Oct  6 05:37:50 vmi142260 systemd[1]: Stopping User Manager for UID 0...
Oct  6 05:37:51 vmi142260 systemd[28993]: Reached target Shutdown.
Oct  6 05:37:52 vmi142260 systemd[28993]: Starting Exit the Session...
Oct  6 05:37:52 vmi142260 systemd[28993]: Stopped target Default.
Oct  6 05:37:52 vmi142260 systemd[28993]: Stopped target Basic System.
Oct  6 05:37:52 vmi142260 systemd[28993]: Stopped target Timers.
Oct  6 05:37:52 vmi142260 systemd[28993]: Stopped target Sockets.
Oct  6 05:37:52 vmi142260 systemd[28993]: Stopped target Paths.
Oct  6 05:37:52 vmi142260 systemd[28993]: Received SIGRTMIN+24 from PID 32026 (kill).
Oct  6 05:37:52 vmi142260 systemd[1]: Stopped User Manager for UID 0.
Oct  6 05:37:52 vmi142260 systemd[1]: Removed slice User Slice of root.
Oct  6 05:39:02 vmi142260 CRON[32048]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then

/usr/lib/php/sessionclean; fi) Oct 6 05:39:09 vmi142260 systemd[1]: Starting Clean php session files...

At 5:37 my script stopped logging and just died and I cant figure whats the problem!




Aucun commentaire:

Enregistrer un commentaire