Ruedi Schwitter wrote:
>
> Hi there
>
> In my apache-installation (Solaris 2.8, 2G Memory), I have set the
> MaxClient to 150. After a few load-tests, I increase to 250. I have
> seen, that there is an HARD_SERVER_LIMIT set to 256 in the httpd.h.
> If I simulate more than 250 web-users (with grinder), the workload
> decrease and a lot of errors appears.
>
> We have potentially more than 10'000 users, they can use this
> application.At any time, more than 250 users will use the application
> and I will have some problems.
>
> My Question:
> Is there any reason to not increase the SERVER_HARD_LIMIT to 1024 or
> higher ? or
> How can I increase the number of simultanly user in my enviroment.
>
> regards Ruedi
Hi, Ruedi,
My server had a similar limit -- FreeBSD 4.7/4.8 and Apache 1.3 (kept
updated). I had no problem upping the hard server limit to 1024. The
processor is a 1.2 GHz Athlon with 512 MB RAM. Periodic monitoring has
shown well over 200 concurrent connections with no trouble or error.
You may want to use 'top' or a similar utility to monitor processor
activity and memory usage, just for luck. A busy Webserver should _not_
be running a database server as well -- that can eat up CPU capacity
quickly. Put the database (if any) on a separate machine so a different
processor handles database accesses. Also beware of SSI or anything else
done on the server -- the more jobs it has to do, the faster you'll run
out of CPU cycles.
--
Ken Bigelow
Byte-sized education | <a style='text-decoration: underline;' href="http://www.play-hookey.com/" target="_blank">http://www.play-hookey.com/</a>
over the Internet... |<!-- ~MESSAGE_AFTER~ -->