1 |
> Does it sound like apache2 was using up all the memory? If so, should |
2 |
> I look further for a catalyst or did this likely happen slowly? What |
3 |
> can I do to prevent it from happening again? Should I switch apache2 |
4 |
> from prefork to threads? |
5 |
|
6 |
Do you need the full 256 instances? |
7 |
|
8 |
How many simultaneous connections do you have? |
9 |
|
10 |
Are you running keep alive (connection persistence, and i *think* it |
11 |
also implies connection pipelining). Its the default these days but if |
12 |
you're been upgrading through older versions the config might have it |
13 |
disabled. |
14 |
|
15 |
Also, WRT swap you can set vm.swappiness in /etc/sysctl.conf from the |
16 |
default of 60 to something lower, to reduce the propensity to use |
17 |
swap. |