Web Servers General Talk - Apache Worker MPM Directives

This is Interesting: Free IT Magazines  
Home > Archive > Web Servers General Talk > March 2005 > Apache Worker MPM Directives





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Apache Worker MPM Directives
Veda

2005-03-23, 2:53 am

Hi All,
Are there any upper limits for the directives ServerLimit and
ThreadsPerChild in worker MPM ?

When I set the worker MPM directives to the following , I get a
warning message when I stop / start apache.

Changes made to the Directive Settings are :

StartServers 3
MaxClients 2500
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 100
MaxRequestsPerChild 10000
ServerLimit 25
MaxMemFree 2000

Warning Messages I get when I stop / start apache

WARNING: ThreadsPerChild of 100 exceeds ThreadLimit value of 64
threads, lowering ThreadsPerChild to 64. To increase, please see the
ThreadLimit directive.
WARNING: MaxClients (2500) is not an integer multiple
of ThreadsPerChild (64), lowering MaxClients to 2496
for a maximum of 39 child processes,
WARNING: MaxClients of 2496 would require 39 servers,
and would exceed the ServerLimit value of 16.
Automatically lowering MaxClients to 1024. To increase,
please see the ServerLimit directive.
httpd (pid 10050) already running


According to the warning messages upper limit for ServerLimit
directive is 16 and for ThreadsPerChild it is 64 . Is my analysis
correct ? Is there way by which I can increase these values ?

Thanks & Regards,
Vinitha
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com