Details
-
Type: Improvement
-
Status: Closed
-
Priority: Default
-
Resolution: Fixed
-
Affects Version/s: 1.2.1
-
Fix Version/s: 1.5.1
-
Component/s: Networking
-
Labels:None
-
Environment:Linux
Description
When you use a FileStoreFactory as a MessageFactory for "Acceptor" QFJ applications, it does not seem to close or delete files associated with a particular session.
For example, when i connect to my acceptor (running on Linux) with a new dynamic session, i can see the new set of files being created for it.
I can run 'lsof +p <pid> ' and see the files being open for the session.
When i kill my initiator and force a disconnect, the files still remain open - i can still see them in the output of lsof command.
So after a long running time and lots of incoming connections the acceptor application ends up running out of file descriptors.
I stepped through the code and it looks like the files are being closed in the Session.disconnect() --> FileStore.reset() call, but somehow the file descriptors still show up in use.