moby: Lingering processes (and containers) when writing to stdout (was: Unable to launch 1024th instance: bridge 'docker0' : Exchange full)

$ docker ps | wc -l
1024
$ brctl show docker0 | wc -l
1024
$ docker run base true
lxc-start: failed to attach 'vethHjfSzW' to the bridge 'docker0' : Exchange full
lxc-start: failed to create netdev
lxc-start: failed to create the network
lxc-start: failed to spawn 'aae42e176fa8369f1e327b752eb1e136963274f273053c72599b361b7ffc3a63'
lxc-start: No such file or directory - failed to remove cgroup '/sys/fs/cgroup//lxc/aae42e176fa8369f1e327b752eb1e136963274f273053c72599b361b7ffc3a63'

The kernel seems to define this limit in net/bridge/br_private.h

#define BR_PORT_BITS 10
#define BR_MAX_PORTS (1<<BR_PORT_BITS)

About this issue

  • Original URL
  • State: closed
  • Created 13 years ago
  • Comments: 31 (17 by maintainers)

Most upvoted comments

@vijay-rs the stackoverflow question that you linked has been removed. Furthermore–please do not add an unrelated question to an issue that was closed 2 years ago! Your issue is probably totally unrelated, and this issue has been closed. Please open a new issue if needed. Thank you very much!

@jpetazzo can you help me to understand why i can only ping 1001 interfaces of 1023 interfaces that are connected to linux bridge. https://stackoverflow.com/questions/45066139/why-i-can-only-ping-1001-interface-out-of-1023-that-are-connected-to-a-linux-bri