[AlternC-dev] gros ralentissement

Retour à l'archive de la liste
Le site d'AlternC
Google Custom Search

Denis denis at collectifs.net
Mer 10 Nov 21:22:36 CET 2004


Salut,

Depuis la mise à jour (en 0.9.2), notre serveur est devenu exagérement lent.

Tous les services sont affectés mais principalement apache et apache-ssl
qui donnent parfois plusieurs time out de suite avant d'afficher une page.

En scrutant les logs, je me suis rendu compte qu'apache se prennait
beaucoup de connection (1/sec) qui étaient du spam sur les referers d'un
site.

Mais maintenant que ceci est totalement règlé (avec un .htaccess à la
racine du site), le problème persite.

Même avec une charge très faible, on a des time-out en permanence.

La seule chose que je remarques c'est pour les connections web, un nombre
assez important de connections en attente de fermeture par rapport aux
connections établies.

Si quelqu'un voyait comment je pourrais aiguiller mes recherches pour
tenter de trouver la source du problème ...

Merci
A bientôt
Denis

PS: Le problème n'a peut-être rien à voir avec la MAJ mais çà coincide en
tout cas avec un gros ralentissement.

- top

20:30:19 up 105 days,  3:44,  1 user,  load average: 0.33, 0.24, 0.28
136 processes: 135 sleeping, 1 running, 0 zombie, 0 stopped
CPU states:   0.0% user,  100.0% system,   0.0% nice,   0.0% idle
Mem:    515376K total,   501568K used,    13808K free,    47940K buffers
Swap:   257028K total,   131120K used,   125908K free,   173912K cached

- apachetop

last hit: 20:34:03        atop runtime:  0 days, 00:01:56
20:34:05
All:          153 reqs (   1.3/sec)       1920.9K (  16.7K/sec)  (
12.6K/req)
2xx:      96 (62.7%) 3xx:      30 (19.6%) 4xx:     1 ( 0.7%) 5xx:    26
(17.0%)
R ( 30s):      15 reqs (   0.5/sec)        476.1K (  15.9K/sec)  (
31.7K/req)
2xx:       8 (53.3%) 3xx:       5 (33.3%) 4xx:     0 ( 0.0%) 5xx:     2
(13.3%)

- netstats (mysql+apache)

tcp        0      0 localhost:43386         localhost:mysql        
ESTABLISHED
tcp        0      0 localhost:43484         localhost:mysql        
ESTABLISHED
tcp        0      0 localhost:43475         localhost:mysql        
ESTABLISHED
tcp        0      0 localhost:43499         localhost:mysql        
ESTABLISHED
tcp        0      0 localhost:43497         localhost:mysql        
ESTABLISHED
tcp        0      0 localhost:43400         localhost:mysql        
ESTABLISHED
tcp        0      0 localhost:44395         localhost:mysql        
ESTABLISHED
tcp        0      0 localhost:44394         localhost:mysql        
ESTABLISHED
tcp        0      0 localhost:44385         localhost:mysql        
ESTABLISHED
tcp        0      0 localhost:44384         localhost:mysql        
ESTABLISHED
tcp        0      0 localhost:44413         localhost:mysql        
ESTABLISHED
tcp        0      0 localhost:44412         localhost:mysql        
ESTABLISHED
tcp        0      0 localhost:44427         localhost:mysql        
ESTABLISHED
tcp        0      0 localhost:44430         localhost:mysql        
ESTABLISHED
tcp        0      0 localhost:44428         localhost:mysql        
ESTABLISHED
tcp        0      0 localhost:44459         localhost:mysql        
ESTABLISHED
tcp        0      0 localhost:44458         localhost:mysql        
ESTABLISHED
tcp        0      0 localhost:44457         localhost:mysql        
ESTABLISHED
tcp        0      0 localhost:44455         localhost:mysql        
ESTABLISHED

tcp        0      0 localhost:44414         localhost:mysql         TIME_WAIT
tcp        0      0 localhost:44435         localhost:mysql         TIME_WAIT
tcp        0      0 localhost:44433         localhost:mysql         TIME_WAIT
tcp        0      0 localhost:44432         localhost:mysql         TIME_WAIT

tcp        0      0 localhost:mysql         localhost:44427        
ESTABLISHED
tcp        0      0 localhost:mysql         localhost:43400        
ESTABLISHED
tcp        0      0 localhost:mysql         localhost:44428        
ESTABLISHED
tcp        0      0 localhost:mysql         localhost:44430        
ESTABLISHED
tcp        0      0 localhost:mysql         localhost:43484        
ESTABLISHED
tcp        0      0 localhost:mysql         localhost:43475        
ESTABLISHED
tcp        0      0 localhost:mysql         localhost:43497        
ESTABLISHED
tcp        0      0 localhost:mysql         localhost:44457        
ESTABLISHED
tcp        0      0 localhost:mysql         localhost:44394        
ESTABLISHED
tcp        0      0 localhost:mysql         localhost:44458        
ESTABLISHED
tcp        0      0 localhost:mysql         localhost:44395        
ESTABLISHED
tcp        0      0 localhost:mysql         localhost:43499        
ESTABLISHED
tcp        0      0 localhost:mysql         localhost:44459        
ESTABLISHED
tcp        0      0 localhost:mysql         localhost:44455        
ESTABLISHED
tcp        0      0 localhost:mysql         localhost:44384        
ESTABLISHED
tcp        0      0 localhost:mysql         localhost:43386        
ESTABLISHED
tcp        0      0 localhost:mysql         localhost:44385        
ESTABLISHED
tcp        0      0 localhost:mysql         localhost:44412        
ESTABLISHED
tcp        0      0 localhost:mysql         localhost:44413        
ESTABLISHED


tcp        0      0 domainepublic:www       modemcable150.148:24094
ESTABLISHED

tcp        0      0 domainepublic:www       crawl30-public.al:59549 TIME_WAIT
tcp        0      0 domainepublic:www       205.252.49.146:62720    TIME_WAIT
tcp        0      0 domainepublic:www       205.252.49.146:62467    TIME_WAIT
tcp        0      0 domainepublic:www       205.252.49.146:62722    TIME_WAIT
tcp        0      0 domainepublic:www       205.252.49.146:62541    TIME_WAIT
tcp        0      0 domainepublic:www       205.252.49.146:62604    TIME_WAIT
tcp        0      0 domainepublic:www       207.46.98.146:1615      TIME_WAIT
tcp        0      0 domainepublic:www       213.243.30.8:22864      TIME_WAIT
tcp        0      0 domainepublic:www       205.252.49.146:62741    TIME_WAIT
tcp        0      0 domainepublic:www       205.252.49.146:62485    TIME_WAIT
tcp        0      0 domainepublic:www       lj1036.inktomisea:47323 TIME_WAIT
tcp        0      0 domainepublic:www       205.252.49.146:62544    TIME_WAIT
tcp        0      0 domainepublic:www       205.252.49.146:62483    TIME_WAIT
tcp        0      0 domainepublic:www       lj1036.inktomisea:47320 TIME_WAIT
tcp        0      0 domainepublic:www       213.243.30.8:22615      TIME_WAIT
tcp        0      0 domainepublic:www       host251-218.pool8:55262 TIME_WAIT
tcp        0      0 domainepublic:www       host248-218.pool82:2269 TIME_WAIT
tcp        0      0 domainepublic:www       205.252.49.146:62808    TIME_WAIT
tcp        0      0 domainepublic:www       205.252.49.146:62683    TIME_WAIT
tcp        0      0 domainepublic:www       163.28.80.40:60382      TIME_WAIT
tcp        0      0 domainepublic:www       205.252.49.146:62810    TIME_WAIT
tcp        0      0 domainepublic:www       205.252.49.146:62696    TIME_WAIT
tcp        0      0 domainepublic:www       205.252.49.146:62507    TIME_WAIT
tcp        0      0 domainepublic:www       205.252.49.146:62839    TIME_WAIT
tcp        0      0 domainepublic:www       205.252.49.146:62636    TIME_WAIT
tcp        0      0 domainepublic:www       205.252.49.146:62828    TIME_WAIT
tcp        0      0 domainepublic:www       crawl-66-249-78-1:52032 TIME_WAIT
tcp        0      0 domainepublic:www       211.185.99.55:59874     TIME_WAIT
tcp        0      0 domainepublic:www       205.252.49.146:62825    TIME_WAIT
tcp        0      0 domainepublic:www       www.hak-althofen.a:2465 TIME_WAIT
tcp        0      0 domainepublic:www       205.252.49.146:62719    TIME_WAIT
tcp        0      0 domainepublic:www       lj1027.inktomisea:43562 TIME_WAIT
tcp        0      0 domainepublic:www       213.243.30.8:11387      TIME_WAIT




Plus d'informations sur la liste de diffusion Dev