Open dustinfast opened 5 years ago
Tried reducing number of concurrent locos to 1 (truncated static/track/locos.json
) with no effect.
Behavior suggests more than one instance of the application is starting?
Added better exception handling - instead of erroring out on [Errno 98], the two places it was occurring now output either !!ERROR 9-1!! or !!ERROR 9-2!! and exit. After restart, these error msgs did shown up recurringly (implying an exit) but the issue kept occurring. Eventualylly mem filled and application restarted with 3 functioning locos, until mem fills up again.
Note: When run locally (with ./sim_bos.py
) it still runs fine, with no error messages occurring.
Behavior still suggests more than one instance of the application is starting in the hosted environment.
Port binding fails with ADDRESS ALREADY IN USE and after a minute or two of runtime, memory usage exceeds 500mb limit (presumably as a result of multiple threads failing/restarting due to port bind issue).
Heroku web log output -
Heroku main log -