| | 1 | = Apache Tuning = |
| | 2 | |
| | 3 | The goal of this page is to give some details about Apache tuning for Nebulous. |
| | 4 | |
| | 5 | == Intro == |
| | 6 | We use the following mpm_prefork_module configuration. |
| | 7 | {{{ |
| | 8 | <IfModule mpm_prefork_module> |
| | 9 | StartServers 5 |
| | 10 | MinSpareServers 5 |
| | 11 | MaxSpareServers 10 |
| | 12 | MaxClients 150 |
| | 13 | MaxRequestsPerChild 10000 |
| | 14 | </IfModule> |
| | 15 | |
| | 16 | }}} |
| | 17 | |
| | 18 | I wrote a small utility script that starts ''nbProcesses'' processes. Each process attempts to create ''nbFiles'' files in Nebulous using neb-touch. To ensure that files do not previously exist in Nebulous, each instance of the utility script is called with an index argument (let's call it ''experimentNb''). Each experiment is run this way: |
| | 19 | |
| | 20 | {{{ |
| | 21 | python startNebFilesCreation.py <experimentNb> <nbProcesses> <nbFiles> |
| | 22 | }}} |