Bonjour,
Voilà, je viens de migrer vers Apache 2 et j'avoue être pommé sur une chose : les Server-Pool Size Regulation...
On nous propose 3 profils apparemment, mais lequel est lancé par défaut et où pouvons nous choisir le profil à lancer ?
Code :
- ##
- ## Server-Pool Size Regulation (MPM specific)
- ##
- # prefork MPM
- # StartServers ......... number of server processes to start
- # MinSpareServers ...... minimum number of server processes which are kept spare
- # MaxSpareServers ...... maximum number of server processes which are kept spare
- # MaxClients ........... maximum number of server processes allowed to start
- # MaxRequestsPerChild .. maximum number of requests a server process serves
- <IfModule prefork.c>
- StartServers 5
- MinSpareServers 5
- MaxSpareServers 10
- MaxClients 20
- MaxRequestsPerChild 0
- </IfModule>
- # pthread MPM
- # StartServers ......... initial number of server processes to start
- # MaxClients ........... maximum number of server processes allowed to start
- # MinSpareThreads ...... minimum number of worker threads which are kept spare
- # MaxSpareThreads ...... maximum number of worker threads which are kept spare
- # ThreadsPerChild ...... constant number of worker threads in each server process
- # MaxRequestsPerChild .. maximum number of requests a server process serves
- <IfModule worker.c>
- StartServers 2
- MaxClients 150
- MinSpareThreads 25
- MaxSpareThreads 75
- ThreadsPerChild 25
- MaxRequestsPerChild 0
- </IfModule>
- # perchild MPM
- # NumServers ........... constant number of server processes
- # StartThreads ......... initial number of worker threads in each server process
- # MinSpareThreads ...... minimum number of worker threads which are kept spare
- # MaxSpareThreads ...... maximum number of worker threads which are kept spare
- # MaxThreadsPerChild ... maximum number of worker threads in each server process
- # MaxRequestsPerChild .. maximum number of connections per server process (then it dies)
- <IfModule perchild.c>
- NumServers 5
- StartThreads 5
- MinSpareThreads 5
- MaxSpareThreads 10
- MaxThreadsPerChild 20
- MaxRequestsPerChild 0
- AcceptMutex fcntl
- </IfModule>
|
Merci pour votre aide.
---------------
Thenab - Quitte à passer pour un con, passe vite !