tbrehm
2012-10-30 60e3bc781ea9e67cdc455094689aa07e0b92bbbc
Fixed: FS#2509 - Intermittent 500 responses in access.log without corresponding entries in error.log
2 files modified
4 ■■■ changed files
server/conf/vhost.conf.master 3 ●●●● patch | view | raw | blame | history
server/plugins-available/apache2_plugin.inc.php 1 ●●●● patch | view | raw | blame | history
server/conf/vhost.conf.master
@@ -197,12 +197,13 @@
                FcgidIdleTimeout 300
                FcgidProcessLifeTime 3600
                # FcgidMaxProcesses 1000
                FcgidMaxRequestsPerProcess <tmpl_var name='fastcgi_max_requests'>
                FcgidMinProcessesPerClass 0
                FcgidMaxProcessesPerClass 100
                FcgidConnectTimeout 3
                FcgidIOTimeout 360
                FcgidBusyTimeout 300
        FcgidMaxRequestLen 1073741824
                FcgidMaxRequestLen 1073741824
<tmpl_else>
                IdleTimeout 300
                ProcessLifeTime 3600
server/plugins-available/apache2_plugin.inc.php
@@ -1098,6 +1098,7 @@
            $tpl->setVar('fastcgi_starter_path',$fastcgi_starter_path);
            $tpl->setVar('fastcgi_starter_script',$fastcgi_config['fastcgi_starter_script'].($data['new']['type'] == 'vhostsubdomain' ? '_web' . $data['new']['domain_id'] : ''));
            $tpl->setVar('fastcgi_config_syntax',$fastcgi_config['fastcgi_config_syntax']);
            $tpl->setVar('fastcgi_max_requests',$fastcgi_config['fastcgi_max_requests']);
        } else {
            //remove the php fastgi starter script if available