[libvirt] Terminal input “udevadm trigger” command,then produce “nl_recv returned with error:No buffer space available”

xiajidong at cmss.chinamobile.com xiajidong at cmss.chinamobile.com
Mon Sep 3 04:31:22 UTC 2018


Dear libvirt experts,

 

I have add some patch as follow.this two patch add buffer size to avoid to
produce “nl_recv returned with error:No buffer space available”

1.     libvirt-nodedev-Increase-the-netlink-socket-buffer-size-to-t.patch

2.     libvirt-util-increase-libnl-buffer-size.patch

 

but as I set some configuration in /etc/libvirt/libvitd.conf as follows

# Logging level: 4 errors, 3 warnings, 2 information, 1 debug

log_level =2

# Multiple outputs can be defined, they just need to be separated by spaces.

# e.g. to log all warnings and errors to syslog under the libvirtd ident:

log_outputs="2:syslog:libvirtd"

 

when I input “udevadm trigger” command

[root at localhost ~]# vi /etc/libvirt/libvirtd.conf

[root at localhost ~]# systemctl restart libvirtd

[root at localhost ~]# udevadm trigger

[root at localhost ~]# udevadm trigger

[root at localhost ~]# udevadm trigger

[root at localhost ~]#

then will produce “nl_recv returned with error:No buffer space available”

[root at localhost ~]# tail -f /var/log/messages | grep buffer

Sep  2 22:44:00 localhost libvirtd: 4004: error :
virNetlinkEventCallback:699 : nl_recv returned with error: No buffer space
available

Sep  2 23:11:33 localhost libvirtd: 4004: error :
virNetlinkEventCallback:699 : nl_recv returned with error: No buffer space
available

Sep  2 23:11:45 localhost libvirtd: 4004: error :
virNetlinkEventCallback:699 : nl_recv returned with error: No buffer space
available

 

So my question is:

When input “udevadm trigger” in terminal, if setting log_level and
log_outputs="2:syslog:libvirtd",how to avoid to produce “error
virNetlinkEventCallback:699 : nl_recv returned with error: No buffer space
available” log information?

I am looking forward to your reply.

 

  _____  

Best Regards,

Jidong Xia

China Mobile (Suzhou) Software Technology Company.cloud computing product
department

Tel: (+86) 18896726087

E-Mail:xiajidong at cmss.chinamobile.com
<mailto:xiajidong at cmss.chinamobile.com> 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180903/7df9ab8f/attachment-0001.htm>


More information about the libvir-list mailing list