Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 938978 Details for
Bug 1141256
Out of memory (-5) calling nl_recvmsgs_default()
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
Suggested fix (el7)
el7-0001-platform-Increase-NL-buffer-size-for-systems-with-lo.patch (text/plain), 1.58 KB, created by
Lubomir Rintel
on 2014-09-18 16:17:44 UTC
(
hide
)
Description:
Suggested fix (el7)
Filename:
MIME Type:
Creator:
Lubomir Rintel
Created:
2014-09-18 16:17:44 UTC
Size:
1.58 KB
patch
obsolete
>From 28fa42367a3a12f78a5918c517e376986fc863f3 Mon Sep 17 00:00:00 2001 >From: Lubomir Rintel <lkundrak@v3.sk> >Date: Mon, 15 Sep 2014 07:42:33 +0200 >Subject: [PATCH] platform: Increase NL buffer size for systems with lot > interfaces (rh #1141256) > >Seems like 128k is not enough for systems with many interfaces. This adds 4k >per device, while keeping the 128k minimum. Therefore this change only >affects systems with more than 32 interfaces. >--- > src/platform/nm-linux-platform.c | 7 +++++++ > 1 file changed, 7 insertions(+) > >diff --git a/src/platform/nm-linux-platform.c b/src/platform/nm-linux-platform.c >index 1e64e00..4bd1402 100644 >--- a/src/platform/nm-linux-platform.c >+++ b/src/platform/nm-linux-platform.c >@@ -2929,6 +2929,7 @@ udev_device_added (NMPlatform *platform, > auto_nl_object struct rtnl_link *rtnllink = NULL; > const char *ifname; > int ifindex; >+ int nle; > > ifname = g_udev_device_get_name (udev_device); > if (!ifname) { >@@ -2951,6 +2952,12 @@ udev_device_added (NMPlatform *platform, > g_hash_table_insert (priv->udev_devices, GINT_TO_POINTER (ifindex), > g_object_ref (udev_device)); > >+ /* Grow the netlink socket buffer beyond 128k if we have more that 32 interfaces. */ >+ nle = nl_socket_set_buffer_size (priv->nlh_event, >+ MAX (131072, 4096 * g_hash_table_size (priv->udev_devices)), 0); >+ if (nle) >+ warning ("udev-add: failed to adjust netlink socket buffer size"); >+ > /* Don't announce devices that have not yet been discovered via Netlink. */ > rtnllink = rtnl_link_get (priv->link_cache, ifindex); > if (!rtnllink) { >-- >1.9.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1141256
:
937446
| 938978