Bonjour, j'héberge un site à fort trafic. J'ai actuellement des problèmes d'accès.
J'utilise un serveur apache version 2. Voici la configuration de la partie "prefork" : <IfModule prefork.c> StartServers 10 MinSpareServers 5 MaxSpareServers 10 MaxClients 250 MaxRequestsPerChild 0 </IfModule> D'après ce que j'ai compris, avec MaxClients à 250, Apache peut traiter 250 requêtes en parrallèle. voici le résultat de "top" : top - 15:44:50 up 86 days, 23:28, 4 users, load average: 0.29, 0.40, 0.37 Tasks: 371 total, 2 running, 368 sleeping, 1 stopped, 0 zombie Cpu(s): 14.0% us, 17.0% sy, 0.0% ni, 68.4% id, 0.0% wa, 0.0% hi, 0.6% si Mem: 1018404k total, 929408k used, 88996k free, 70672k buffers Swap: 2096472k total, 2640k used, 2093832k free, 426756k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 30884 root 17 0 2488 1328 848 S 7.4 0.1 15:51.88 top 32394 root 16 0 2496 1304 844 R 7.1 0.1 0:00.27 top 15505 www-data 15 0 25956 7160 3248 S 0.6 0.7 0:00.30 apache2 7440 www-data 15 0 25984 7180 3244 S 0.6 0.7 0:00.30 apache2 10545 www-data 15 0 25984 7156 3216 S 0.6 0.7 0:00.30 apache2 6274 mysql 16 0 211m 31m 4680 S 0.3 3.1 0:15.44 mysqld 15951 root 17 0 11628 6856 2696 S 0.3 0.7 0:14.60 mtop 22421 www-data 16 0 25812 6364 2584 S 0.3 0.6 0:00.23 apache2 5541 www-data 16 0 25864 6416 2596 S 0.3 0.6 0:00.22 apache2 30711 www-data 16 0 25984 7156 3220 S 0.3 0.7 0:00.30 apache2 16657 www-data 16 0 25812 6372 2592 S 0.3 0.6 0:00.23 apache2 295 www-data 16 0 25988 7148 3228 S 0.3 0.7 0:00.24 apache2 11511 www-data 16 0 25804 6356 2584 S 0.3 0.6 0:00.25 apache2 16548 www-data 16 0 26016 7240 3300 S 0.3 0.7 0:00.27 apache2 432 www-data 16 0 25800 6360 2592 S 0.3 0.6 0:00.24 apache2 3610 www-data 16 0 25804 6352 2584 S 0.3 0.6 0:00.23 apache2 8419 www-data 16 0 25804 6356 2584 S 0.3 0.6 0:00.24 apache2 26346 www-data 16 0 25804 6356 2584 S 0.3 0.6 0:00.24 apache2 5613 www-data 16 0 25800 6352 2584 S 0.3 0.6 0:00.23 apache2 14834 www-data 16 0 25960 7116 3216 S 0.3 0.7 0:00.24 apache2 19961 www-data 16 0 25968 7272 3336 S 0.3 0.7 0:00.26 apache2 20012 www-data 16 0 26008 7164 3212 S 0.3 0.7 0:00.32 apache2 5037 www-data 15 0 25916 7148 3248 S 0.3 0.7 0:00.27 apache2 22730 www-data 16 0 25800 6352 2584 S 0.3 0.6 0:00.23 apache2 3148 www-data 16 0 25844 6360 2584 S 0.3 0.6 0:00.22 apache2 5191 www-data 16 0 25804 6436 2648 S 0.3 0.6 0:00.24 apache2 6272 www-data 16 0 25844 6368 2584 S 0.3 0.6 0:00.24 apache2 30583 www-data 16 0 25840 6456 2624 S 0.3 0.6 0:00.22 apache2 1 root 16 0 1604 524 456 S 0.0 0.1 0:22.22 init 2 root 34 19 0 0 0 S 0.0 0.0 0:00.99 ksoftirqd/0 3 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 events/0 4 root 10 -5 0 0 0 S 0.0 0.0 0:03.14 khelper 5 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 kthread 7 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 kblockd/0 61 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 aio/0 60 root 15 0 0 0 0 S 0.0 0.0 2:24.51 kswapd0 62 root 25 0 0 0 0 S 0.0 0.0 0:00.00 jfsIO 63 root 25 0 0 0 0 S 0.0 0.0 0:00.00 jfsCommit 64 root 25 0 0 0 0 S 0.0 0.0 0:00.00 jfsSync comme vous pouvez le voir, j'ai de nombreux processus apache2 qui tournent mais ce nombre est bien inférieur à 250. Le taux d'utilisation du cpu est toujours autour de 15%. D'un point de vue mémoire, mon serveur utilise très très peu de swap. Je ne suis donc pas en saturation cpu ni en mémoire. Au niveau de la bande passante, j'ai effectué des tests, il n'y a pas non plus de problème de ce coté là. J'ai effectué des tests avec de simple fichier html sans script et j'ai toujours des problèmes d'accès. Les pages mettent entre 1 et 10 minutes à être affiché. Avez vous une idée de paramètre de configuration qui poserait problème ? Merci d'avance pour votre aide. Stéphane

