I've set up a very simple python eve on a linux machine. Somehow, it always stops responding after running for a while. I don't have much experience on python programming and eve doesn't seem to have very nice log file.

Can someone please help me to look into the root cause?

Thanks, Chunan

有帮助吗?

解决方案

Eve is a Flask application, so make sure that you are following Flask Deployment instructions when/if you're using it for prolonged period of times, and/or in production. Hope this helps!

其他提示

I had the exact same problem.

You are running something like this:

>python yourPeve.py

You need to run:

>python yourPeve.py &

The & simbol, will put the process in the background, so, when you close the terminal, the process won't be killed.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top