Hi, I have a question about file descriptors used by the ovs-vswitchd process.
I created a simple topology using Mininet, consisting of two vhosts (i.e., net namespaces) connected to a single kernel OVS instance via veth pairs. Before creating the topology, there are 20 FDs used by ovs-vswitchd process (checked /proc/[pid of vswitchd]/fd and lsof). After instantiating a switch in the topology (without any traffic flow), the number becomes 304 -- there are 195 netlink sockets, 47 eventpoll inodes, tcp sockets, and many new pipes. Why does ovs-vswitchd open that many FDs? I guess it uses netlink socket to communicate with the kernel datapath module and tcp socket to contact the controller, but I don't understand why it needs so many descriptors. Could someone explain the purpose of each file descriptor? Thanks in advance.
_______________________________________________ discuss mailing list disc...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-discuss