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 and TCP events | 
 |   
| Author | 
  | 
 
NogNeetMachinaal
 
  
  Joined: 16 Feb 2014 Posts: 9 Location: Netherlands
  | 
 Posted: Wed 14 Dec '16 22:37    Post subject: Apache and TCP events | 
     | 
 
  | 
 
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: 7443 Location: EU, Germany, Next to Hamburg
  | 
 | 
 
| Back to top | 
 | 
 
 
 
 
 | 
 
 
 |  
 
 |  
  |   
 |