EnableSendfile question

I am seeing logs apache like this for my domain that my hostname is under:

[Mon Jun 09 12:28:24 2008] [info] [client 192.189.192.247] (32)Broken pipe: core_output_filter: writing data to the network
[Tue Jun 10 02:50:44 2008] [info] [client 207.5.100.27] (104)Connection reset by peer: core_output_filter: writing data to the network
[Tue Jun 10 03:38:33 2008] [info] [client 207.5.100.27] (104)Connection reset by peer: core_output_filter: writing data to the network
[Tue Jun 10 08:43:38 2008] [info] [client 71.59.254.186] (32)Broken pipe: core_output_filter: writing data to the network
[Tue Jun 10 13:31:45 2008] [info] [client 200.170.119.212] (104)Connection reset by peer: core_output_filter: writing data to the network

There is no real public content at that domain except for a place holder page.

Should I change in httpd.conf these settings to:
EnableMMAP off
EnableSendfile off

to stop the errors or are the errors showing me that the system is stopping someone from trying to do something bad?

Howdy,

Well, I hadn’t run into that before, that’s an interesting error :wink:

It looks like you saw this too, but for the sake of anyone reading this later, the error is described here:

http://httpd.apache.org/docs/2.0/faq/error.html

If you go by that, it sounds pretty cut and dry that you should disable MMAP and Sendfile as you suggested.

OTOH, this link suggests it could be from a misconfigured Apache directive:

http://www.howtoforge.com/forums/showthread.php?t=14125

So my gut feeling on it is that you should verify the directives for the Virtual Server in question … and if you don’t see anything out of place or incorrect, it seems fairly safe to disable those options.

Good luck!
-Eric

Thanks for the input Eric!

I had forgotten about this so I will test it out and see if if breaks anything :slight_smile: