I am running a python script as a service in Ubuntu 11.10(using upstart for that). When started, the script runs fine and responds as expected. But after the script is running in background for long lets say 12 hours or so without any activity(user requests) it stops responding. After i check the list of processes in background, its still running.
I understand due to inactivity it will go to sleep, but on receiving the user request it should respond as expected isnt it??
But after the killing the service, and starting it again, it starts working normally again.