stuck spin lock with many concurrent users

From: Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>
To: pgsql-hackers(at)postgresql(dot)org
Subject: stuck spin lock with many concurrent users
Date: 2001-06-20 09:28:00
Message-ID: 20010620182800A.t-ishii@sra.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I have seen problems with extremely many concurrent users.
I run pgbench:

pgbench -c 1000 -t 1 test

And I get stuck spin lock errors. This is 100% reproducable (i.e. I
have nerver succeeded in pgbench -c 1000).

This is Linux kernel 2.2.18. Followings are some resource settings
that seem crytical to me.

kernel.shmall = 134217728
kernel.shmmax = 134217728
fs.file-max = 65536

There are 1GB physical memory and 2GB swap space. Note that same
things happen in Sparc/Solaris with much less users (500 concurrent
users).
--
Tatsuo Ishii

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pedro Abelleira Seco 2001-06-20 10:04:08 RE: RE: Universal admin frontend
Previous Message Michael Meskes 2001-06-20 08:43:35 Re: RE: Universal admin frontend