top - 17:24:27 up 34 days, 9:01, 4 users, load average: 20.67, 12.84, 9.26
Tasks: 142 total,   7 running, 135 sleeping,   0 stopped,   0 zombie
Cpu(s): 88.7% us, 7.6% sy, 0.0% ni, 0.0% id, 2.0% wa, 0.0% hi, 1.7% si
Mem:    906736k total,   359464k used,   547272k free,     6184k  buffers
Swap:  3036232k total,   111564k used,  2924668k free,    17420k  cached

Which processes are swapping?

Have you tried setting MaxClients to say 10 (or some other low number that'll ensure you don't run out of memory).


I just did, and cleared the swap before doing another testing. The result: Nothing swapped, but the average response time goes down by 20 seconds. I guess Perrin was right, with 30 MaxClients, the processes are competing the CPU cycles.

I think I have to write some of the code in C. I can't find any other places in the code to optimize (or probably I uncounciously don't want to make changes because I don't have any test suites)...

---
Badai Aqrandista
Cheepy (?)

_________________________________________________________________
Low rate ANZ MasterCard. Apply now! http://clk.atdmt.com/MAU/go/msnnkanz0030000006mau/direct/01/ Must be over 18 years.

Reply via email to