| | 257 | |
| | 258 | === Experiments 34 and 35 === |
| | 259 | Same parameters as 33. |
| | 260 | |
| | 261 | I want to check the evolution of the number of tcp connections which are opened by the apache server (netstat -a | grep tcp | grep -v mysql | wc -l, and netstat -a | grep tcp | grep mysql | wc -l). |
| | 262 | |
| | 263 | When apache is stopped: |
| | 264 | 38 tcp connections not counting mysql ones (mainly because I'm connected 7 times on this host) |
| | 265 | 1 for mysql (LISTEN state) |
| | 266 | (when apache is stopped it is around 38). |
| | 267 | |
| | 268 | When apache is running but the script is not started: |
| | 269 | 31 tcp connections not counting mysql ones |
| | 270 | 201 tcp mysql connections (all in ESTABLISHED state) |
| | 271 | |
| | 272 | When the script is running (apache is running as well): |
| | 273 | Maximum observed: 4011 tcp-non-mysql connections almost all in TIME_WAIT state |
| | 274 | mysql connections count are stable (max 215 even if the max_connections variable is set to 1024). |