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 :
- <VirtualHost *:80>
- ServerAdmin admin@domain.com
- ServerName ims.domain.com
- ServerAlias ims.domain.com
- DocumentRoot /var/www/ims/public_html/prod/
- FileETag none
- # Turn on Expires and set default to 0
- ExpiresActive On
- ExpiresDefault A0
- # Set up caching on files for 1 year (forever?)
- <FilesMatch "\.(jpg|png|jpeg|gif|ico|pdf|js|css)$">
- ExpiresDefault A29030400
- Header append Cache-Control "public"
- </FilesMatch>
- <Location />
- # Insert filter
- SetOutputFilter DEFLATE
- # Netscape 4.x has some problems...
- BrowserMatch ^Mozilla/4 gzip-only-text/html
- # Netscape 4.06-4.08 have some more problems
- BrowserMatch ^Mozilla/4\.0[678] no-gzip
- # MSIE masquerades as Netscape, but it is fine
- # BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
- # NOTE: Due to a bug in mod_setenvif up to Apache 2.0.48
- # the above regex won't work. You can use the following
- # workaround to get the desired effect:
- BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
- # Don't compress images
- SetEnvIfNoCase Request_URI \
- \.(?:gif|jpe?g|png)$ no-gzip dont-vary
- SetEnvIfNoCase Request_URI \
- \.(?:exe|t?gz|zip|bz2|sit|rar)$ \
- no-gzip dont-vary
- SetEnvIfNoCase Request_URI \.pdf$ no-gzip dont-vary
- # Make sure proxies don't deliver the wrong content
- Header append Vary User-Agent env=!dont-vary
- </Location>
- <Directory /var/www/ims/public_html/prod/>
- Order allow,deny
- Allow from all
- php_admin_value open_basedir "/var/www/ims/public_html/prod/:/tmp"
- php_admin_value error_log "/var/www/ims/public_html/logs/error.php.ims.log"
- php_admin_value include_path ".;/var/www/ims/public_html/prod/"
- </Directory>
- ErrorLog /var/www/ims/public_html/logs/error.ims.log
- CustomLog /var/www/ims/public_html/logs/access.ims.log combined
- Alias /phpmyadmin /usr/share/phpmyadmin
- <Directory /usr/share/phpmyadmin>
- Options Indexes FollowSymLinks
- DirectoryIndex index.php
- Order allow,deny
- Allow from all
- <Files setup.php>
- Order allow,deny
- Deny from all
- </Files>
- </Directory>
- </VirtualHost>
|
Mon problème, c'est que depuis un moment, j'ai cette erreur dans le fichier error.ims.log:
Code :
- [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.