473,883 Members | 2,819 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Is there any limitation for mac clients in apache server?

1 New Member
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.
Nov 18 '12 #1
3 6673
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?
Dec 30 '12 #2
30 New Member
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.
Jun 13 '14 #3
10 New Member
If you need so many threads, better have 10-20 apache servers and distribute the load.
Jun 20 '14 #4

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: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.