buzzcola / squeakernet

Squeakernet FLP: The Ultimate Feline Lifestyle Platform
7 stars 0 forks source link

Web application goes dark #17

Open buzzcola opened 5 years ago

buzzcola commented 5 years ago

The web application becomes unresponsive every week or so. I can still SSH in and I see... maybe two web applications running at once? or a hung up log weight check? (I'm not great at process diagnostics in linux yet.) Fixing the latter under a different bug, so we'll see if that clear this up.

buzzcola commented 5 years ago

I think the "dual process" effect is just part of the output of the linux ps command.

Reading the code I did see that the system retries weight readings indefinitely. This could mess things up if the tries last longer than a minute, when the next reading will kick off. Having two processes trying to get at the hardware could definitely cause problems. Squeakernet has been updated in production. We'll see if the web app gets more stable.

buzzcola commented 5 years ago

The weight check conflict has been fixed, but the app still goes dark once every week or two and requires restarting of the web app.