Bonjour a tous,

j'ai un soucis avec mon serveur apache aux heures de pointes quand j'ai énormément de trafic et mon site plante, il necessite un restart pour fonctionner a nouveau !

C'est ce message :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
server reached MaxClients setting, consider raising the MaxClients setting
Ma config:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
Apache/2.0.55 (Ubuntu) PHP/5.1.2
Serait il possible d'optimiser cela ? en évitant ce MaxClient ?

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
 
 
Timeout 300
KeepAlive Off
MaxKeepAliveRequests 500
KeepAliveTimeout 15
 
##
## Server-Pool Size Regulation (MPM specific)
## 
 
# prefork MPM
<IfModule prefork.c>
StartServers         5
MinSpareServers      5
MaxSpareServers     10
MaxClients          20
MaxRequestsPerChild  0
</IfModule>
 
# pthread MPM
<IfModule worker.c>
StartServers         2
MaxClients         150 
MinSpareThreads     25
MaxSpareThreads     75
ThreadsPerChild     25
MaxRequestsPerChild  0
</IfModule>
 
# perchild MPM
<IfModule perchild.c>
NumServers           5
StartThreads         5
MinSpareThreads      5
MaxSpareThreads     10
MaxThreadsPerChild  20
MaxRequestsPerChild  0
AcceptMutex fcntl
</IfModule>