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

From: Vadim Mikheev <vadim(at)krs(dot)ru>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Reducing sema usage (was Postmaster dies with many child processes)
Date: 1999-02-01 02:42:57
Message-ID: 36B514B1.9D5BCA8F@krs.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Vadim Mikheev 1999-02-01 03:05:05 Re: [HACKERS] READ COMMITTED isolevel is implemented ...
Previous Message Thomas Reinke 1999-02-01 00:22:03 Table exists, but not accessible?