I am running a free host server. Now it gets about 60connectios/s. I am asking using this mail-list becouse, for my mind, people who run mathopd are those who care about speed and such things.
 
my server is: P4 2.4ghz, 512 ram. SWAP is generally just 30-50mb.
 
my current config.
port 80:
apache1.3.28 +mod_php + mod_deflate(gzip's html files)
/web/.htaccess
RewriteRule .*\.(html|htm)$ /cgi-bin/country.cgi?%{REQUEST_FILENAME}
With country.cgi i insert my header and footer. simple php script that just reads and outputs header, body and footer
Everything is ok on small loads - like up to 200 apaches, but server goes to huge loads when apaches quantity grows to 300-400. i get minimum +1average with every 100 apaches. And sometimes load is 10-30, that makes server imposible for normal use.
 
 
I am trying to output static content with mathpod and using following .htaccess.
----------
RewriteRule .*\.(html|htm)$ /cgi-bin/country.cgi?%{REQUEST_FILENAME}
RedirectMatch (.*)\.(jpg|gif|mpg|avi|wmv)$ http://www6.blizzardhost.com:8080$1.$2
----------
 
Server is not going to overload in any loads, apaches quantity does not exceed 200-250, and load is under 1 everytime.  But there are some problems.
Thus I redirect using 302 header, browsers do not show ALL images on a page, but about 80% of them.  And time to load a page increases, but i think its becouse browser sends 2 requests to server for every image (1st to apache and 2nd to mathopd after redirect).
I noticed that latest Mozilla shows everything OK, IE5.0 shows no image very often, IE6.0 sometimes do not show images sometime, but ie6.0 is ok in most cases.
 
I turned keepalive OFF on apache, and images are showed better now, but speed is not good anyway with this kind of redirect.
 
Please advice something, may be i do something wrong and make some mistakes..
Thank you
 
 
 
 

 
 
 
 

Reply via email to