Search Postgresql Archives

Custom GIST getting ERROR: too many LWLocks taken

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

 



Hi,
  Perhaps this post is better suited to another PG mailing list? If this
is the cast then apologies up front :/

  I've been playing around with improving some of the GiST code in PG
8.1 to better take advantage of domain knowledge where I am applying it.
I am now getting "ERROR:  too many LWLocks taken" when I create index on
a largish table (about 50Mb index should be generated).

I only get this when shuffling around some index tuples inside
picksplit(). The pointers and left/right splits all seem to be in order
when I return and the smaller indexes I've created using this code are
all fine. My GiST is based on an existing implementation from PG 8.1 so
the allocation of the pages etc should all be fine.

Any hints as to what could be eating up LWLocks in this case?

Thanks.


Attachment: signature.asc
Description: This is a digitally signed message part


[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