Problem:
I am running into a scenario where my external hard drive will unmount in OpenMediaVault. This external hard drive contains the volume for the WatchYourLan docker container. This causes the DB to be inaccessible, which in turn causes "out of memory" exceptions in WatchYourLan. WatchYourLan will then repeatedly find "unknown host" because it can't record when they are found. I also have Telegram notifications set up, so this results in thousands of Telegram notifications until I can handle the external hard drive issue.
Solution:
Make the discovery of new hosts pause while the DB is inaccessible or when "out of memory" exception happens
Problem:
I am running into a scenario where my external hard drive will unmount in OpenMediaVault. This external hard drive contains the volume for the WatchYourLan docker container. This causes the DB to be inaccessible, which in turn causes "out of memory" exceptions in WatchYourLan. WatchYourLan will then repeatedly find "unknown host" because it can't record when they are found. I also have Telegram notifications set up, so this results in thousands of Telegram notifications until I can handle the external hard drive issue.
Solution:
Make the discovery of new hosts pause while the DB is inaccessible or when "out of memory" exception happens