futex lockup? - Mailing list pgsql-general

From Rob Newton
Subject futex lockup?
Date
Msg-id 43E98E26.4000000@mirrabooka.com
Whole thread Raw
Responses Re: futex lockup?  (Martijn van Oosterhout <kleptog@svana.org>)
List pgsql-general
Hi,

I wrote a program using pgsql's ESQL/C.  Occasionally it blocks
forever on a system call futex(), and I'm wondering if pgsql's
libraries use this futex call?? (because my code doesn't use it).

Because the problem only occurs occasionally I can't really trace
it while it's running.  But when I discover it's locked up, and
then do a trace, I get the following:

   Process 19893 attached - interrupt to quit
   futex(0x238f20, FUTEX_WAIT, 2, NULL

I'm using psql 8.0.3 on Linux FC4 (kernel 2.6.11-1).

Thankyou,
Rob Newton


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: B-tree performance improvements in 8.x
Next
From: Bruno Wolff III
Date:
Subject: Re: Question