Hi Mustafa !
I have about 5 VPSes with kloxo (7) (apache / php-fpm) used for processing big sets of data (especially when importing/exporting data for ecommerce sites, etc. And I'm always getting errors like
[Tue May 10 11:38:47 2016] [error] [client xx.xx.xx.xx] FastCGI: incomplete headers (0 bytes) received from server "/home/crawler/domain.com/domain.com.0fake"
[Tue May 10 11:58:47 2016] [error] [client xx.xx.xx.xx] FastCGI: comm with server "/home/crawler/domain.com/domain.com.0fake" aborted: idle timeout (300 sec)
or
[Tue May 10 06:02:11 2016] [error] [client xx.xx.xx.xx] (104)Connection reset by peer: FastCGI: comm with server "/home/crawler/domain.com/domain.com.0fake" aborted: read failed
[Tue May 10 06:02:11 2016] [error] [client xx.xx.xx.xx] FastCGI: incomplete headers (0 bytes) received from server "/home/crawler/domain.com/domain.com.0fake"
So i have to fix values manually for 3600 seconds in
/etc/php-fpm.d (default value is 120s)
request_terminate_timeout = 3600s
and in
/opt/configs/apache/conf/domains/domain.conf (defualt value is
-idle-timeout 300 , but earlier it was even less , probably 120 as well)
FastCGIExternalServer "/home/kloxo/httpd/cp/cp.tinginys.ga.1fake" -socket /opt/configs/php-fpm/sock/php-apache.sock -idle-timeout 3600 -pass-header Authorization
I know its possible putting these to templates, but once you update you lose those settings, and this brings me to a point where i have constantly monitor these values...
Could you please add timeout settings to the control panel , (this could actually be taken from PHP settings max_execution_time, or make new fields)
This is a really required feature (and a pain for now) for those who have bigger sites and need longer timeouts. Please let me know if this doable in a nearest future ?