Re: stuck spin lock with many concurrent users - Mailing list pgsql-hackers

From Tom Lane
Subject Re: stuck spin lock with many concurrent users
Date
Msg-id 12345.993102506@sss.pgh.pa.us
Whole thread Raw
In response to stuck spin lock with many concurrent users  (Tatsuo Ishii <t-ishii@sra.co.jp>)
Responses Re: stuck spin lock with many concurrent users  (Tatsuo Ishii <t-ishii@sra.co.jp>)
List pgsql-hackers
Tatsuo Ishii <t-ishii@sra.co.jp> writes:
> 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).

Is it actually stuck, or just timing out due to huge contention?
You could try increasing the timeout intervals in s_lock.c to
make sure.  If it is stuck, on which lock(s)?
        regards, tom lane


pgsql-hackers by date:

Previous
From: The Hermit Hacker
Date:
Subject: Re: 7.2 stuff
Next
From: Reiner Dassing
Date:
Subject: Re: RE: Universal admin frontend