Skip to content

Repeated discovery of unknown host when DB is inaccessible #187

@MetalliMyers

Description

@MetalliMyers

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions