Apache 2.2 - how to disable "dummy internal connection" requests?

Apache 2.2 - how to disable "dummy internal connection" requests?

am 19.03.2006 23:05:42 von Alexey Polyakov

Hi!
I'm using Apache 2.2, and it makes a lot of "dummy internal
connection" requests. Is there a way to disable this?

--
Alexey Polyakov

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: Apache 2.2 - how to disable "dummy internal connection" requests?

am 19.03.2006 23:36:00 von Joshua Slive

On 3/19/06, Alexey Polyakov wrote:
> Hi!
> I'm using Apache 2.2, and it makes a lot of "dummy internal
> connection" requests. Is there a way to disable this?

Not without changing mpms. But they are there for a good reason and
they do no harm, so why bother? (If this is causing problems for your
log analysis tools, then you have lousy log analysis tools. You can
get rid of them from the logs using the techniques outlined here:
http://httpd.apache.org/docs/2.2/logs.html#conditional

Joshua.

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: Apache 2.2 - how to disable "dummy internal connection" requests?

am 20.03.2006 00:02:54 von Alexey Polyakov

Well, maybe there's a reason, but I think that issuing "GET /"
requests (sometimes a few such requests per second) without thinking
of consequences is an overkill. Maybe it's a way to do some low-level
optimization, but once such request hits some dynamic php-script, we
have a complete waste of resources (not to mention havoc in logs).

Do you know if downgrading Apache to version 2.0 will solve the problem?

On 3/20/06, Joshua Slive wrote:
> On 3/19/06, Alexey Polyakov wrote:
> > Hi!
> > I'm using Apache 2.2, and it makes a lot of "dummy internal
> > connection" requests. Is there a way to disable this?
>
> Not without changing mpms. But they are there for a good reason and
> they do no harm, so why bother? (If this is causing problems for your
> log analysis tools, then you have lousy log analysis tools. You can
> get rid of them from the logs using the techniques outlined here:
> http://httpd.apache.org/docs/2.2/logs.html#conditional
>
> Joshua.
>
> ------------------------------------------------------------ ---------
> The official User-To-User support forum of the Apache HTTP Server Project=
..
> See for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>


--
Alexey Polyakov

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: Apache 2.2 - how to disable "dummy internal connection"requests?

am 21.03.2006 02:22:23 von Robert Ionescu

Alexey Polyakov wrote:
> Well, maybe there's a reason, but I think that issuing "GET /"
> requests (sometimes a few such requests per second) without thinking
> of consequences is an overkill. Maybe it's a way to do some low-level
> optimization, but once such request hits some dynamic php-script, we
> have a complete waste of resources (not to mention havoc in logs).
>
> Do you know if downgrading Apache to version 2.0 will solve the problem?

Changing the MPM from prefork to worker will solve this "problem", too.

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: Apache 2.2 - how to disable "dummy internal connection"requests?

am 21.03.2006 05:32:45 von wrowe

Joshua Slive wrote:
> On 3/19/06, Alexey Polyakov wrote:
>
>>I'm using Apache 2.2, and it makes a lot of "dummy internal
>>connection" requests. Is there a way to disable this?
>
> Not without changing mpms. But they are there for a good reason and
> they do no harm, so why bother? (If this is causing problems for your
> log analysis tools, then you have lousy log analysis tools. You can
> get rid of them from the logs using the techniques outlined here:
> http://httpd.apache.org/docs/2.2/logs.html#conditional

This sounds wrong; the server shouldn't be issuing GET /'s - that sucks.
I'm unfamiliar with what MPM is doing this, and why, but this is why there
are much less expensive operations like OPTIONS * which are far less CPU
and bandwidth intensive.

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: Apache 2.2 - how to disable "dummy internal connection" requests?

am 21.03.2006 21:54:22 von Alexey Polyakov

On 3/21/06, Robert Ionescu wrote:

> Changing the MPM from prefork to worker will solve this "problem", too.

I tried using it, but unfortunately my mod_perl filters do memory
leaks when running in worker MPM. :(

--
Alexey Polyakov

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: Apache 2.2 - how to disable "dummy internal connection"requests?

am 22.03.2006 00:39:40 von Robert Ionescu

William A. Rowe, Jr. wrote:
> I'm unfamiliar with what MPM is doing this,

Every MPM using POD (pipe of death). It's defined in /server/mpm_common.c:

| This function connects to the server, then immediately closes the
| connection.
| This permits the MPM to skip the poll when there is only one listening
| socket, because it provides a alternate way to unblock an accept()
| when the pod is used.

BTW to OP: No, downgrading to 2.0 won't help; the function
dummy_connection exists in the 2.0 branch, too. The only difference is
that it is not logged as "internal dummy connection".
-> http://svn.apache.org/viewcvs.cgi?rev=230808&view=rev

--
Robert

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org