Re: [Cppcms-users] Many opened TCP files
Brought to you by:
artyom-beilis
From: CN <cn...@fa...> - 2016-10-07 05:57:42
|
On Wed, Oct 5, 2016, at 04:39 PM, Artyom Beilis wrote: > Another reason I can see is that your async app does not handle > timeouts/disconnects properly and keeps connection alive. This program does not mount any asynchronous application. But your enlightenment does lead me to suspect my synchronous applications. Some methods in these synchronous applications do not return until they acquire outside resources like Google re-captcha. Probably this the cause of the large number of CLOSE_WAIT. On the other hand, even the delayed (or never) responses from outside resources might be the cause to blame, I still have no idea why http.timeout mechanism did not proactively close the long idle open connections. Best Regards, CN -- http://www.fastmail.com - Access your email from home and the web |