PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > comp.info.servers.unix > Some Apache children still gracefully restarting after 8 hours
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.info.servers.unix Web servers for UNIX platforms.

Some Apache children still gracefully restarting after 8 hours

Réponse
 
LinkBack Outils de la discussion
Vieux 02/06/2006, 00h54   #1
google@macrotex.net
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Some Apache children still gracefully restarting after 8 hours

I invoked a "graceful restart" on our main Apache web service (2.0.46).
About 8 hours later I looked at the mod_status status page and noticed
about 50 (out of 150) child servers were still marked "G". This seems
odd. Accoding to the Apache documentation upon a graceful restart the
parent "advises" the children to exit after finishing with the current
connection. How is it possible that the child would still be connected
after 8 hours? I checked and these non-exiting children aren't doing
any data transfer or processing. They just seem to be stuck.

So, is this normal behavior? If not, is there a way to fix it?

  Réponse avec citation
Vieux 02/06/2006, 16h44   #2
Jeff Long
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Some Apache children still gracefully restarting after 8 hours

google@macrotex.net wrote:
> I invoked a "graceful restart" on our main Apache web service (2.0.46).
> About 8 hours later I looked at the mod_status status page and noticed
> about 50 (out of 150) child servers were still marked "G". This seems
> odd. Accoding to the Apache documentation upon a graceful restart the
> parent "advises" the children to exit after finishing with the current
> connection. How is it possible that the child would still be connected
> after 8 hours? I checked and these non-exiting children aren't doing
> any data transfer or processing. They just seem to be stuck.
>
> So, is this normal behavior? If not, is there a way to fix it?
>


I've seen this also happen in 2.0.55. At least in one case it was some
problem with solaris 2.8 and IPv6. Since we're not using IPv6 I had to
change:

Listen 80

to

Listen XXX.XXX.XXX.XXX:80

which seemed to cause the problem to go away during graceful restarts.

Jeff Long
  Réponse avec citation
Vieux 02/06/2006, 16h44   #3
Jeff Long
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Some Apache children still gracefully restarting after 8 hours

google@macrotex.net wrote:
> I invoked a "graceful restart" on our main Apache web service (2.0.46).
> About 8 hours later I looked at the mod_status status page and noticed
> about 50 (out of 150) child servers were still marked "G". This seems
> odd. Accoding to the Apache documentation upon a graceful restart the
> parent "advises" the children to exit after finishing with the current
> connection. How is it possible that the child would still be connected
> after 8 hours? I checked and these non-exiting children aren't doing
> any data transfer or processing. They just seem to be stuck.
>
> So, is this normal behavior? If not, is there a way to fix it?
>


I've seen this also happen in 2.0.55. At least in one case it was some
problem with solaris 2.8 and IPv6. Since we're not using IPv6 I had to
change:

Listen 80

to

Listen XXX.XXX.XXX.XXX:80

which seemed to cause the problem to go away during graceful restarts.

Jeff Long
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 07h11.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,10084 seconds with 11 queries