I've currently got 680 webs (not including ServerAliases) running off of
Apache 1.3.12 on an UltraSparc 360 with 256MB memory, 2048MB Swap, which is
running Solaris 2.7
Right now, I have to have "MaxClients" set to 150. If I bring the number up
to 500 (or even 200), where I'd like to have it, The system goes out of
control slow, and I have a very hard time even gaining shell access. When I
do get into the machine, almost everything I try (ps, df, top, etc) yeilds
an error similar to: "fork: not enough space".
as soon as I kill apache the issue resolves. If I start apache, the problem
comes back after just a few minutes.
I understand that this is not specifically an Apache problem, and it just so
happens that Apache is what is taking most of the resources, but more of an
Operating System problem... but I'm still looking for help.
My best guess is that the system is not allocating the right amount of
memory to internal processes, but I dont even know how to tell.
using top, I see right now, that the CPU 95.2% idle, 0.4% user, 1.4%
kernel, 3.0% iowait, 0.0% swap
I see the memory: Memory: 256M real, 3808K free, 1036M swap in use, 1136M
server being the servername, This is what I configured with:
Here is an example of what each of the 680 webs has in the config file:
CustomLog logs/virtual/www.domain.com/www.domain.com.20020108.log combined
ScriptAlias /_vti_bin/ /home/server/www2/www.domain.com/web/_vti_bin/
ScriptAlias /cgi-bin/ /home/server/www2/www.domain.com/web/cgi-bin/
- please carbon copy replies to jkister at netreach.net