Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

coral flask server hangs after a while #40

Closed
lmamakos opened this issue Aug 21, 2019 · 1 comment
Closed

coral flask server hangs after a while #40

lmamakos opened this issue Aug 21, 2019 · 1 comment

Comments

@lmamakos
Copy link
Contributor

I've noticed that in my environment, the coral TPU stick goes into an unusual state and the flask server ceases responding to requests. I'm running this in a Docker container on Ubuntu 18.04 on Intel Core i5.

Of note that when it gets into this state, the white LED on the Coral TPU USB stick has this consistent blinking going on. I've tried to figure out what the LED state is supposed to represent, but haven't obviously found documentation to that effect. Any insight here would be useful.

I've added a healthcheck to the docker container, which successfully noticed that the server isn't responding to queries. Too bad it doesn't automatically restart the container :-) I think that I need to be running docker swarm or something a bit more sophisticated for the automatic restart...

Of course I'm away on travel, so debugging is limited. I need to sync-up versions of what I'm running with the most recent version here, and also look at some suspicious/weirdness in terms of what packages are being installed into the container by the coral install script. I fear there might be a mix of Python 3.6 and 3.7 stuff going on in there, and I'm not 100% clear on what's being used. Of course, I'd think that obvious dependency issues would be evident right away, not days later after the container has been running.

I wanted to just open an issue here as a place-keeper and also see if anyone else might have noticed similar behavior in an attempt to shorten up some debugging steps.

@robmarkcole
Copy link
Owner

Hi @lmamakos
thanks for reporting, this is a duplicate of #38 I will add some more detail to that issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants