Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

MaxClients

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Apache2 VirtualHosts problems, can not locate rem..  
Author Message
user2383

External


Since: Jul 21, 2003
Posts: 5



(Msg. 1) Posted: Wed Aug 20, 2003 6:50 pm
Post subject: MaxClients
Archived from groups: alt>apache>configuration (more info?)

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 Smile

 >> Stay informed about: MaxClients 
Back to top
Login to vote
ryoko

External


Since: Aug 21, 2003
Posts: 1



(Msg. 2) Posted: Fri Aug 22, 2003 2:02 am
Post subject: Re: MaxClients [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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 Smile

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~ -->

 >> Stay informed about: MaxClients 
Back to top
Login to vote
user2383

External


Since: Jul 21, 2003
Posts: 5



(Msg. 3) Posted: Fri Aug 22, 2003 2:51 pm
Post subject: Re: MaxClients [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi Ken

lot of thanks for Your replay. I will recompile apache with
HARD_SERVER_LIMIT up to 1024.

Regards Ruedi Smile

Ken Bigelow schrieb:

 > 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 Smile
 >
 > 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
 >
<font color=purple> > Byte-sized education | <a style='text-decoration: underline;' href="http://www.play-hookey.com/</font" target="_blank">http://www.play-hookey.com/</font</a>>
 > over the Internet... |<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: MaxClients 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]