Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Apache Max Connections & Bandwidth per Session |
|
Author |
|
rkhoury
Joined: 11 Dec 2015 Posts: 2
|
Posted: Fri 11 Dec '15 14:03 Post subject: Apache Max Connections & Bandwidth per Session |
|
|
Hello,
My environment is the following:
OS: Windows Server 2008 R2 Datacenter SP1 64-bit
RAM: 56 GB
Apache HTTP Server 2.2
I have thousands of users accessing the server and downloading huge files. Although my upload internet bandwidth on the server can go up to 4 Gbps, it is not exceeding 120 Mbps or so.
I'm suspecting that it could be related to the maximum number of allowed connections on Apache or to the maximum allowed bandwidth per session on Apache?
What are the defaults for the above? Should I do any manual changes to boost the bandwidth performance of my server and how?
Thanks,
Raymond |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3094 Location: Hilversum, NL, EU
|
|
Back to top |
|
rkhoury
Joined: 11 Dec 2015 Posts: 2
|
Posted: Fri 11 Dec '15 14:34 Post subject: |
|
|
Hi Steffen,
Can you please tell me how I can set Keep Alive to OFF and how I can set AcceptFiler http to NONE?
Thanks,
Raymond |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3094 Location: Hilversum, NL, EU
|
Posted: Fri 11 Dec '15 14:56 Post subject: |
|
|
I thought you should understood with my reply that for 2.2 the Acceptfilter Directive is Win32DisableAcceptEx instead of AcceptFiler http none
So in your httpd.conf:
Win32DisableAcceptEx
EnableSendfile Off
EnableMMAP off
In httpd-default.conf set KeepAlive Off (be sure in httpd.conf the line Include conf/extra/httpd-default.conf is un-commented)
Better to upgrade to 2.4.x, 2.2 is in principal end of live for quite some time. |
|
Back to top |
|
|
|
|
|
|