projects
/
irspy-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
set MaxClients 32, SA-457
[irspy-moved-to-github.git]
/
web
/
conf
/
apache2.0
/
irspy.conf
diff --git
a/web/conf/apache2.0/irspy.conf
b/web/conf/apache2.0/irspy.conf
index
509afea
..
e735586
100644
(file)
--- 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
#
# 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
+
<VirtualHost *:80>
ServerName irspy.indexdata.com
ServerAlias irspy2.indexdata.com irspy irspy-dev.indexdata.com
<VirtualHost *:80>
ServerName irspy.indexdata.com
ServerAlias irspy2.indexdata.com irspy irspy-dev.indexdata.com
@@
-53,9
+59,15
@@
# map /toroid to CGI script irspy-toroid.cgi
ScriptAlias /toroid/records /home/indexdata/irspy-toroid/irspy-toroid.cgi
# 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/
# legacy ruby daemon
#ProxyPass /toroid/ http://localhost:12367/
#ProxyPassReverse /toroid/ http://localhost:12367/
+ # compress output
+ <Location />
+ AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml
+ SetOutputFilter DEFLATE
+ </Location>
</VirtualHost>
</VirtualHost>