Re: cannot detect too many clients

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: cannot detect too many clients
Date: 2001-09-03 18:22:03
Message-ID: 5629.999541323@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp> writes:
> I have a fatal error message while connecting more than 32 users using
> current:

> Aug 29 11:25:18 srapc1474 postgres[12189]: [1] FATAL 1:
> ProcGetNewSemIdAndNum: cannot allocate a free semaphore

> rather than a more informative message:

> Sorry, too many clients already

> Does anynbody know what's happening?

Ugh. I thought I'd tested that. The problem is that it runs out of
semaphores before noting that there's no free slots in the PROC array
(which is where the "more informative" message was supposed to come
out). Need to rearrange the order of operations, or some such.
Will fix.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Colin 't Hart 2001-09-03 18:30:11 Re: Porting to Native WindowsNT/2000
Previous Message Peter Eisentraut 2001-09-03 17:57:37 Re: INDEX BUG???