Wei Weng <wweng@kencast.com> writes:
> On Wed, 2002-08-14 at 10:49, Richard Huxton wrote:
>> If it's not CPU, is the system going into swap or are you seeing a
>> lot of disk activity?
> I did hear a lot of disk noise when I ran the test. How do I tell if the
> "system is going into swap"?
Try running "vmstat 1" while doing the test. If the "swap" columns show
any activity then you're swapping. Watching free memory with "top" may
also be insightful.
I tend to agree with what I think Richard suspects: you haven't got
enough RAM for thirty concurrent server processes, and so the system is
wasting a lot of time swapping processes to disk. What are the hardware
parameters, anyway?
regards, tom lane