I am a newbie to digitalocean.
I have just created the smallest VPS and then install python, pip and all required python modules in order to move my scripts which work fine on local server.
Right now, my script starts without any problem but suddenly gets killed. How can I understand the reason and solve this problem?
Do you have any idea under which circumstances digitalocean VPS kills any running script?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
If this is smallest Droplet it could that script run out of memory. You should check syslog for Out Of Memory killer. syslog is located at
/var/log/syslog
and you can opet it with your favourite text editor:Here you can try to find Out of Memory (OOM) killer signal. If there are for your script, it means you ran out of memory. If you need help with logs, post part of it here, but make sure you redact sensitive informations if they are any.