Details
-
Bug
-
Status: Resolved
-
Resolution: Done
-
unspecified
-
None
-
None
-
Operating System: Linux
Platform: PC
-
8350
Description
Everytime when create new connection by method "connectWithSsl", a new event loop will be created(line 149 in file library/impl/src/main/java/org/opendaylight/ovsdb/lib/impl/OvsdbConnectionService.java) but it will never be shutted down; as a result of that, many pipe fds(used by event loop) are accumulated until raise "Too many open files" IOException.
To solve the problem described above, suggests that create only one event loop for active client connection, and shutdown it gracefully at OvsdbConnectionService's close() method.
p.s. The attachment file is a git-diff file of my solution about this issue.