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 and TCP events
Author
NogNeetMachinaal



Joined: 16 Feb 2014
Posts: 9
Location: Netherlands

PostPosted: Wed 14 Dec '16 22:37    Post subject: Apache and TCP events Reply with quote

Hi Team,

Customer has a Java (fat) client type of app running on IOS and Android.
The server site is Apache with PHP. This app is about streaming audio, MP3 files.

After some config changes on the Apache config, the following network behavior is noticed:
- Amount of TCP connect requests are reduced with 66% (including FIN and END)
- Amount of TCP connection resets doubles
- Amount of TCP 0-win size is more or less equal
Connection resets and 0-win sizes where mostly seen on the client site; this is before and after the config change.

Customer made the config changes in http.conf:
EnableMMAP On
EnableSendfile On
KeepAlive On
KeepAliveTimeout 15
MaxKeepAliveRequests 10

The DocumentRoot is pointing to a local, DAS volume.
Audio files are retrieved from an SMB share based on a UNC.

The results are as expected when looking at the amount of connection requests; including FIN and END. However, I’m not sure about the connection resets.
Anyone an idea about an explanation for this one?


Thanks - Will
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7298
Location: Germany, Next to Hamburg

PostPosted: Sat 01 Apr '17 15:13    Post subject: Reply with quote

Hi Will,

EnableSendfile makes trouble with network shares.

See
http://httpd.apache.org/docs/2.4/mod/core.html#EnableSendfile
Back to top


Reply to topic   Topic: Apache and TCP events View previous topic :: View next topic
Post new topic   Forum Index -> Apache