Comment 2 for bug 1533495

Revision history for this message
Hari Prasad Killi (haripk) wrote :

In R2.22 and in earlier releases, agent was opening a socket for every TBB thread running in agent. The test compute nodes here had 40+ cores and this was resulting in 40 FDs being opened. Agent sets aside 64 FDs for normal operations and link local flows can take up to (max – 64). In this case, since 40+ of the 64 are used up and link local takes the rest up to max, only a few are left for normal operations and we are hitting assert due to FDs being unavailable.

To avoid this, add the following in /etc/contrail/supervisord_vrouter.conf and restart the supervisor_vrouter.
environment=TBB_THREAD_COUNT=8 ; (key value pairs to add to environment)

In R3.0, agent doesn’t open the sockets for every TBB thread.