From: Wolfram Schneider Date: Tue, 13 Aug 2013 16:44:06 +0000 (+0000) Subject: set MaxClients 32, SA-457 X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=commitdiff_plain;h=ad730d577f4c1146ed3e2d00d84cde45adc956b5 set MaxClients 32, SA-457 I run a performance test and run 100 parallel requests. The machine swapped and crashed. I set a limit of 32 running scripts. --- diff --git a/web/conf/apache2.0/irspy.conf b/web/conf/apache2.0/irspy.conf index efa8d5b..e735586 100644 --- a/web/conf/apache2.0/irspy.conf +++ b/web/conf/apache2.0/irspy.conf @@ -11,6 +11,12 @@ # For debian & unbuntu: please read irspy/README for a list of depending packages # +# +# an irspy toroid process takes up to 90MB for each request +# 90*32 => 3GB RAM +# +MaxClients 32 + ServerName irspy.indexdata.com ServerAlias irspy2.indexdata.com irspy irspy-dev.indexdata.com @@ -53,6 +59,7 @@ # map /toroid to CGI script irspy-toroid.cgi ScriptAlias /toroid/records /home/indexdata/irspy-toroid/irspy-toroid.cgi + # legacy ruby daemon #ProxyPass /toroid/ http://localhost:12367/ #ProxyPassReverse /toroid/ http://localhost:12367/ @@ -62,6 +69,5 @@ AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml SetOutputFilter DEFLATE -