LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 09-29-2008, 08:32 PM   #1
slozzy
Member
 
Registered: Mar 2008
Location: Edmonton
Distribution: Centos 5.2
Posts: 30

Rep: Reputation: 15
Exclamation broken pipe/connection reset by peer - error writing data to the network


Thank you anyone who has time to look at this problem with me. That is the message in the apache error log file that I can't seem to fix. After googling some, I have set:

Code:
EnableMMAP Off
and

Code:
EnableSendfile Off
The same error messages keep happening though. They seem to be happening less, and at least the website is working again. Before I turned those settings off, the website wouldn't display an entire page, images were messed up and not loading. It's a virtual CentOS 5.2 server running in ESX, with Apache 2.2.3, php 5.2.6, and mysql 5.0.45.

The IT guy where the server is, says he checked the logs for the cisco firewall and thinks their firewall is detecting a dos attack, whenever someone visits the website (?). It's the same firewall they've had for years, and we're talking about port 80 here.

Unrelated, but perhaps pertininent, what I did when they gave me this virtual server to install the website on was just that, install the website. But when it was time to go live I'm like, oh dangit, we gotta 7GB system drive thats full!! So he gave me 100 more virtual GBs to install, which I parted up into /var/log /var/www /var/database and /usr. I hope that isn't going to screw anything up, shouldn't, it's been running fine for a couple weeks. All this started this morning.

[Mon Sep 29 19:02:40 2008] [info] [client x.2.3.219] (104)Connection reset by peer: core_output_filter: writing data to the network
[Mon Sep 29 19:11:37 2008] [info] [client x.2.3.219] (104)Connection reset by peer: core_output_filter: writing data to the network

Googling for the error message gives mostly the same results: check the apache FAQ. Change the above settings. I've been through the first few pages of google results and am going deeper. If anyone has ideas they are welcomed and appreciated!
 
Old 09-30-2008, 12:34 PM   #2
slozzy
Member
 
Registered: Mar 2008
Location: Edmonton
Distribution: Centos 5.2
Posts: 30

Original Poster
Rep: Reputation: 15
This problem is still happening. Unfortunately it is #1 on the Apache FAQ but the suggested workarounds do not work. It has to be a common everyday thing. Can this be happening because of the firewall? Is the firewall closing the connection to the client prematurely?

Lots of people asking this question on the internet but only the one answer provided anywhere, change EnableSendfile and EnableMMAP. Other people asking the question don't get responses and no one ever reports back to say what worked!

Come on linuxquestions.org, let's publish an answer to this and make it front and centre for anyone else who ever has this problem and searches google!
 
Old 10-04-2008, 11:03 AM   #3
slozzy
Member
 
Registered: Mar 2008
Location: Edmonton
Distribution: Centos 5.2
Posts: 30

Original Poster
Rep: Reputation: 15
still happens :(

Unfortunately this is still happening and I have no idea why. Can anybody offer any clues?

[Fri Oct 03 12:10:16 2008] [info] [client x.128.157.245] (104)Connection reset by peer: core_output_filter: writing data to the network
[Fri Oct 03 12:17:38 2008] [info] [client x.45.83.97] (32)Broken pipe: core_output_filter: writing data to the network
[Fri Oct 03 12:49:21 2008] [info] [client x.244.164.61] (104)Connection reset by peer: core_output_filter: writing data to the network
[Fri Oct 03 12:51:54 2008] [info] [client x.244.164.61] (104)Connection reset by peer: core_output_filter: writing data to the network
[Fri Oct 03 12:52:13 2008] [info] [client x.7.128.34] (104)Connection reset by peer: core_output_filter: writing data to the network
[Fri Oct 03 14:37:06 2008] [info] [client x.244.32.28] (104)Connection reset by peer: core_output_filter: writing data to the network
[Fri Oct 03 14:47:26 2008] [info] [client x.161.51.2] (32)Broken pipe: core_output_filter: writing data to the network
[Fri Oct 03 15:09:02 2008] [info] [client x.159.247.120] (104)Connection reset by peer: core_output_filter: writing data to the network
[Fri Oct 03 15:46:09 2008] [info] [client x.128.49.182] (32)Broken pipe: core_output_filter: writing data to the network
[Fri Oct 03 18:07:53 2008] [info] [client x.55.110.29] (104)Connection reset by peer: core_output_filter: writing data to the network
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ERROR reading from socket: Connection reset by peer sweetytweety Linux - Newbie 3 05-16-2008 05:21 AM
FreeNX help. When I try to connect I get error msg (connection reset by peer) MegaSvensk Linux - Software 1 10-18-2007 02:09 PM
welcome response error + connection reset by peer rnj Linux - Software 0 10-20-2004 10:04 AM
Network error: Connection reset by peer jeffpoulsen Linux - Networking 0 10-09-2003 06:31 PM
Network Error: Connection Reset by Peer Bob Welch Linux - Networking 3 12-09-2002 01:07 PM


All times are GMT -5. The time now is 05:00 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration