prairiedogbeer / fermenator

Fermentation monitoring and management software
0 stars 0 forks source link

Cooling threads die unexpectedly #14

Open prairiedogbeer opened 6 years ago

prairiedogbeer commented 6 years ago

Here is an example from actively cooling a fermentation tank, with unexpected loss of manager threads (hung or shut down):

Sep 30 22:16:06 cellar105 python3[6987]: INFO     fermenator.beer.SetPointBeer.PDB18009 cooling required (t_now=15.9, t_avg=16.0 t_target=1.0
Sep 30 22:16:55 cellar105 python3[6987]: INFO     fermenator.manager.ManagerThread.FV04.UNMANAGED at set point
Sep 30 22:16:56 cellar105 python3[6987]: INFO     fermenator.manager.ManagerThread.PFV02.UNMANAGED at set point
Sep 30 22:16:58 cellar105 python3[6987]: INFO     fermenator.beer.SetPointBeer.PDB18007 heating required (t_now=20.8, t_avg=20.8 t_target=21.0
Sep 30 22:16:59 cellar105 python3[6987]: INFO     fermenator.beer.SetPointBeer.PDB18011 heating required (t_now=19.8, t_avg=19.8 t_target=20.5
Sep 30 22:17:08 cellar105 python3[6987]: INFO     fermenator.beer.SetPointBeer.PDB18010 cooling required (t_now=16.8, t_avg=16.8 t_target=1.0
Sep 30 22:18:33 cellar105 python3[6987]: DEBUG    fermenator.relay.MCP23017Relay.FV1Cool switching on
Sep 30 22:18:33 cellar105 python3[6987]: DEBUG    fermenator.relay.MCP23017Relay.FV2Cool switching on
Sep 30 22:18:34 cellar105 python3[6987]: DEBUG    fermenator.relay.MCP23017Relay.FV3Cool switching on
Sep 30 22:19:03 cellar105 python3[6987]: DEBUG    fermenator.relay.MCP23017Relay.FV1Cool switching off
Sep 30 22:19:03 cellar105 python3[6987]: DEBUG    fermenator.relay.MCP23017Relay.FV2Cool switching off
Sep 30 22:19:04 cellar105 python3[6987]: DEBUG    fermenator.relay.MCP23017Relay.FV3Cool switching off
Sep 30 22:23:33 cellar105 python3[6987]: DEBUG    fermenator.relay.MCP23017Relay.FV1Cool switching on
Sep 30 22:23:33 cellar105 python3[6987]: DEBUG    fermenator.relay.MCP23017Relay.FV2Cool switching on
Sep 30 22:23:34 cellar105 python3[6987]: DEBUG    fermenator.relay.MCP23017Relay.FV3Cool switching on
Sep 30 22:24:03 cellar105 python3[6987]: DEBUG    fermenator.relay.MCP23017Relay.FV1Cool switching off
Sep 30 22:24:04 cellar105 python3[6987]: DEBUG    fermenator.relay.MCP23017Relay.FV2Cool switching off
Sep 30 22:24:04 cellar105 python3[6987]: DEBUG    fermenator.relay.MCP23017Relay.FV3Cool switching off

And during shutdown/reconfig of fermenator:

Oct 01 09:18:42 cellar105 python3[6987]: INFO     fermenator.manager.ManagerThread.FV01.PDB18010 stopping
Oct 01 09:19:02 cellar105 python3[6987]: DEBUG    fermenator.relay.MCP23017Relay.FV1Cool switching on
Oct 01 09:19:02 cellar105 python3[6987]: DEBUG    fermenator.relay.MCP23017Relay.FV2Cool switching on
Oct 01 09:19:02 cellar105 python3[6987]: DEBUG    fermenator.relay.MCP23017Relay.FV3Cool switching on
Oct 01 09:19:13 cellar105 python3[6987]: ERROR    fermenator.config.FirebaseConfig.brewconsoleconfig manager thread FV01 could not be stopped
Oct 01 09:19:13 cellar105 python3[6987]: INFO     fermenator.manager.ManagerThread.PFV01.PDB18007 stopping
Oct 01 09:19:32 cellar105 python3[6987]: DEBUG    fermenator.relay.MCP23017Relay.FV1Cool switching off
Oct 01 09:19:32 cellar105 python3[6987]: DEBUG    fermenator.relay.MCP23017Relay.FV2Cool switching off
Oct 01 09:19:33 cellar105 python3[6987]: DEBUG    fermenator.relay.MCP23017Relay.FV3Cool switching off
Oct 01 09:19:43 cellar105 python3[6987]: ERROR    fermenator.config.FirebaseConfig.brewconsoleconfig manager thread PFV01 could not be stopped
Oct 01 09:19:43 cellar105 python3[6987]: INFO     fermenator.manager.ManagerThread.FV02.PDB18008 stopping