Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1557 connectés 

  FORUM HardWare.fr
  Réseaux grand public / SoHo
  Hébergement

  Apache2 EnableSendfile & Error :: Broken pipe: core_output_filter

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

Apache2 EnableSendfile & Error :: Broken pipe: core_output_filter

n°451605
john san
Posté le 03-03-2010 à 01:00:46  profilanswer
 

Bonjour tout le monde,
 
J'ai monté un serveur LAMP (Debian Lenny + Apache2 + PHP Version 5.3.1-0.dotdeb.1). Sur ce serveur, j'ai une application web PHP + MySQL qui existe en 2 instances:
- Dev
- Prod
 
Dans /etc/apache2/sites-available, j'ai donc ims & ims-dev pour mes 2 instances. Leurs fichiers de configuration sont identiques en dehors du chemin (dev/prod):

Code :
  1. <VirtualHost *:80>
  2.         ServerAdmin admin@domain.com
  3.         ServerName ims.domain.com
  4.         ServerAlias ims.domain.com
  5.         DocumentRoot /var/www/ims/public_html/prod/
  6.         FileETag none
  7.         # Turn on Expires and set default to 0
  8.         ExpiresActive On
  9.         ExpiresDefault A0
  10.         # Set up caching on files for 1 year (forever?)
  11.         <FilesMatch "\.(jpg|png|jpeg|gif|ico|pdf|js|css)$">
  12.         ExpiresDefault A29030400
  13.         Header append Cache-Control "public"
  14.         </FilesMatch>
  15.         <Location />
  16.                 # Insert filter
  17.                 SetOutputFilter DEFLATE
  18.                 # Netscape 4.x has some problems...
  19.                 BrowserMatch ^Mozilla/4 gzip-only-text/html
  20.                 # Netscape 4.06-4.08 have some more problems
  21.                 BrowserMatch ^Mozilla/4\.0[678] no-gzip
  22.                 # MSIE masquerades as Netscape, but it is fine
  23.                 # BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
  24.                 # NOTE: Due to a bug in mod_setenvif up to Apache 2.0.48
  25.                 # the above regex won't work. You can use the following
  26.                 # workaround to get the desired effect:
  27.                 BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
  28.                 # Don't compress images
  29.                 SetEnvIfNoCase Request_URI \
  30.                 \.(?:gif|jpe?g|png)$ no-gzip dont-vary
  31.                 SetEnvIfNoCase Request_URI \
  32.                     \.(?:exe|t?gz|zip|bz2|sit|rar)$ \
  33.                         no-gzip dont-vary
  34.                 SetEnvIfNoCase Request_URI \.pdf$ no-gzip dont-vary
  35.                 # Make sure proxies don't deliver the wrong content
  36.                 Header append Vary User-Agent env=!dont-vary
  37.         </Location>
  38.         <Directory /var/www/ims/public_html/prod/>
  39.                 Order allow,deny
  40.                 Allow from all
  41.                 php_admin_value open_basedir "/var/www/ims/public_html/prod/:/tmp"
  42.                 php_admin_value error_log "/var/www/ims/public_html/logs/error.php.ims.log"
  43.                 php_admin_value include_path ".;/var/www/ims/public_html/prod/"
  44.         </Directory>
  45.         ErrorLog /var/www/ims/public_html/logs/error.ims.log
  46.         CustomLog /var/www/ims/public_html/logs/access.ims.log combined
  47.         Alias /phpmyadmin /usr/share/phpmyadmin
  48.                 <Directory /usr/share/phpmyadmin>
  49.                         Options Indexes FollowSymLinks
  50.                         DirectoryIndex index.php
  51.                         Order allow,deny
  52.                         Allow from all
  53.                         <Files setup.php>
  54.                                 Order allow,deny
  55.                                 Deny from all
  56.                         </Files>
  57.                 </Directory>
  58. </VirtualHost>


 
Mon problème, c'est que depuis un moment, j'ai cette erreur dans le fichier error.ims.log:

Code :
  1. [Wed Mar 03 10:46:50 2010] [info] [client 127.0.0.1] (32)Broken pipe: core_output_filter: writing data to the network


 
Cette erreur se répète toutes 3 minutes pendant 15 minutes (donc 5 fois), puis 6 minutes plus tard soit la séquence de répétition suivante: 3 - 3 - 3 - 3 - 3 - 6 et ça se répète.
 
Déjà, ça fait gonfler mon fichier log d'erreur (jamais bon), mais aussi, cette erreur n'apparait pas dans le log d'erreur de l'instance de dev error.ims_dev.log.
 
Est ce que quelqu'un a une idée du pourquoi ?
 
Faut-il que je rajoute EnableSendfile off dans mes fichiers de configuration ?
 
Merci pour vos réponses et votre aide.

mood
Publicité
Posté le 03-03-2010 à 01:00:46  profilanswer
 

n°451726
john san
Posté le 03-03-2010 à 23:38:51  profilanswer
 

On m'a recommandé de rajouter mettre ces 2 commandes dans mes fichiers de conf:
 
- ExpiresDefault A3600 au lieu de ExpiresDefault A0
- EnableSendfile off
 
Mais le problème est toujours présent :s

n°451829
john san
Posté le 05-03-2010 à 00:43:10  profilanswer
 

En mettant LogLevel Debug, voilà les traces que j'obtiens:

Code :
  1. [Thu Mar 04 11:10:59 2010] [info] [client 127.0.0.1] (32)Broken pipe: core_output_filter: writing data to the network
  2. [Thu Mar 04 11:16:59 2010] [debug] mod_headers.c(740): headers: ap_headers_output_filter()
  3. [Thu Mar 04 11:16:59 2010] [info] [client 127.0.0.1] (32)Broken pipe: core_output_filter: writing data to the network
  4. [Thu Mar 04 11:19:59 2010] [debug] mod_headers.c(740): headers: ap_headers_output_filter()
  5. [Thu Mar 04 11:19:59 2010] [info] [client 127.0.0.1] (32)Broken pipe: core_output_filter: writing data to the network


 
J'ai également mis EnableMMAP Off, mais ce matin, toujours les mêmes erreurs.
 
P.S.: je constate aucune réponse, est-ce que j'ai mis mon problème dans la bonne section du forum ?


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Réseaux grand public / SoHo
  Hébergement

  Apache2 EnableSendfile & Error :: Broken pipe: core_output_filter

 

Sujets relatifs
Error Hardware sur ma connexion reseau internetIP: internal error
IPS Driver Error avec installation Invision PowerBoard (Résolu)phpBB : Critical Error
Filter NAT Internet Redirection[APACHE2]
Problème apache2 et CGI :/FREE page perso + PHP = HTTP 500 error
[résolu!] 500 Internal Server Error sur mon hébergement: que faire? 
Plus de sujets relatifs à : Apache2 EnableSendfile & Error :: Broken pipe: core_output_filter


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR