Apache2 EnableSendfile & Error :: Broken pipe: core_output_filter
Hi everyone,
My name is Jonathan, junior web developer/server admin for my company. Quite inexperienced with Linux problems, I come to seek some help and advice from you. I have installed a LAMP server (Debian Lenny + Apache2 + PHP Version 5.3.1-0.dotdeb.1). On this machine, my web application (PHP + MySQL) exists in 2 flavours: - Dev - Prod In /etc/apache2/sites-available, I have ims & ims-dev, one for each instance. Their contents are identical in terms of settings, except for the paths (dev/prod): Code:
<VirtualHost *:80> Code:
[Wed Mar 03 10:22:50 2010] [info] [client 127.0.0.1] (32)Broken pipe: core_output_filter: writing data to the network Not only is this making the log file growing unnecessarily (which is already bad), but this error doesn't occur in the file error.ims_dev.log of the dev instance. Does anyone know why this difference when the settings are strictly identical? Do I need to add EnableSendfile off in my conf files to stop that? Thank you for your help and answers. Cheers, Jonathan |
Quote:
Turn if off (or at lest change "ExpiresDefault A0" to "ExpiresDefault A3600") and see if it helps Quote:
Regards |
Thanks Bathory for your reply.
I just applied the 2 commands to my conf files: - ExpiresDefault A3600 instead of ExpiresDefault A0 - EnableSendfile off ... and the problem still occurs. So I guess it is something else. |
Doh, change the log level to debug
Code:
LogLevel debug What is the difference in content between prod and dev? |
I just changed the log level to debug.
Please find below the output of the log file: Code:
[Thu Mar 04 11:10:59 2010] [info] [client 127.0.0.1] (32)Broken pipe: core_output_filter: writing data to the network |
Well logs don't say much.
Are you experiencing any timeouts when visiting the site? Also does this happen when you visit the site from another computer or it happens only for localhost (there is only 127.0.0.1 in the logs)? Maybe you can disable memory-mapping along with sendfile for the vhost: Code:
EnableSendfile Off |
I removed the LogLevel Debug to avoid a massive log (ok still small but you never know).
I just added EnableMMAP Off right after EnableSendfile Off. I will see tomorrow what the log says. By the way, I did place those 2 instructions right below FileETag none. Is it a correct place ? Thanks for your help Bathory ! |
Quote:
You didn't answer if you encounter any delays/timeouts? Cheers |
Oups, forgot to answer that question.
No particular delays or timeouts. |
Hi Bathory,
Looking at the logs this morning, I still have the error messages, but as you will notice, the frequency has changed: Code:
[Fri Mar 05 08:41:06 2010] [info] [client 127.0.0.1] (32)Broken pipe: core_output_filter: writing data to the network |
hello. Have you sold the problem?
I have the same thing. I use Fedora 12, apache ver. 2.2.14. But i generate pages with perl, so this problem is not in php+apache. i search through the internet, there are many same problems, but i can`t find the solution. So on this forum this problem is more discussed, than in other places(where we have got 1-2 comments only), and i decide to write here too. Code:
[Sat Mar 13 18:47:47 2010] [info] [client 62.176.11.182] (32)Broken pipe: core_output_filter: writing data to the network |
Hi Simak,
Unfortunately, there isn't anything new regarding my problem. The log still records the same error and I haven't found a way to fix it. |
same here
seams like nobody knows how to fix it |
Hi Stephan,
Any luck since your last post ? I would love to get rid of this error message that makes my error log file grow insane. |
In my case, the problem was in my home router.
If you want to read more - about how i try to solve the problem come here |
All times are GMT -5. The time now is 03:58 PM. |