[HACKERS] [sqlsmith] stuck spinlock in pg_stat_get_wal_receiver after OOM

Поиск
Список
Период
Сортировка
От Andreas Seltenreich
Тема [HACKERS] [sqlsmith] stuck spinlock in pg_stat_get_wal_receiver after OOM
Дата
Msg-id 87h8vhtgj2.fsf@ansel.ydns.eu
обсуждение исходный текст
Ответы Re: [HACKERS] [sqlsmith] stuck spinlock in pg_stat_get_wal_receiverafter OOM  (Thomas Munro <thomas.munro@enterprisedb.com>)
Re: [HACKERS] [sqlsmith] stuck spinlock in pg_stat_get_wal_receiverafter OOM  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
Hi,

low-memory testing with REL_10_STABLE at 1f19550a87 produced the
following PANIC:
   stuck spinlock detected at pg_stat_get_wal_receiver, walreceiver.c:1397

I was about to wrap the pstrdup()s with a PG_TRY block, but I can't find
a spinlock being released in a PG_CATCH block anywhere, so maybe that's
a bad idea?

regards,
Andreas


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

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Gavin Flower
Дата:
Сообщение: Re: [HACKERS] 64-bit queryId?
Следующее
От: Thomas Munro
Дата:
Сообщение: Re: [HACKERS] [sqlsmith] stuck spinlock in pg_stat_get_wal_receiverafter OOM