When smsbox hit by sms thread sender, sometimes, it leaves in CLOSE_WAIT state.

Like this:

smsbox 17645 sbox 899u IPv4 1607296 TCP localhost:6290->localhost:39644 (CLOSE_WAIT) smsbox 17645 sbox 900u IPv4 1607298 TCP localhost:6290->localhost:39645 (CLOSE_WAIT) smsbox 17645 sbox 902u IPv4 1607518 TCP localhost:6290->localhost:39696 (CLOSE_WAIT) smsbox 17645 sbox 904u IPv4 1682991 TCP localhost:6290->localhost:56769 (CLOSE_WAIT) smsbox 17645 sbox 905u IPv4 1746535 TCP localhost:6290->localhost:42577 (CLOSE_WAIT)

When CLOSE_WAIT is growing, up to the max limit of open files, smsbox will refuse connection.

I found no such linux kernel parameters to decrease or give some timeout capabilities for CLOSE_WAIT TCP socket. So, is it bug of kannel or what? How to clean CLOSE_WAIT without restart smsbox?

I use Kannel/cvs-20051226

Thank you.


Reply via email to