Re: [Cppcms-users] Many opened TCP files
Brought to you by:
artyom-beilis
|
From: Artyom B. <art...@gm...> - 2016-10-09 05:19:06
|
> Many thanks for your kind help!
>
> Now I remember I configured the proxy (my sole client) to always send only
> https requests to my host.
>
> Is there any chance that the following scenario could possibly happen?
>
> Lighttpd somehow did not provide services - maybe temporarily brought down
> by myself. As a result, all requests from proxy rushed to CppCMS process.
> Because the parameter "service.api" is configured as "fastcgi", CppCMS
> process tried to ignore all http requests. However, because the http server
> embed in CppCMS did not recognize https, it therefore did not completely
> close the https connections with proxy.
See, quote from the configuration file"
"service":{
"api":"fastcgi",
"socket":"/tmp/home.sock",
"disable_global_exit_handling":true
}
It means that CppCMS:
1. Brings up ONLY FastCGI module and HTTP is turned off
2. It works over UNIX domain sockets, not TCP/IP (that https uses),
basically CppCMS does not open or close ANY tcp/ip connection so it
must be your's :-)
Artyom Beilis
|