We have been testing with the following
tunings on a similar linux box. I would be interested to here if
your performance improves with this:
Linux Tuning :
set the following values in /etc/sysctl.conf
kernel.msgmni = 1024
kernel.sem = 1000 32000 32 512
fs.file-max = 2097152
fs.inode-max = 838
Correction, 304 (not 302)
[Mon May 08 20:36:32 2006] [debug] mod_cache.c(114):
incoming request is asking for a uncached version of /portal/msa/images/ochregradient.gif,
but we know better and are ignoring it
[Mon May 08 20:36:32 2006] [debug] mod_cache.c(446):
cache: /portal/msa/images/ochregra
We are looking into caching images on
Apache that are proxied from a backend server. However, it looks
like a lot of traffic will still go to the backend.
We have Apache configured like this:
CacheIgnoreCacheControl
On
CacheIgnoreNoLastMod
On
CacheIgnoreHeaders
S
Apache seems to be running out of memory
on one 512Meg box but not another. What affects the amount of memory
available to Apache?
It also fails on a 1Gig server. But
it starts fine on one of the 512Meg servers. I am using this configuration
on a Linux 2.4 OS:
ServerLimit 1
ThreadLimit 512
One other thing to consider is the Rewrite
rules you can put in httpd.conf
RewriteEngine On
# Force to https
RewriteCond %{SERVER_PORT} ^443$
RewriteRule ^/admin.php
https://yourhostname/$1 [L,R]
#
We are attempting to upgrade our Apache web servers
to 2.0.55. We are
running on several different platforms with different versions of Red
Hat Linux. We are using the worker module compiled in.
In our test env, on a 512 Meg RAM box, we can start with the desired 512
threads. Our config loo