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

Unable to start mdns: Out of memory #3

Closed
Jejebond opened this issue May 1, 2024 · 8 comments
Closed

Unable to start mdns: Out of memory #3

Jejebond opened this issue May 1, 2024 · 8 comments

Comments

@Jejebond
Copy link

Jejebond commented May 1, 2024

Hi !

I've got an issue. The container won't launch. I've tried a lot of stuff. It stopted working on 04/25 around 6pm. Probably due to the update. The terminal says :

Unable to start mdns: Out of memory

My Docker compose :

services:
  ser2net:
    container_name: ser2net
    image: ghcr.io/jippi/docker-ser2net
    restart: unless-stopped
    network_mode: host
    ports:
      - 20108:20108
    volumes:
      - /volume1/docker/ser2net/ser2net.yaml:/etc/ser2net/ser2net.yaml:ro
    devices:
      - /dev/ttyACM0

My ser2net.yaml file (used for Conbee2 dongle on Synology NAS with Home assistant) :

connection: &con01
  accepter: tcp,20108
  connector: serialdev,/dev/ttyACM0,115200n81,nobreak,local
  options:
    kickolduser: true

Thanks

@jippi
Copy link
Owner

jippi commented May 1, 2024

Can you replicate it with any of the previous tags?

@Jejebond
Copy link
Author

Jejebond commented May 1, 2024

Thanks, you are right, it's not linked to latest tag. 4.6.1 has the same issue. Can't figure out how to fix this. Still, it used to work before. Can't see what has changed then...

#cminyard/ser2net#63

Similar issue but -d parameter, as sugested, is already set.

@jippi
Copy link
Owner

jippi commented May 1, 2024

Does it happen on 4.5.1 as well?

@Jejebond
Copy link
Author

Jejebond commented May 1, 2024

Same on 4.5.1

stderr | Unable to start mdns: Out of memory

I was able to update multiple times. But this time... something changed with Portainer ? I'm a beginner at docker stuff.

@jippi
Copy link
Owner

jippi commented May 1, 2024

I don't use Portainer, so can't speak to any changes within that ecosystem - does it work if you increase the memory limit for the Portainer container?

@jippi
Copy link
Owner

jippi commented May 1, 2024

At a glance, it might be an upstream issue in the mdns library - googling leads to multiple resources mirroring the experience described here: espressif/esp-idf#13333

@jippi
Copy link
Owner

jippi commented May 2, 2024

I don't think this is a jippi/ser2net or Docker issue; I can't reproduce it on my Raspberry PI, Mac, NAS, or home lab servers (across arm and amd64 architecture) - going to close the issue - but feel free to provide more info, debug info, etc. in here

@jippi jippi closed this as completed May 2, 2024
@scyto
Copy link

scyto commented Jun 12, 2024

I just pulled this container for the first time and hit the same issue on an rPi, happy to provide any details i can

version: '3.4'
services:
  ser2net:
    container_name: ser2net
    image: ghcr.io/jippi/docker-ser2net
    restart: unless-stopped
    network_mode: host
    volumes:
      - /home/pi/ser2net/data/ser2net.yaml:/etc/ser2net/ser2net.yaml
    devices:
      - /dev/ttyUSB1

yaml

%YAML 1.1
---

define: &banner Connected to port \N(\d)\r\n

default:
      name: local
      value: true
      class: serialdev

connection: &my-console
      accepter: tcp,8000
      connector: serialdev,/dev/ttyUSB0,460800N81
      options:
              banner: *banner

log

Unable to start mdns: Out of memory

given i don't need mdns for my application can i disable that in someway?

---edit---
oh its a non critical error, the ser2net functionality still works, confusing but ok :-)

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

3 participants