Results 1 to 2 of 2
  1. #1

    Apache Configuration

    I have Fedora 15 , Apache 2.2.22 mod_perl 2.0.4 . It has 2 CPUs and 1 GB of memory. I have a perl CGI web application that in the system monitor show 23.9MB in resident memory and 14.3 in Memory. I am trying to maximize the speed of the site. I am using ab as a benchmark test:

    ab -n 500 -c 100 URL

    I have set MaxClients to 50 by the following reasoning:

    1000(1GB of memory) - 230MB(server resting memory) = 770
    770/15(size of the memory used by perl script) = 51

    This results in roughly 2.5 requests/second

    I added another 1GB of memory , changed MaxClients to 100 and expected the requests/second to increase. They did not. They stayed roughly the same. I changed it back to 50 and it stayed roughly the same. I removed the extra memory and changed the number to 20 and the request/second stayed roughly the same.

    I can see that MaxClients affects the number of httpd processes that get spawned, but I am a little dumbfounded that changing the number of MaxClients does not affect the request/second.

    Is ab not a good benchmarking tool?

    Am I incorrect in how MaxClients , the httpd processes and ab work together?

  2. #2
    Join Date
    Mar 2003
    Moved > Hosting Security and Technology .
    Specially 4 You
    JoneSolutions.Com ( Jones.Solutions ) is on the net 24/7 providing stable and reliable web hosting solutions and services since 2001

Similar Threads

  1. Help with Apache Configuration
    By DarkShines in forum Dedicated Server
    Replies: 2
    Last Post: 08-17-2011, 08:10 PM
  2. Apache Configuration
    By khansahib in forum Dedicated Server
    Replies: 1
    Last Post: 05-22-2011, 02:47 PM
  3. Apache 2.2 configuration
    By Insert in forum Hosting Security and Technology
    Replies: 10
    Last Post: 05-13-2011, 02:09 PM
  4. Apache Configuration !
    By ALMGHARI in forum Hosting Security and Technology
    Replies: 5
    Last Post: 03-06-2008, 01:46 AM
  5. About Apache configuration
    By kapot in forum Hosting Security and Technology
    Replies: 3
    Last Post: 10-17-2003, 02:01 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts