1 |
> |
2 |
> No, not yet. |
3 |
> I could try to run strace on apache, but the biggest problem is not the |
4 |
> CPU it uses.. The problem is that it just stops to work. Yesterday I got |
5 |
> a "MaxClients reached" error and MaxClients is 200.. After that it |
6 |
> didn't "recover" so I had to restart it before any new connections were |
7 |
> possible. Since that happened 8h after I started the server again, I |
8 |
> doubt that I can strace this particular problem? Or do I miss something? |
9 |
|
10 |
Do you by any chance use persistent database connections from php. In that |
11 |
case you might want to look at setting a limit on those connections, or |
12 |
maybe disallow (or remove the use) them. Also fiddling with the apache |
13 |
client settings might work. 200 clients is a lot, so probably some are out |
14 |
on their backs (dead). In the config you can control restarting of those |
15 |
clients (how long they are allowed to be alive). If you have a really busy |
16 |
site, they might actually all be in use in which case increasing this |
17 |
limit is the solution. |
18 |
|
19 |
Good luck, |
20 |
Paul |
21 |
|
22 |
-- |
23 |
Paul de Vrieze |
24 |
Researcher |
25 |
Mail: pauldv@××××××.nl |
26 |
Homepage: http://www.devrieze.net |
27 |
|
28 |
|
29 |
|
30 |
|
31 |
-- |
32 |
gentoo-dev@g.o mailing list |