Domanda

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

È stato utile?

Soluzione

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!

Altri suggerimenti

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top