Hi,
We are using smack to connect to Facebook chat server.
We open a new connection for each user that wants to invite friends to our app. We close the connection if there is no activity for 2 min.
However, we noticed that Smack threads are leaking over time, and when they reach around 3,000-4,000 our tomcat server crashes because of “too many open files”.
Do you have any idea what to do?
Thanks!