Unix Technical Forum

Re: Re: [BUGS] BUG #3242: FATAL: could not unlock semaphore:error code 298

This is a discussion on Re: Re: [BUGS] BUG #3242: FATAL: could not unlock semaphore:error code 298 within the pgsql Hackers forums, part of the PostgreSQL category; --> Magnus Hagander wrote: >> >> The effective max count on Unixen is typically in the thousands, >> and I'd ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Hackers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-12-2008, 08:22 AM
Andrew Dunstan
 
Posts: n/a
Default Re: Re: [BUGS] BUG #3242: FATAL: could not unlock semaphore:error code 298

Magnus Hagander wrote:
>>
>> The effective max count on Unixen is typically in the thousands,
>> and I'd suggest the same on Windows unless there's some efficiency
>> reason to keep it small (in which case, maybe ten would do).
>>

>
> AFAIK there's no problem with huge numbers (it takes an int32, and the
> documentation says nothing about a limit - I'm sure it's just a 32-bit
> counter in the kernel). I'll give that a shot.
>
>


Linux manpage suggests local max is 32767, so that's probably a good
value to try.

cheers

andrew

---------------------------(end of broadcast)---------------------------
TIP 7: You can help support the PostgreSQL project by donating at

http://www.postgresql.org/about/donate

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:01 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com