[ovs-discuss] ovs-vswitch Huge number of netlink file descriptors open

quan_hping at heetian.com quan_hping at heetian.com
Fri Oct 20 10:56:26 UTC 2017


Hi All,
I searched a mail list like my problem.
https://mail.openvswitch.org/pipermail/ovs-discuss/2017-March/043817.html 

$sudo lsof -p $(pidof ovs-vswitchd) | wc -l
115536
$cat /proc/$(cat /var/run/openvswitch/ovs-vswitchd.pid)/limits | grep open
Max open files            999999                999999                files
$ovs-vsctl show | grep -c Port
905
If anyone has any suggestions for how to solve it?Thanks.

ovs-vswitchd.log
2017-10-17T12:33:38.811Z|18060|netlink_socket|ERR|fcntl: Too many open files
2017-10-17T12:33:38.813Z|18061|netlink_socket|ERR|fcntl: Too many open files
2017-10-17T12:33:38.815Z|18062|netlink_socket|ERR|fcntl: Too many open files
2017-10-17T12:33:38.980Z|18063|bridge|INFO|bridge br-int: added interface tap89a1ae90-54 on port 728
2017-10-17T12:33:38.982Z|18064|netlink_socket|ERR|fcntl: Too many open files
2017-10-17T12:33:38.982Z|18065|dpif|WARN|Dropped 137 log messages in last 1 seconds (most recently, 0 seconds ago) due to excessive rate
2017-10-17T12:33:38.982Z|18066|dpif|WARN|system at ovs-system: failed to add tapa6556974-45 as port: Too many open files
2017-10-17T12:33:38.985Z|18067|netlink_socket|ERR|fcntl: Too many open files
2017-10-17T12:33:38.987Z|18068|netlink_socket|ERR|fcntl: Too many open files
2017-10-17T12:33:38.989Z|18069|netlink_socket|ERR|fcntl: Too many open files
2017-10-17T12:33:38.991Z|18070|netlink_socket|ERR|fcntl: Too many open files
2017-10-17T12:33:38.994Z|18071|netlink_socket|ERR|fcntl: Too many open files
2017-10-17T12:33:38.996Z|18072|netlink_socket|ERR|fcntl: Too many open files
2017-10-17T12:33:38.998Z|18073|netlink_socket|ERR|fcntl: Too many open files

ovsdb-server.log

2017-10-18T03:16:14.265Z|00209|ovsdb_file|INFO|/etc/openvswitch/conf.db: compacting database online (1508254105.699 seconds old, 1059 transactions, 10534268 bytes)
2017-10-18T03:16:14.368Z|00210|jsonrpc|WARN|unix: send error: Broken pipe
2017-10-18T03:16:14.368Z|00211|reconnect|WARN|unix: connection dropped (Broken pipe)
2017-10-18T03:16:29.375Z|00212|jsonrpc|WARN|unix: send error: Broken pipe
2017-10-18T03:16:29.375Z|00213|reconnect|WARN|unix: connection dropped (Broken pipe)
2017-10-18T03:16:37.765Z|00214|jsonrpc|WARN|unix: send error: Broken pipe
2017-10-18T03:16:37.765Z|00215|reconnect|WARN|unix: connection dropped (Broken pipe)
2017-10-18T03:16:43.657Z|00216|jsonrpc|WARN|unix: send error: Broken pipe
2017-10-18T03:16:43.658Z|00217|reconnect|WARN|unix: connection dropped (Broken pipe)
2017-10-18T03:17:04.876Z|00218|jsonrpc|WARN|unix: receive error: Connection reset by peer
2017-10-18T03:17:04.876Z|00219|reconnect|WARN|unix: connection dropped (Connection reset by peer)
2017-10-18T03:17:55.271Z|00220|jsonrpc|WARN|unix: receive error: Connection reset by peer
2017-10-18T03:17:55.272Z|00221|reconnect|WARN|unix: connection dropped (Connection reset by peer)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20171020/be293d94/attachment.html>


More information about the discuss mailing list