Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Process gets stuck and stops responding to requests #7

Open
coldsobolev opened this issue Jun 24, 2024 · 4 comments
Open

Process gets stuck and stops responding to requests #7

coldsobolev opened this issue Jun 24, 2024 · 4 comments

Comments

@coldsobolev
Copy link

Hello, I am using your image as DNS and DHCP server in an office environment and I run it with network_mode: host. For some reason, the container gets stuck and even restarting it takes a very long time. docker logs show nothing useful and even running it in debug mode is not useful. Any idea what could be causing this?

@danil-smirnov
Copy link

I have the same issue

@kda-jt
Copy link

kda-jt commented Dec 19, 2024

Agreed, same problem here as well

@kroese
Copy link
Contributor

kroese commented Dec 19, 2024

I dont have a clue how it can be caused. I just launch the dnsmasq executable, so Im not sure what I can do differently. If anyone has an idea, Im all ears.

@kda-jt
Copy link

kda-jt commented Jan 15, 2025

I've set a healthcheck and a restart policy to my docker compose file, this way docker takes care of restarting the container if it fails.

    restart: unless-stopped
    healthcheck:
      test: ["CMD", "nslookup", "home.lan", "192.168.1.60"]
      interval: 30s
      timeout: 10s
      retries: 15
      start_period: 15s

I haven't had any issues in a while, the container has not restarted since I last rebooted the host machine (I've checked the uptime on both). Will report back if I see any problems again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants