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 > apache: severe load problems + mysql: too many connections
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.info.servers.unix Web servers for UNIX platforms.

apache: severe load problems + mysql: too many connections

Réponse
 
LinkBack Outils de la discussion
Vieux 28/08/2006, 21h49   #1
Felix Natter
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut apache: severe load problems + mysql: too many connections

hi,

on an apache 1.3.37/mysql 3.23.49 server we often experience a extensive
slowdown and we get random "Too many connections" errors from the
MySQL-server. The problem goes away for a short time when I restart the
apache (apparently not when restarting mysql).

I tried to use mtop (shows the sql queries currently processed) to find out
what's causing this, but I see nothing special.

How can I find out what causes this without having to read *all* apache
logs (which is impossible)? What tools should I be using?

thank you!

--
Felix Natter
  Réponse avec citation
Vieux 02/09/2006, 18h51   #2
Juha Laiho
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: apache: severe load problems + mysql: too many connections

Felix Natter <fnatter@gmx.net> said:
>on an apache 1.3.37/mysql 3.23.49 server we often experience a extensive
>slowdown and we get random "Too many connections" errors from the
>MySQL-server. The problem goes away for a short time when I restart the
>apache (apparently not when restarting mysql).

....
>How can I find out what causes this without having to read *all* apache
>logs (which is impossible)? What tools should I be using?


The server-status display of Apache (with ExtendedStatus enabled) has
ed me diagnose similar issues in the past. When the problem arises,
this'll you see what URLs are being accessed at the moment.

One thing you could be dealing with is too lax timeout for persistent
connections, or overall allowing too many persistent connections at
a given time. It may sound backwards, but at times throttling down
may give better performance.
--
Wolf a.k.a. Juha Laiho Espoo, Finland
(GC 3.0) GIT d- s+: a C++ ULSH++++$ P++@ L+++ E- W+$@ N++ !K w !O !M V
PS(+) PE Y+ PGP(+) t- 5 !X R !tv b+ !DI D G e+ h---- r+++ y++++
"...cancel my subscription to the resurrection!" (Jim Morrison)
  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 23h13.


É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,07734 seconds with 10 queries