A problem of the QQ IM gateway

If I disable the QQ gateway, everything is ok. But if I enable it, after several hours, an error says “too many open files” on the server, and nobody can connect to the server. I think there are some connections do not release in the QQ gateway code. Please check it.

Do you happen to know how to make a thread dump? What OS are you running under? I’d love to see what threads are open.

I running Openfire on RedHat Linux. I don’t know how to make a thread dump.

p.s. The error.log says “too many open files”, and a hs_err_pid27593.log file is created, maybe it can help.
hs_err_pid27593.log (35607 Bytes)