Is there any limitation for mac clients in apache server?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • SMohammad
    New Member
    • Nov 2012
    • 1

    Is there any limitation for mac clients in apache server?

    Hello
    I want to know is there any limit for maxclients? We have set
    maxClient to 6000 but when the number of threads goes beyond 2000, even though the server has 4 GB free RAM and cpu usage is below 50%, the apache server slows considerably. I want to know the reason of this behavior, Can any one help me? Is this relates to OS?our server os is Suse 11.
    Thanks
  • Luuk
    Recognized Expert Top Contributor
    • Mar 2012
    • 1043

    #2
    There is also bandwith to consider

    How did find out this?:
    "the apache server slows considerably"

    Do you serve simple HTML-pages? or are there also PHP-pages?

    Why does the threads go to 2000? Is it because requests take so long? or because you have that many simulatanous requests?

    Comment

    • Jennypliskin
      New Member
      • Sep 2013
      • 30

      #3
      Apache comes with 40-100 max threads. It can be increased to allow more threads to be handled at the same time.

      The application should be monitored before making any changes to it. Based on the response, try to change "ThreadsPerChil d" and "AcceptThre ads" accordingly.

      The default amount of "maximum" number of threads is usually enough; however, there can be conditions where this number may have to be increased. The threads usage can be monitored. To monitor, start the Administrative instance, select the HTTP server in question, and select Real Time Server Statistics at the bottom left.

      If Idle Threads is close to or at zero, this is a problem. As long as Idle Threads is zero, no new client connections can be established. New clients will be put into a wait status until a thread becomes available. Our recommendation for this condition is to add the directive ThreadsPerChild with an increased value, approximately double the current value if it was in the range of 40 to 100, or plus 50, if it was above 100. The required minimum value (for the maximum parameter) can only be found by trial and error. If after increasing the value, the server runs smoothly, stop testing.

      Comment

      • invention
        New Member
        • Jun 2014
        • 10

        #4
        If you need so many threads, better have 10-20 apache servers and distribute the load.

        Comment

        Working...