Welcome, Guest
Please Login or Register.
Lost Password?
EnableSendfile question (1 viewing)
Post Reply

TOPIC: EnableSendfile question

#13691
velvetpixel (User)
Posts: 154
graphgraph
EnableSendfile question 2008/06/11 17:01  
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?
Virtualmin Pro 3.60, Webmin 1.42, CentOS 5.2
  The administrator has disabled public write access.
#13873
andreychek (User)
Posts: 254
graphgraph
Re:EnableSendfile question 2008/06/15 15:43  
Howdy,

Well, I hadn't run into that before, that's an interesting error ;-)

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
  The administrator has disabled public write access.
#13874
velvetpixel (User)
Posts: 154
graphgraph
Re:EnableSendfile question 2008/06/15 17:09  
Thanks for the input Eric!

I had forgotten about this so I will test it out and see if if breaks anything :)
Virtualmin Pro 3.60, Webmin 1.42, CentOS 5.2
  The administrator has disabled public write access.
Post Reply
get the latest posts directly to your desktop

Talk and Get Help

Support
Forums
Bugs and Issues

Get Virtualmin

OS Support
Buy Online
Download
Copyright 2005-2007 Virtualmin, Inc. All rights reserved.