Hi Alin,
On Thu, Nov 27, 2014 at 3:22 PM, Rauta, Alin <alin.ra...@intel.com> wrote: > We got the following error when running systemd on a device with many > ports: > > > > "rtnl: kernel receive buffer overrun > Event source 'rtnl-receive-message' returned error, disabling: No buffer > space available" > > I think the kernel socket receive buffer queue should be increased. The > default value is taken from: > "/proc/sys/net/core/rmem_default", but we can overwrite it using SO_RCVBUF > socket option. > > This is already done in networkd for other sockets. > For example, the bus socket (sd-bus/bus-socket.c) has a receive queue of > 8MB. > In our case, the default is 208KB. > > Increasing the buffer receive queue for manager socket to 512KB should be > enough to get rid of the above error. To be on the safe side, I bumped the limit to 8M. Thanks for the patch! Applied. Cheers, Tom PS In the future, if you could send git-formatted patches rather than a diff, it is simpler for me to apply them. Preferably using git-send-email to make inline review easier. _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel