Search Postgresql Archives

Re: vacuum issues under load?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ben Chobot <bench@xxxxxxxxxxxxxxx> writes:
> On Fri, 15 Jan 2010, Tom Lane wrote:
>> Try attaching to the process with gdb and getting a stack trace.

> #0  0x00007f59a5d78ca7 in semop () from /lib/libc.so.6
> #1  0x0000000000546656 in PGSemaphoreLock ()
> #2  0x00000000005618ee in LockBufferForCleanup ()
> #3  0x000000000045c8e2 in btbulkdelete ()

OK, so it's trying to get an exclusive page-level lock on some page of
the index.  The only thing that could block that for any long period is
if some other process is sitting with an open indexscan.  Look around
for processes that have been "idle in transaction" for a long time ...

			regards, tom lane

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux