Bug 90244 - writing data to the network
Summary: writing data to the network
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: httpd
Version: 8.0
Hardware: i686
OS: Linux
medium
high
Target Milestone: ---
Assignee: Joe Orton
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-05-05 22:09 UTC by SuperbepS
Modified: 2007-04-18 16:53 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-05-06 08:34:30 UTC
Embargoed:


Attachments (Terms of Use)

Description SuperbepS 2003-05-05 22:09:43 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; it-IT; rv:1.2.1) Gecko/20030409
Debian/1.2.1-9woody2

Description of problem:
About a month ago on a server that handles only a forum (with invision
powerboard) we started to have a lot of error for images that doesn't exist
(misconfiguration of some skin). At the same time apache started to grow up in
memory getting all resources and than slow down the machine, until a service
restart!
the only error that i can find in the logs (debug mode!!!) are:
(104)Connection reset by peer: core_output_filter: writing data to the network
and sometimes (only few):
(32)Broken pipe: core_output_filter: writing data to the network

according to apache docs the first error could be caused by sendfile, but in
apache 2.0.40 there is no way to disable this feature. I tried to disable MMAP
but the problem still persist.
About the fact that not found errors and this problem are related i'm not very
sure but it's a fact that about two weeks ago we reduced drastically the errors
and apache stopped to start  once a day and moved to once a week.

Version-Release number of selected component (if applicable):
httpd-2.0.40-11.3

How reproducible:
Didn't try


Additional info:

Comment 1 Joe Orton 2003-05-06 08:34:30 UTC
The "Connection reset" and "Broken pipe" errors are quite normal for a
production web site - this can happen if e.g. someone hits the "Stop" button
before a page loads. 

If you have a script which is using lots of memory - this is not an httpd bug! 
If you're using PHP make sure the "memory_limit" config option is set in
/etc/php.ini  - this should help prevent memory leaks. 

Comment 2 Milan Kerslager 2003-10-08 06:34:17 UTC
There is a possibility to pass --without-sendfile to ./configure script.
This bug is closed so this is only FYI. Apache 2.0.44 and later has
EnableSendfile On|Off option (you need at least Fedora release).


Note You need to log in before you can comment on or make changes to this bug.