# cat /proc/sys/fs/nr_open
1048576

That is the ceiling on what value can be set for the open files limit (aka 
RLIMIT_NOFILE) with Linux.

Chris.

From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On 
Behalf Of Jan Srnicek -X (jsrnicek - PANTHEON TECHNOLOGIES at Cisco)
Sent: Sunday, October 29, 2017 11:17
To: Steven Luong (sluong) <slu...@cisco.com>; vpp-dev <vpp-dev@lists.fd.io>
Subject: Re: [vpp-dev] Number of interfaces configurable restriction

Thanks for info Steven

Is there any upper boundary for „ulimit –n“, or is it just till i run out of 
memory ?

[banner11]



Jan Srnicek
Engineer - Software
jsrni...@cisco.com<mailto:jsrni...@cisco.com>
Tel:

Cisco Systems, Inc.



Slovakia
cisco.com


[http://www.cisco.com/assets/swa/img/thinkbeforeyouprint.gif]Think before you 
print.

This email may contain confidential and privileged material for the sole use of 
the intended recipient. Any review, use, distribution or disclosure by others 
is strictly prohibited. If you are not the intended recipient (or authorized to 
receive for the recipient), please contact the sender by reply email and delete 
all copies of this message.
Please click 
here<http://www.cisco.com/web/about/doing_business/legal/cri/index.html> for 
Company Registration Information.


From: Steven Luong (sluong)
Sent: Friday, October 27, 2017 6:20 PM
To: Jan Srnicek -X (jsrnicek - PANTHEON TECHNOLOGIES at Cisco) 
<jsrni...@cisco.com<mailto:jsrni...@cisco.com>>; vpp-dev 
<vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io>>
Subject: Re: [vpp-dev] Number of interfaces configurable restriction

Jan,

You have to use ulimit –n to raise the number of open files if you are going to 
create a lot of interfaces.

Steven

From: <vpp-dev-boun...@lists.fd.io<mailto:vpp-dev-boun...@lists.fd.io>> on 
behalf of "Jan Srnicek -X (jsrnicek - PANTHEON TECHNOLOGIES at Cisco)" 
<jsrni...@cisco.com<mailto:jsrni...@cisco.com>>
Date: Friday, October 27, 2017 at 3:31 AM
To: vpp-dev <vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io>>
Subject: [vpp-dev] Number of interfaces configurable restriction

Hi

While doing some perf testing for honeycomb , i’ve came about something that 
seems like internal restriction of vpp.

While trying to configure as much Tap interfaces as possible, when i got to 
510, i started to get

Caused by: io.fd.vpp.jvpp.VppCallbackException: vppApi.tap_connect_reply 
failed: System call error #1 (error code: -11)

Is this internal restriction of vpp on number of interfaces or bug ?

Note: Happens for Vhost too

[anner11]



Jan Srnicek
Engineer - Software
jsrni...@cisco.com<mailto:jsrni...@cisco.com>
Tel:

Cisco Systems, Inc.



Slovakia
cisco.com


[ttp://www.cisco.com/assets/swa/img/thinkbeforeyouprint.gif]Think before you 
print.

This email may contain confidential and privileged material for the sole use of 
the intended recipient. Any review, use, distribution or disclosure by others 
is strictly prohibited. If you are not the intended recipient (or authorized to 
receive for the recipient), please contact the sender by reply email and delete 
all copies of this message.
Please click 
here<http://www.cisco.com/web/about/doing_business/legal/cri/index.html> for 
Company Registration Information.


_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to