From 16e7ec7bfea0de778d5eb0d0f5ab5a51aa10c480 Mon Sep 17 00:00:00 2001 From: ken restivo Date: Fri, 27 Nov 2015 14:38:29 -0800 Subject: Safe defaults to prevent #188 --- .htaccess | 6 ++++++ 1 file changed, 6 insertions(+) (limited to '.htaccess') diff --git a/.htaccess b/.htaccess index 7f3935117..3bc14d74d 100644 --- a/.htaccess +++ b/.htaccess @@ -28,3 +28,9 @@ AddType audio/ogg .oga RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?q=$1 [E=REMOTE_USER:%{HTTP:Authorization},L,QSA] + + +# Required to keep Apache from hanging waiting for MySql connections + + GracefulShutdownTimeout 300 + \ No newline at end of file -- cgit v1.2.3 From aa78d51521132cf38e8c6a52cd01345e41f67905 Mon Sep 17 00:00:00 2001 From: ken restivo Date: Fri, 27 Nov 2015 14:40:22 -0800 Subject: More sane defaults, to avoid problems. Addresses #188 --- .htaccess | 1 + 1 file changed, 1 insertion(+) (limited to '.htaccess') diff --git a/.htaccess b/.htaccess index 3bc14d74d..237e0caef 100644 --- a/.htaccess +++ b/.htaccess @@ -33,4 +33,5 @@ AddType audio/ogg .oga # Required to keep Apache from hanging waiting for MySql connections GracefulShutdownTimeout 300 + MaxRequestWorkers 100 \ No newline at end of file -- cgit v1.2.3 From 4af104384b5f97eeacd1426f158304f6956002af Mon Sep 17 00:00:00 2001 From: ken restivo Date: Fri, 27 Nov 2015 14:43:17 -0800 Subject: Re-reading zottel's excellent docs, 70 seems the recommended default. Changed. --- .htaccess | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.htaccess') diff --git a/.htaccess b/.htaccess index 237e0caef..e22b860fd 100644 --- a/.htaccess +++ b/.htaccess @@ -33,5 +33,5 @@ AddType audio/ogg .oga # Required to keep Apache from hanging waiting for MySql connections GracefulShutdownTimeout 300 - MaxRequestWorkers 100 + MaxRequestWorkers 70 \ No newline at end of file -- cgit v1.2.3 From 216d41cd642890cbfdadc092e5f944d788d91843 Mon Sep 17 00:00:00 2001 From: ken restivo Date: Fri, 27 Nov 2015 16:32:32 -0800 Subject: Reverted. --- .htaccess | 6 ------ 1 file changed, 6 deletions(-) (limited to '.htaccess') diff --git a/.htaccess b/.htaccess index e22b860fd..5f6414882 100644 --- a/.htaccess +++ b/.htaccess @@ -29,9 +29,3 @@ AddType audio/ogg .oga RewriteRule ^(.*)$ index.php?q=$1 [E=REMOTE_USER:%{HTTP:Authorization},L,QSA] - -# Required to keep Apache from hanging waiting for MySql connections - - GracefulShutdownTimeout 300 - MaxRequestWorkers 70 - \ No newline at end of file -- cgit v1.2.3