Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 06-14-2008, 04:05 AM   #1
LQ Newbie
Registered: May 2008
Posts: 7

Rep: Reputation: 0
how many MaxClients should i give?

i am a new lamp user. my linux os is ubuntu 7.10 and my configure is 7.5 GB of memory, 64-bit platform.
in my apache conf file
<IfModule mpm_prefork_module>
StartServers 5
MinSpareServers 5
MaxSpareServers 10
MaxClients 150
MaxRequestsPerChild 0

<IfModule mpm_worker_module>
StartServers 2
MaxClients 350
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 5000

i have couple of apps in hi5,myspace and fb. these apps are getting lot of hits. so in pic hour my apache server give time out. after lot of search in google i changed the "mpm_worker_module" still i am having this issue. how can i solve this time out. should increase my ram? or increase my MaxClients in mpm_prefork_module?
Old 06-14-2008, 11:17 PM   #2
Senior Member
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
It's impossible to say unless you monitor the system load to determine where the restriction is. Is it in the incoming/outgoing data bandwidth, your system memory, the number of Apache threads, or what.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
MaxClients setting lavinya Linux - Server 2 01-04-2008 02:08 PM
Apache MaxClients mphllps Linux - Software 2 03-13-2006 08:46 AM
apache , MaxClients, and Dos abulmagd Linux - Networking 1 02-02-2006 11:08 AM
Apache MaxClients Issue SiLiCoN *BSD 6 12-08-2005 01:14 PM
apache maxclients exceed abefroman Mandriva 0 04-23-2004 03:06 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:26 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration