encode / apistar

The Web API toolkit. 🛠
https://docs.apistar.com
BSD 3-Clause "New" or "Revised" License
5.57k stars 411 forks source link

Apistar stops responding after several days running #593

Closed agalera closed 6 years ago

agalera commented 6 years ago

I'm using version 0.3.9, I know it's old, we're updating to the latest but we still have a lot of work to do.

After 1 or 2 days, stop writing logs, and do not answer calls, if we restart it, everything works again, it does not show any error.

We execute apist with the command

apistar run --port=5000 --host="0.0.0.0"

we run it inside a docker with the image FROM python:3.6.2-slim

Thanks!

tomchristie commented 6 years ago

Sync or Async?

I’m using version 0.3.9

I’m not really in a position to support that.

fizz commented 6 years ago

It happened to me in 0.5.40 as well. Nothing in the logs, it just stopped answering requests. Sync version.

tomchristie commented 6 years ago

Closing this off given that 0.6 is moving to a framework-agnostic suite of API tools, and will no longer include the server. See https://discuss.apistar.org/t/api-star-as-a-framework-independant-tool/614 and #624.