logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

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.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Apache Max Connections & Bandwidth per Session
Author
rkhoury



Joined: 11 Dec 2015
Posts: 2

PostPosted: Fri 11 Dec '15 14:03    Post subject: Apache Max Connections & Bandwidth per Session Reply with quote

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

PostPosted: Fri 11 Dec '15 14:24    Post subject: Reply with quote

See https://www.apachelounge.com/viewtopic.php?p=32375#32375

Maybe it helps.

You have 2.2 and use :

Win32DisableAcceptEx
EnableSendfile Off
EnableMMAP off
Back to top
rkhoury



Joined: 11 Dec 2015
Posts: 2

PostPosted: Fri 11 Dec '15 14:34    Post subject: Reply with quote

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

PostPosted: Fri 11 Dec '15 14:56    Post subject: Reply with quote

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


Reply to topic   Topic: Apache Max Connections & Bandwidth per Session View previous topic :: View next topic
Post new topic   Forum Index -> Apache