Re: [Cppcms-users] Many opened TCP files
Brought to you by:
artyom-beilis
From: Artyom B. <art...@gm...> - 2016-10-07 17:12:30
|
Hi, >From what I see 1. The open connections you see aren't ones created by the cppcms framework itself. The communication with the server actually uses Unix domain sockets rather than tcp/ip. 2. HTTP. Timeout affects only HTTP connections, not fastcgi as the sever is already handles them. 3. Indeed check your client. Artyom Beilis בתאריך 7 באוק׳ 2016 08:59, "CN" <cn...@fa...> כתב: > > 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 > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users |