[systemd-devel] [PATCH] rtnl: kernel receive buffer overrun error

Rauta, Alin alin.rauta at intel.com
Thu Nov 27 06:22:13 PST 2014


Hi,
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.

Please find the patch attached.

Alin Rauta
Software Applications Engineer
+353 (0) 87 101 8449
Intel Shannon Limited
Registered in Ireland
Registered Office: Collinstown Industrial Park, Leixlip, County Kildare
Registered Number: 308263
Business address: Dromore House, East Park, Shannon, Co. Clare

--------------------------------------------------------------
Intel Shannon Limited
Registered in Ireland
Registered Office: Collinstown Industrial Park, Leixlip, County Kildare
Registered Number: 308263
Business address: Dromore House, East Park, Shannon, Co. Clare

This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20141127/662ae72c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: onp_1556.diff
Type: application/octet-stream
Size: 1775 bytes
Desc: onp_1556.diff
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20141127/662ae72c/attachment.obj>


More information about the systemd-devel mailing list