Apache 2.4 timeout not working for idle connections?Apache Timeout directive not working?Apache 2.4 Proxy...
Why Shazam when there is already Superman?
How can ping know if my host is down
Is there any evidence that Cleopatra and Caesarion considered fleeing to India to escape the Romans?
How many arrows is an archer expected to fire by the end of the Tyranny of Dragons pair of adventures?
Delete multiple columns using awk or sed
Shouldn’t conservatives embrace universal basic income?
Does "he squandered his car on drink" sound natural?
I found an audio circuit and I built it just fine, but I find it a bit too quiet. How do I amplify the output so that it is a bit louder?
Why is the "ls" command showing permissions of files in a FAT32 partition?
Pre-mixing cryogenic fuels and using only one fuel tank
Strong empirical falsification of quantum mechanics based on vacuum energy density?
Why do Radio Buttons not fill the entire outer circle?
What is going on with gets(stdin) on the site coderbyte?
Mimic lecturing on blackboard, facing audience
What kind of floor tile is this?
The IT department bottlenecks progress, how should I handle this?
How to get directions in deep space?
How do I fix the group tension caused by my character stealing and possibly killing without provocation?
Will number of steps recorded on FitBit/any fitness tracker add up distance in PokemonGo?
What's the name of the logical fallacy where a debater extends a statement far beyond the original statement to make it true?
Doesn't the system of the Supreme Court oppose justice?
Does the reader need to like the PoV character?
Which was the first story featuring espers?
The Digit Triangles
Apache 2.4 timeout not working for idle connections?
Apache Timeout directive not working?Apache 2.4 Proxy Connect - connection resetApache 2.4 with PHP 5.5, LDAP in PHP not workingApache 2.4: after upgrading from 2.2, password-secured folders are no longer secured and I can't figure out how to make it somod_security not working at allCan't connect to server running apache over port 80Installing mod_security for Apache 2.4Apache 2.4 replacement for mod_auth_shadow?Apache 2.4 set ProxyTimeout only for ONE URLCentOS 7 / Apache 2.4 ServerAlias strange behavior
I have to lower the Apache Timeout value. I tried to make it 3 or 5. I opened a telnet connection to my Apache and left it with no data, it's always ~30sec + Apache Timeout.
I tested this configuration in Apache 2.2 and it works right (3 sec and the connection is closed automatically).
I tried to make an Apache 2.4 fresh install in a VPS, with no CGI and the less enabled modules I can with no success.
These are the modules I have: authz_core.load authz_user.load headers.load mpm_prefork.conf mpm_prefork.load
But, if you open the connection and send something (like the first line of the request) it runs fine and then Timeout apply successfully
Any Ideas?
Thanks
apache-2.4 timeout web request
bumped to the homepage by Community♦ 2 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I have to lower the Apache Timeout value. I tried to make it 3 or 5. I opened a telnet connection to my Apache and left it with no data, it's always ~30sec + Apache Timeout.
I tested this configuration in Apache 2.2 and it works right (3 sec and the connection is closed automatically).
I tried to make an Apache 2.4 fresh install in a VPS, with no CGI and the less enabled modules I can with no success.
These are the modules I have: authz_core.load authz_user.load headers.load mpm_prefork.conf mpm_prefork.load
But, if you open the connection and send something (like the first line of the request) it runs fine and then Timeout apply successfully
Any Ideas?
Thanks
apache-2.4 timeout web request
bumped to the homepage by Community♦ 2 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I have to lower the Apache Timeout value. I tried to make it 3 or 5. I opened a telnet connection to my Apache and left it with no data, it's always ~30sec + Apache Timeout.
I tested this configuration in Apache 2.2 and it works right (3 sec and the connection is closed automatically).
I tried to make an Apache 2.4 fresh install in a VPS, with no CGI and the less enabled modules I can with no success.
These are the modules I have: authz_core.load authz_user.load headers.load mpm_prefork.conf mpm_prefork.load
But, if you open the connection and send something (like the first line of the request) it runs fine and then Timeout apply successfully
Any Ideas?
Thanks
apache-2.4 timeout web request
I have to lower the Apache Timeout value. I tried to make it 3 or 5. I opened a telnet connection to my Apache and left it with no data, it's always ~30sec + Apache Timeout.
I tested this configuration in Apache 2.2 and it works right (3 sec and the connection is closed automatically).
I tried to make an Apache 2.4 fresh install in a VPS, with no CGI and the less enabled modules I can with no success.
These are the modules I have: authz_core.load authz_user.load headers.load mpm_prefork.conf mpm_prefork.load
But, if you open the connection and send something (like the first line of the request) it runs fine and then Timeout apply successfully
Any Ideas?
Thanks
apache-2.4 timeout web request
apache-2.4 timeout web request
asked Mar 7 '16 at 15:27
gfmgfm
12
12
bumped to the homepage by Community♦ 2 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 2 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
This was the AcceptFilter configuration (new in 2.4). It defaults to "data" where Linux kernel doesn't tell Apache anything about the connection until there is some data on it.
To "solve" this just add into apache2.conf:
AcceptFilter http none
or even
AcceptFilter https none
So connections are passed directly to Apache. But there's no need to do this as connections are not being handled by Apache yet.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "2"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f762111%2fapache-2-4-timeout-not-working-for-idle-connections%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
This was the AcceptFilter configuration (new in 2.4). It defaults to "data" where Linux kernel doesn't tell Apache anything about the connection until there is some data on it.
To "solve" this just add into apache2.conf:
AcceptFilter http none
or even
AcceptFilter https none
So connections are passed directly to Apache. But there's no need to do this as connections are not being handled by Apache yet.
add a comment |
This was the AcceptFilter configuration (new in 2.4). It defaults to "data" where Linux kernel doesn't tell Apache anything about the connection until there is some data on it.
To "solve" this just add into apache2.conf:
AcceptFilter http none
or even
AcceptFilter https none
So connections are passed directly to Apache. But there's no need to do this as connections are not being handled by Apache yet.
add a comment |
This was the AcceptFilter configuration (new in 2.4). It defaults to "data" where Linux kernel doesn't tell Apache anything about the connection until there is some data on it.
To "solve" this just add into apache2.conf:
AcceptFilter http none
or even
AcceptFilter https none
So connections are passed directly to Apache. But there's no need to do this as connections are not being handled by Apache yet.
This was the AcceptFilter configuration (new in 2.4). It defaults to "data" where Linux kernel doesn't tell Apache anything about the connection until there is some data on it.
To "solve" this just add into apache2.conf:
AcceptFilter http none
or even
AcceptFilter https none
So connections are passed directly to Apache. But there's no need to do this as connections are not being handled by Apache yet.
answered Mar 8 '16 at 16:23
gfmgfm
12
12
add a comment |
add a comment |
Thanks for contributing an answer to Server Fault!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f762111%2fapache-2-4-timeout-not-working-for-idle-connections%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown