WRInaute discret
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 :
Ma config:
Serait il possible d'optimiser cela ? en évitant ce MaxClient ?
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:
server reached MaxClients setting, consider raising the MaxClients setting
Ma config:
Code:
Apache/2.0.55 (Ubuntu) PHP/5.1.2
Serait il possible d'optimiser cela ? en évitant ce MaxClient ?
Code:
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>