DEDIBOX-NEWS.COM

Le Forum Non Officiel de la DEDIBOX

Vous n'êtes pas identifié.

#1 2009-11-17 01:29:07

quicksand
Petit scarabé
Date d'inscription: 2007-12-03
Messages: 52

Mon serveur plante sans arrêt

Salut à tous,

Je sollicite votre aide sur un problème qui me tracasse depuis quelques jours.

En fait, mon serveur plante plusieurs fois par jours, tous les services plantent (httpd, mysqld, ftp, ssh), bien entendu j'ai activé Watchdog afin qu'il les redémarre tout seul.

En essayant de trouver l'origine du problème, j'ai constaté que c'était dû à Apache, je l'ai en fait arreté et le serveur s'est bien porté toute la journée, en consultant les logs d'apache (error_log), la ligne suivante a attiré mon attention :

Code:

(12)Cannot allocate memory: fork: Unable to fork new process

Je ne peux pas dire avec certitude si le serveur crash à l'instant où cette ligne est générée, mais j'ai compris par là que c'est un problème de RAM, en gros mon gourmand serveur apache consomme toute la RAM, et du coup, tous les services plantent.

J'ai bien vu les logs, je n'ai pas remarqué d'accès étranges, ou de tentatives de hack.

Je ne sais pas si vous pouvez me mettre sur un voix, ou m'aider à bien comprendre cette erreur.

Merci à vous

Hors ligne

 

#2 2009-11-17 01:38:16

philoufr
Maitre Jeidi
Date d'inscription: 2006-05-16
Messages: 601

Re: Mon serveur plante sans arrêt

salut
. install et config  apache status  pour voir la charge du serveur
. peut etre mauvaise programmation qq part genre avec un programme que tu as été écrire pas comme il faut au niveau de la gestion mémoire
. as tu beaucoup de trafic sur ton serveur ? Regarde le graphique en page d'accueil de ta console de gestion.
. indique modèle de la Dédibox et l'OS installé
@+


irc.dedibox.fr  //  6667 (SSL en 6657)   //  #online

Hors ligne

 

#3 2009-11-17 01:49:47

quicksand
Petit scarabé
Date d'inscription: 2007-12-03
Messages: 52

Re: Mon serveur plante sans arrêt

Salut,

Alors Dedibox sd-4228 et y est installé CentOS + Plesk 8.6.

Normalement, j'ai un trafic assez léger pour qu'Apache plante, j'ai regardé sur les graphiques, y a pas grand chose à signaler

Hors ligne

 

#4 2009-11-17 02:09:21

philoufr
Maitre Jeidi
Date d'inscription: 2006-05-16
Messages: 601

Re: Mon serveur plante sans arrêt

. sd-4228.dedibox.fr  est plus déclaré
. voir temps du ping avec ton ip


irc.dedibox.fr  //  6667 (SSL en 6657)   //  #online

Hors ligne

 

#5 2009-11-17 08:55:32

quicksand
Petit scarabé
Date d'inscription: 2007-12-03
Messages: 52

Re: Mon serveur plante sans arrêt

philoufr a écrit:

. sd-4228.dedibox.fr  est plus déclaré
. voir temps du ping avec ton ip

J'ai pas compris ce que tu voulais dire par "plus déclaré" ?

Hors ligne

 

#6 2009-11-17 09:06:47

quicksand
Petit scarabé
Date d'inscription: 2007-12-03
Messages: 52

Re: Mon serveur plante sans arrêt

Depuis hier, je n'ai plus la même erreur, mais d'autres erreurs qui je pense font planter le serveur

Code:

[Tue Nov 17 09:02:57 2009] [warn] child process 3527 still did not exit, sending a SIGTERM
[Tue Nov 17 09:02:57 2009] [warn] child process 3540 still did not exit, sending a SIGTERM
[Tue Nov 17 09:02:57 2009] [warn] child process 3542 still did not exit, sending a SIGTERM
[Tue Nov 17 09:02:57 2009] [warn] child process 3543 still did not exit, sending a SIGTERM
[Tue Nov 17 09:02:57 2009] [warn] child process 3544 still did not exit, sending a SIGTERM
[Tue Nov 17 09:02:57 2009] [warn] child process 3545 still did not exit, sending a SIGTERM
[Tue Nov 17 09:02:57 2009] [warn] child process 3550 still did not exit, sending a SIGTERM
[Tue Nov 17 09:02:57 2009] [warn] child process 3551 still did not exit, sending a SIGTERM
[Tue Nov 17 09:02:57 2009] [warn] child process 3552 still did not exit, sending a SIGTERM
[Tue Nov 17 09:02:57 2009] [warn] child process 3578 still did not exit, sending a SIGTERM
[Tue Nov 17 09:02:57 2009] [warn] child process 3579 still did not exit, sending a SIGTERM
[Tue Nov 17 09:02:57 2009] [warn] child process 3580 still did not exit, sending a SIGTERM
[Tue Nov 17 09:02:57 2009] [warn] child process 3581 still did not exit, sending a SIGTERM
[Tue Nov 17 09:02:57 2009] [warn] child process 3582 still did not exit, sending a SIGTERM
[Tue Nov 17 09:02:57 2009] [warn] child process 3583 still did not exit, sending a SIGTERM
[Tue Nov 17 09:02:57 2009] [warn] child process 3584 still did not exit, sending a SIGTERM
[Tue Nov 17 09:02:57 2009] [warn] child process 3585 still did not exit, sending a SIGTERM
[Tue Nov 17 09:02:57 2009] [warn] child process 3586 still did not exit, sending a SIGTERM
[Tue Nov 17 09:02:57 2009] [warn] child process 3587 still did not exit, sending a SIGTERM
[Tue Nov 17 09:02:57 2009] [warn] child process 3588 still did not exit, sending a SIGTERM
[Tue Nov 17 09:02:57 2009] [warn] child process 3589 still did not exit, sending a SIGTERM
[Tue Nov 17 09:02:57 2009] [warn] child process 3590 still did not exit, sending a SIGTERM
[Tue Nov 17 09:02:57 2009] [warn] child process 3591 still did not exit, sending a SIGTERM
[Tue Nov 17 09:02:57 2009] [warn] child process 3592 still did not exit, sending a SIGTERM
[Tue Nov 17 09:02:57 2009] [warn] child process 3593 still did not exit, sending a SIGTERM
[Tue Nov 17 09:02:57 2009] [warn] child process 3594 still did not exit, sending a SIGTERM
[Tue Nov 17 09:02:57 2009] [warn] child process 3595 still did not exit, sending a SIGTERM
[Tue Nov 17 09:02:57 2009] [warn] child process 3596 still did not exit, sending a SIGTERM
[Tue Nov 17 09:02:57 2009] [warn] child process 3597 still did not exit, sending a SIGTERM
[Tue Nov 17 09:02:57 2009] [warn] child process 3598 still did not exit, sending a SIGTERM
[Tue Nov 17 09:02:57 2009] [warn] child process 3599 still did not exit, sending a SIGTERM
[Tue Nov 17 09:02:57 2009] [warn] child process 3600 still did not exit, sending a SIGTERM
[Tue Nov 17 09:02:57 2009] [warn] child process 3601 still did not exit, sending a SIGTERM
[Tue Nov 17 09:02:57 2009] [warn] child process 3602 still did not exit, sending a SIGTERM
[Tue Nov 17 09:02:57 2009] [warn] child process 3603 still did not exit, sending a SIGTERM
[Tue Nov 17 09:02:57 2009] [warn] child process 3604 still did not exit, sending a SIGTERM

C'est normal qu'apache exploite autant de processus ?

Hors ligne

 

#7 2009-11-17 10:58:30

philoufr
Maitre Jeidi
Date d'inscription: 2006-05-16
Messages: 601

Re: Mon serveur plante sans arrêt

. plus possible de ping ta dedibox sous son nom  sd-4228.dedibox.fr
. tu a quoi sur ton serveur la comme programme ?
. efface de Plesk tout le site qui est installé là et test donc sans rien de plus que l'interface
. peut être plus rapide de tout réinstaller que de chercher le pourquoi....


irc.dedibox.fr  //  6667 (SSL en 6657)   //  #online

Hors ligne

 

Pied de page des forums

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson