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
3 6658 Luuk 1,047
Recognized Expert Top Contributor
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?
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.
If you need so many threads, better have 10-20 apache servers and distribute the load.
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Steven |
last post by:
I actually have two questions:
1. I try to get current time, but the time I got is 1 hour different from my
local time. I assume it is caused by Time Zone. So is there any easy way to
fix this? I assume that I can first get the Time Zone of the server by using
the T option in date, and then using my local Time Zone to calculate the
difference. But I am wondering if there is some buil-in function to do it.
2. I found out this also today...
|
by: kecebong |
last post by:
I installed php-4.3.3, mysql and apache server 2.0.47.
but I can not connect to my apache server from my other computer, i use
static ip for my server, set ip address for server name on httpd.conf,
setup sua server on router. do i miss something here? anyone can help me
to figure it out? thanks.
|
by: Kim Gijung |
last post by:
Hi all,
I'm wondering how the apache server and php interepreter handles
request.
If one request comes to apache server what is next procedure?
if apache server passes the request to php interepreter and php
interepreter handles?
what if 10 requests comes at same time? apache server forks 10 php
interepreter?
or php interepreter makes 10 threads for each request?
|
by: PerryG |
last post by:
We have a .NET 1.1 client which is sending a gzipped soap request using
HttpWebRequest to an Apache server. The Apache server is using a the
'mod_deflate' server to decompress the incoming message, and to also compress
the response (GZIP).
The mod_deflate filter requires the 'Content-Length' header contained within
the incoming request to specify the number of UNCOMPRESSED bytes being sent
and not the actual bytes of the body of the...
|
by: eastcoastguyz |
last post by:
On an Apache server, I want to be able to have a user name/password
directory. I know this can be done with .htaccess, but I want to be
able to do this for multiple users. The purpose of this, is that from
the web page, I want clients to be able to have their own user name and
password, which would grant them access to their own web page which
would contain their client files for them to download.
How can this best be accomplished...
| |
by: Jim Carlock |
last post by:
I have a couple easy questions possibly.
1) Is there a default.php page? The webserver seems to
support default.htm, default.html, index.htm and index.html.
It's an Apache server, I'd like to know if a default.php
exists, or how to set it.
2) I'm getting some some strange results...
My doctype.php file contains:
|
by: kalyan.muppala |
last post by:
Hi all, Presently I have Windows XP Home edition and there's no IIS in
it...Should I install XP Professional to get the IIS or is it fine if I
proceed with Apache..?? Will .NET run on Apache server..?? If Yes,
please tell me the steps..
Thanks.
|
by: dmjpro |
last post by:
i am new to apache server ......
how this is configured .... and how does it work when an web-application is deployed ......
one more thing .... seperate me application server and web server.
can application server can serve as web-server.......
what apache is ... web-server or application server
plz send me a better link ... so that i can firgure out easily the sever side magic scenes .......
|
by: dineshshank |
last post by:
Hello ,
I have installed Apache Server 2.2.4 as instructed by Bugzilla .Why
Apache Server is preferable .And why not Internet Explorer.
And which way Apache can be configured for Bugzilla and how it can be
used effectively.Can anybody help me .
|
by: senadslipac |
last post by:
How to Q: Uncompressing ~400K files on Apache Server
Hello All,
I have ~400K html files on my local XP machine and I’d like to
compress the files, upload them onto my host (apache - pair.com) and
uncompress them there.
I’ve done this with less files (~10K) before – using ssh, putty and
unzip command. I seem not to be able to use the same method as ZIP
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |