Formation Google AnalyticsSavez-vous bien utiliser les outils de mesure d'audience ?
Effectuez-vous un calcul de ROI (Retour sur investissement) pour savoir comment améliorer vos campagnes emarketing ?
Savez-vous utiliser les bons outils pour booster votre taux de transformation ?
La formation Web Analytics de Ranking Metrics, présentée par un expert reconnu officiellement par Google Analytics, vous apportera les réponses à toutes vos questions !
===> Informations et inscriptions.

Premature end of script headers

Poster un nouveau sujet Imprimer cette discussion    Forum -> Administration d'un site Web   Les dernières discussions de ce forum sont disponibles au format RSS
Voir le sujet précédent :: Voir le sujet suivant  
Auteur Message
 
Amibien
WRInaute occasionnel
WRInaute occasionnel

Inscrit le: 18 Mar 2005
Messages: 174

URL permanente de ce messagePosté le : Lun Juin 04, 2007 16:17    Sujet du message: Premature end of script headers

Bonjour à tous,

Depuis très longtemps j'ai des problèmes sur un serveur dédié qui plante régulièrement.

J'ai regardé le fichier error_log de mon serveur apache et je remarque qu'une minute avant chaque plantage, j'ai des messages d'erreur de ce type :
Citation:

[Fri Jun 01 15:08:23 2007] [error] [client 86.219.165.49] Premature end of script headers: annonces.php, referer: http://www.google.fr/search?q=annonces+massages&revid=133316241&sa=X&...
[Fri Jun 01 15:09:28 2007] [error] [client 194.206.185.81] Premature end of script headers: user.php, referer: http://www.google.fr/search?hl=fr&safe=strict&q=la+fiche+d+identite+du+c...
[Fri Jun 01 15:10:29 2007] [error] [client 83.192.20.48] Premature end of script headers: infos.php, referer: http://www.google.fr/search?hl=fr&sa=X&oi=spell&resnum=0&ct=resu...
[Fri Jun 01 15:11:05 2007] [error] [client 83.192.20.48] Premature end of script headers: infos.php, referer: http://www.google.fr/search?hl=fr&sa=X&oi=spell&resnum=0&ct=resu...
[Fri Jun 01 15:11:26 2007] [error] [client 194.206.185.81] Premature end of script headers: user.php, referer: http://www.google.fr/search?hl=fr&safe=strict&q=la+fiche+d+identite+du+c...
[Fri Jun 01 15:11:34 2007] [error] [client 194.206.185.81] Premature end of script headers: user.php, referer: http://www.google.fr/search?hl=fr&safe=strict&q=la+fiche+d+identite+du+c...
[Fri Jun 01 15:11:40 2007] [error] [client 194.206.185.81] Premature end of script headers: user.php, referer: http://www.google.fr/search?hl=fr&safe=strict&q=la+fiche+d+identite+du+c...
[Fri Jun 01 15:12:14 2007] [error] [client 81.255.95.131] Premature end of script headers: user.php, referer: http://www.google.com/search?sourceid=navclient&hl=fr&ie=UTF-8&rlz=1...
[Fri Jun 01 15:12:50 2007] [error] [client 194.206.185.81] Premature end of script headers: user.php, referer: http://www.google.fr/search?hl=fr&safe=strict&q=la+fiche+d+identite+du+c...
[Fri Jun 01 15:13:16 2007] [error] [client 83.192.20.48] Premature end of script headers: infos.php, referer: http://www.google.fr/search?hl=fr&sa=X&oi=spell&resnum=0&ct=resu...
[Fri Jun 01 15:15:15 2007] [error] [client 194.206.185.81] Premature end of script headers: user.php, referer: http://www.google.fr/search?hl=fr&safe=strict&q=la+fiche+d+identite+du+c...


[Sun Jun 03 13:12:30 2007] [error] [client 90.27.162.228] Premature end of script headers: annonces.php, referer: http://www.google.fr/search?q=netoyage+int+voiture&hl=fr&start=0&sa=...


J'ai ensuite regardé le fichier access_log d'apache et par exemple dans le cas de la dernière erreur Premature end of script headers, j'obtiens ces logs :
Citation:
83.199.149.169 - - [03/Jun/2007:13:08:48 +0200] "GET /images/pub/OSAPI_ban88x31.gif HTTP/1.1" 304 - "http://www.missive.info/contact.php?geo=FR&p=2" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; Media Center PC 4.0)"
89.83.106.133 - - [03/Jun/2007:13:08:49 +0200] "GET /images/pub/OSAPI_ban88x31.gif HTTP/1.1" 304 - "http://www.missive.info/adlist.php?geo=FR&rub=8080&vil=42" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
83.199.75.249 - - [03/Jun/2007:13:08:48 +0200] "GET /images/pub/OSAPI_ban88x31.gif HTTP/1.1" 200 2380 "http://www.missive.info/contact.php?geo=FR&p=2" "Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4"
81.65.178.38 - - [03/Jun/2007:13:08:11 +0200] "GET /images/pub/OSAPI_ban88x31.gif HTTP/1.1" 304 - "http://www.missive.info/list/FR/8075/2" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)"
83.199.75.249 - - [03/Jun/2007:13:08:05 +0200] "GET /images/pub/OSAPI_ban88x31.gif HTTP/1.1" 200 2380 "http://www.missive.info/" "Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4"
82.124.174.48 - - [03/Jun/2007:13:09:40 +0200] "GET /images/pub/OSAPI_ban88x31.gif HTTP/1.1" 304 - "http://www.missive.info/list/FR/8030/2" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)"
86.72.249.170 - - [03/Jun/2007:13:09:40 +0200] "GET /images/pub/OSAPI_ban88x31.gif HTTP/1.1" 304 - "http://www.missive.info/add.php?quoi=region&pays=FR&rubrique=8250" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322)"
82.65.64.127 - - [03/Jun/2007:13:09:40 +0200] "GET /images/pub/OSAPI_ban88x31.gif HTTP/1.1" 304 - "http://www.missive.info/XX0875/751527.shtml" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)"
90.31.189.245 - - [03/Jun/2007:13:09:47 +0200] "GET /images/pub/OSAPI_ban88x31.gif HTTP/1.1" 304 - "http://www.missive.info/contact.php?geo=FR&p=2" "Mozilla/4.0 (compatible; MSIE 6.0; Windows 9Cool"
90.31.189.245 - - [03/Jun/2007:13:08:37 +0200] "GET /images/pub/OSAPI_ban88x31.gif HTTP/1.1" 304 - "http://www.missive.info/" "Mozilla/4.0 (compatible; MSIE 6.0; Windows 9Cool"
84.252.140.138 - - [03/Jun/2007:13:09:47 +0200] "GET /images/pub/OSAPI_ban88x31.gif HTTP/1.0" 200 2380 "http://www.osapi.fr/" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; MRA 4.6 (build 01425); Wanadoo 6.2)"
90.9.170.187 - - [03/Jun/2007:13:11:01 +0200] "GET /images/pub/OSAPI_ban88x31.gif HTTP/1.1" 304 - "http://www.missive.info/contact.php?geo=FR&p=2" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)"
89.83.106.133 - - [03/Jun/2007:13:10:37 +0200] "GET /images/pub/OSAPI_ban88x31.gif HTTP/1.1" 304 - "http://www.missive.info/list/FR/8080/2" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
90.8.169.205 - - [03/Jun/2007:13:10:31 +0200] "GET /images/pub/OSAPI_ban88x31.gif HTTP/1.1" 304 - "http://www.missive.info/adlist.php?geo=FR&rub=8080&vil=66" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Wanadoo 6.2; .NET CLR 1.1.4322)"
89.83.106.133 - - [03/Jun/2007:13:10:11 +0200] "GET /images/pub/OSAPI_ban88x31.gif HTTP/1.1" 304 - "http://www.missive.info/contact.php?geo=FR&p=2" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
83.199.216.173 - - [03/Jun/2007:13:11:16 +0200] "GET /images/pub/OSAPI_ban88x31.gif HTTP/1.0" 304 - "http://www.missive.info/adlist.php?rub=8220&geo=FR&deb=40&p=2&vil=" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)"
89.83.106.133 - - [03/Jun/2007:13:11:38 +0200] "GET /images/pub/OSAPI_ban88x31.gif HTTP/1.1" 304 - "http://www.missive.info/contact.php?geo=FR&p=2" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
82.65.64.127 - - [03/Jun/2007:13:12:27 +0200] "GET /images/pub/OSAPI_ban88x31.gif HTTP/1.1" 304 - "http://www.missive.info/list/FR/0870/2" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)"
90.8.169.205 - - [03/Jun/2007:13:12:12 +0200] "GET /images/pub/OSAPI_ban88x31.gif HTTP/1.1" 304 - "http://www.missive.info/adlist.php?geo=FR&rub=8080&vil=69" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Wanadoo 6.2; .NET CLR 1.1.4322)"
90.9.170.187 - - [03/Jun/2007:13:12:16 +0200] "GET /images/pub/OSAPI_ban88x31.gif HTTP/1.1" 304 - "http://www.missive.info/list/FR/8220/2" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)"
83.199.149.169 - - [03/Jun/2007:13:09:45 +0200] "GET /images/pub/OSAPI_ban88x31.gif HTTP/1.1" 304 - "http://www.missive.info/list/FR/8080/2" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; Media Center PC 4.0)"
90.8.1.49 - - [03/Jun/2007:13:11:45 +0200] "GET /images/pub/OSAPI_ban88x31.gif HTTP/1.1" 200 2380 "http://www.missive.info/" "Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.0.12) Gecko/20070508 Firefox/1.5.0.12"
89.83.106.133 - - [03/Jun/2007:13:12:12 +0200] "GET /images/pub/OSAPI_ban88x31.gif HTTP/1.1" 304 - "http://www.missive.info/list/FR/8077/2" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
86.67.36.210 - - [03/Jun/2007:13:13:18 +0200] "GET /images/pub/OSAPI_ban88x31.gif HTTP/1.1" 200 2380 "http://www.missive.info/" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)"
84.100.22.218 - - [03/Jun/2007:13:13:31 +0200] "GET /images/pub/OSAPI_ban88x31.gif HTTP/1.1" 304 - "http://www.missive.info/contact.php?geo=FR&p=2" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; FreeprodTB)"
90.9.170.187 - - [03/Jun/2007:13:10:57 +0200] "GET /images/pub/OSAPI_ban88x31.gif HTTP/1.1" 304 - "http://www.missive.info/?p=2" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)"
86.67.36.210 - - [03/Jun/2007:13:16:52 +0200] "GET /images/pub/OSAPI_ban88x31.gif HTTP/1.1" 200 2380 "http://www.missive.info/list/FR/8150/2" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)"
86.72.249.170 - - [03/Jun/2007:13:16:52 +0200] "GET /images/pub/OSAPI_ban88x31.gif HTTP/1.1" 304 - "http://www.missive.info/add.php?quoi=region&pays=FR&rubrique=8250" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322)"
84.100.22.218 - - [03/Jun/2007:13:16:52 +0200] "GET /images/pub/OSAPI_ban88x31.gif HTTP/1.1" 304 - "http://www.missive.info/list/FR/8080/2" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; FreeprodTB)"


En recherchant sur le net j'ai vu qu'on parlait souvent de scripts perl ou cgi qui tournaient en boucle et donc pourraient causer ces problèmes, mais je n'execute pas ce genre de trucs sur mon serveur Confused

Je suis donc complétement bloqué et je n'arrive pas à faire corréler mon fichier d'erreurs avec celui de me stats afin d'essayer de comprendre quel type de comportement visiteur arrive à bloquer mon serveur.

J'spère que vous pourrez me venir en aide et me donner quelques pistes car là je commence à plus savoir quoi faire Crying or Very sad
 
Amibien Visiter le site web du posteur
datch
WRInaute passionné
WRInaute passionné

Inscrit le: 16 Juin 2006
Messages: 923
Localisation: nice

URL permanente de ce messagePosté le : Lun Juin 04, 2007 16:26    Sujet du message: Premature end of script headers

bonjour

c qui ton hébergeur??

Pour tu te retourne pas vers lui???
 
datch Visiter le site web du posteur
Amibien
WRInaute occasionnel
WRInaute occasionnel

Inscrit le: 18 Mar 2005
Messages: 174

URL permanente de ce messagePosté le : Lun Juin 04, 2007 16:52    Sujet du message: Premature end of script headers

Notre hébergeur est Ovh.

Nous pensions au départ qu'il s'agissait d'un problème matériel mais nous avons changé la machine il y a 1 semaine et les problèmes continuent...

Il est donc quasi certain maintenant que le problème vienne d'un script (peut être dans le rewriting ? ) Confused
 
Amibien Visiter le site web du posteur
FloBaoti
WRInaute passionné
WRInaute passionné

Inscrit le: 30 Avr 2006
Messages: 596
Localisation: Montpellier

URL permanente de ce messagePosté le : Lun Juin 04, 2007 18:12    Sujet du message: Premature end of script headers

Ben faut que tu vérifie les scripts, on ne peut rien faire d'autre.
*A mon avis*, c'est une boucle infinie avant l'envoit de tous les headers (sinon ça serait un max execution time reached) ...
faut revoir les scripts!
*A priori aussi selon moi*, le probleme se situe dans un fichier inclue dans plusieurs autres, parce que le problème est sur plusieurs pages (annonces.php, user.php, infos.php, ...).
 
FloBaoti Visiter le site web du posteur
Leonick
WRInaute accro
WRInaute accro

Inscrit le: 08 Aoû 2004
Messages: 8800
Localisation: Val de Marne

URL permanente de ce messagePosté le : Lun Juin 04, 2007 18:40    Sujet du message: Premature end of script headers

essaye en augmentant le délai d'exécution des scripts
 
Leonick Visiter le site web du posteur
Amibien
WRInaute occasionnel
WRInaute occasionnel

Inscrit le: 18 Mar 2005
Messages: 174

URL permanente de ce messagePosté le : Mar Juin 05, 2007 16:20    Sujet du message: Premature end of script headers

comment fait-on pour changer ce délai d'execution ?
 
Amibien Visiter le site web du posteur
FloBaoti
WRInaute passionné
WRInaute passionné

Inscrit le: 30 Avr 2006
Messages: 596
Localisation: Montpellier

URL permanente de ce messagePosté le : Mar Juin 05, 2007 20:13    Sujet du message: Premature end of script headers

http://fr.php.net/manual/fr/function.set-time-limit.php
 
FloBaoti Visiter le site web du posteur
 
Montrer les messages depuis:   
Revenir en haut    Forum -> Administration d'un site Web Toutes les heures sont au format GMT + 2 Heures
Page 1 sur 1 - 
Connexion
Nom d'utilisateur:    Mot de passe:      Se connecter automatiquement à chaque visite    

CLIQUEZ ICI pour vous inscrire à WebRankInfo (forum, annuaire, outils...)

Connexion

© 2001-2005 phpBB Group, support français
Personnalisation : WebRankInfo ™


 ODP  Firefox  Alsacreations  annuaire webmaster Yagoort