Bug 90244 - writing data to the network
Summary: writing data to the network
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: httpd   
(Show other bugs)
Version: 8.0
Hardware: i686 Linux
Target Milestone: ---
Assignee: Joe Orton
QA Contact:
Depends On:
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:
Story Points: ---
Clone Of:
Last Closed: 2003-05-06 08:34:30 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

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

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
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):

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.