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 937446 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.50 KB, created by
Lubomir Rintel
on 2014-09-15 05:50:10 UTC
(
hide
)
Description:
Suggested fix (el7)
Filename:
MIME Type:
Creator:
Lubomir Rintel
Created:
2014-09-15 05:50:10 UTC
Size:
1.50 KB
patch
obsolete
>From 782bdba504973f3b2f747e11abe89c09f8087b1c 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 4096k >per device, while keeping the 128k minimum. Therefore this change only >affects systems with more than 32 interfaces. >--- > src/platform/nm-linux-platform.c | 6 ++++++ > 1 file changed, 6 insertions(+) > >diff --git a/src/platform/nm-linux-platform.c b/src/platform/nm-linux-platform.c >index 9a3a8fb..72a707f 100644 >--- a/src/platform/nm-linux-platform.c >+++ b/src/platform/nm-linux-platform.c >@@ -3202,6 +3202,7 @@ udev_device_added (NMPlatform *platform, > const char *ifname; > int ifindex; > gboolean is_changed; >+ int nle; > > ifname = g_udev_device_get_name (udev_device); > if (!ifname) { >@@ -3225,6 +3226,11 @@ 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); >+ g_assert (!nle); >+ > /* Don't announce devices that have not yet been discovered via Netlink. */ > rtnllink = rtnl_link_get (priv->link_cache, ifindex); > if (!rtnllink) { >-- >1.8.3.1 >
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