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: Http(s) connections Win32DisableAcceptEx / AcceptFilter |
|
Author |
|
gdprogrammer59
Joined: 06 Dec 2011 Posts: 16 Location: Ellenton, FL
|
Posted: Thu 08 Mar '12 2:08 Post subject: Http(s) connections Win32DisableAcceptEx / AcceptFilter |
|
|
I have been chasing my tail for months. Somehow I missed the Win32DisableAcceptEx for https connections. So I want to thank you for this forum and the information that it has provided me in getting Apache to run nicely. I have commented back out the EnableSendfile Off and EnableMMAP off and Apache has been running fine.
From what I have read it appears that the Win32DisableAcceptEx / AcceptFiler http none are done to get around "broken NIC drivers". Did I misread or is that the case?
My questions regarding configuring Apache as outlined would be:
- Are there any NIC cards that don't have "broken" drivers that I could use?
- What performance penalties are there (or what else is affected) by using AcceptFilter http none (if any)?
- What performance penalties are there by turning off EnableSendfile and EnableMMAP?
Thank you! |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Thu 08 Mar '12 7:10 Post subject: |
|
|
gdprogrammer59 wrote: | - Are there any NIC cards that don't have "broken" drivers that I could use? |
This is a loaded question. The one dev at the ASF thinks these drivers are "broken," the problem is, most drivers these days are certified by MS. How can they then be considered "broken" is what has some of us scratching our heads.
As far as performance, benchmark the thing and find out. Many of us here have been using these directives for years. I have noticed no hit on performance. I consider having the server stop responding after N minutes/hours/days to be more of a performance issue that I have seen with Win32DisableAcceptEx or AcceptFilter http none.
On Windows, many people find they get better performance by turning off EnableSendfile and EnableMMAP, in speed on the other end of the pipe. Different people have different results, you will just have to benchmark your server to find out. Transfer a huge file with and without these disabled and see. |
|
Back to top |
|
Aaron44126
Joined: 22 Jun 2011 Posts: 7
|
Posted: Fri 23 Mar '12 19:14 Post subject: |
|
|
Hi all, I recently upgraded to Apache 2.4.1 from 2.2.22 and I ran into this issue --- the web server stopped responding after some time, even though it looked like it was still running. I enabled mod_status and I can still visit the status page when the rest of the server goes dead. My sites are run by PHP.
I'm trying the fix here, we'll see if it takes care of the problem. I was wondering if someone could clarify what "AcceptFilter http none" actually does. Also, I do use SSL/https, do I have to worry about anything else?
[Edit]
Found a number of posts discussing AcceptFilter and an issue with HTTPS. I'm still looking into it but if it turns out to be a problem I might sit on Apache 2.2.x until this is worked out. |
|
Back to top |
|
|
|
|
|
|