Possible problem with shm_mq spin lock

Поиск
Список
Период
Сортировка
От Haribabu Kommi
Тема Possible problem with shm_mq spin lock
Дата
Msg-id CAJrrPGfc0Rd7_UuKYFfaG2wkfWB_KJ11MytTN3-O9GOCCWimXw@mail.gmail.com
обсуждение исходный текст
Ответы Re: Possible problem with shm_mq spin lock
Список pgsql-hackers
Hi Hackers,

I am thinking of a possible problem with shm_mq structure spin lock.
This is used for protecting the shm_mq structure.

During the processing of any code under the spin lock, if the process
receives SIGQUIT signal then it is leading to a dead lock situation.

SIGQUIT->proc_exit->shm_mq_detach->try to acquire spin lock. The spin
lock is already took by the process.

It is very dificult to reproduce the problem as because the code under
the lock is very minimal.
Please let me know if I missed anything.

Regards,
Hari Babu
Fujitsu Australia



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

Предыдущее
От: Thom Brown
Дата:
Сообщение: Re: [PATCH] Support for Array ELEMENT Foreign Keys
Следующее
От: Steve Singer
Дата:
Сообщение: "snapshot too large" error when initializing logical replication (9.4)