Re: Occasional 9.6.10 PMChildFlags fatal error, possibly due to >2parallel gathers

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема Re: Occasional 9.6.10 PMChildFlags fatal error, possibly due to >2parallel gathers
Дата
Msg-id CAEepm=0wo3ZtoAVnBPNoOTR1t9RuSyU2rexaOaD4RoGpR2e9sg@mail.gmail.com
обсуждение исходный текст
Ответ на Occasional 9.6.10 PMChildFlags fatal error, possibly due to >2parallel gathers  (Chris Snook <csnook@cloudflare.com>)
Ответы Re: Occasional 9.6.10 PMChildFlags fatal error, possibly due to >2parallel gathers  (Chris Snook <csnook@cloudflare.com>)
Список pgsql-bugs
On Wed, Feb 13, 2019 at 3:41 PM Chris Snook <csnook@cloudflare.com> wrote:
> For more context, I got these tightly packed around the first crash, with the first and last messages repeated
hundredsof times:
 
>
> FATAL:  sorry, too many clients already
> FATAL:  sorry, too many clients already
> FATAL:  sorry, too many clients already
> FATAL:  no free slots in PMChildFlags array
> WARNING:  could not remove shared memory segment "/PostgreSQL.1407760088": No such file or directory
> FATAL:  semop(id=2293786) failed: Invalid argument
> FATAL:  semop(id=2293786) failed: Invalid argument
> FATAL:  semctl(2064403, 7, SETVAL, 0) failed: Invalid argument
> FATAL:  semop(id=2621476) failed: Invalid argument
> FATAL:  semop(id=2621476) failed: Invalid argument
> FATAL:  semctl(2293786, 1, SETVAL, 0) failed: Invalid argument
> FATAL:  semctl(2621476, 10, SETVAL, 0) failed: Invalid argument
> WARNING:  could not remove shared memory segment "/PostgreSQL.1621779631": No such file or directory

Any chance you created a cronjob that runs as user "postgres" (or
whatever user the PostgreSQL cluster runs as), or logged in as that
user manually for some reason?  Systemd likes to blow away global IPC
resources associated with users when they log out.

https://www.postgresql.org/docs/11/kernel-resources.html#SYSTEMD-REMOVEIPC

-- 
Thomas Munro
http://www.enterprisedb.com


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

Предыдущее
От: "Guy Rouillier"
Дата:
Сообщение: Re[2]: BUG #15626: Incorrect version number shown in BigSQL installation
Следующее
От: Chris Snook
Дата:
Сообщение: Re: Occasional 9.6.10 PMChildFlags fatal error, possibly due to >2parallel gathers