Re: [HACKERS] Reducing sema usage (was Postmaster dies with many child processes)

Поиск
Список
Период
Сортировка
От Vadim Mikheev
Тема Re: [HACKERS] Reducing sema usage (was Postmaster dies with many child processes)
Дата
Msg-id 36B514B1.9D5BCA8F@krs.ru
обсуждение исходный текст
Ответ на Reducing sema usage (was Postmaster dies with many child processes)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> 
> I said:
> > Another thing we ought to look at is changing the use of semaphores so
> > that Postgres uses a fixed number of semaphores, not a number that
> > increases as more and more backends are started.  Kernels are
> > traditionally configured with very low limits for the SysV IPC
> > resources, so having a big appetite for semaphores is a Bad Thing.
> 
...
> 
> Any thoughts about which way to jump?  I'm sort of inclined to take
> the simpler approach myself...

Could we use sigpause (or something like this) to block
and some signal to wake up?

Vadim


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

Предыдущее
От: Thomas Reinke
Дата:
Сообщение: Table exists, but not accessible?
Следующее
От: Vadim Mikheev
Дата:
Сообщение: Re: [HACKERS] READ COMMITTED isolevel is implemented ...