I am using ubuntu on EC2 instance. On top of that i am running a bottle framework. A python script is run in the background that serves for the http requests
Then i start running the script using "nohup sudo python abc.py &" This serves the http post queries properly for a couple of hours. and i can see the incoming request in the logs at "/home/ubuntu/nohup.out"
After sometime i am unable to see the request logs in "/home/ubuntu/nohup.out" and the http request times out.
Trying it in postman gives the following error "could not get any response"
I want EC2 to process the request 24x7
Thank you for your time. Regards.