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

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: [HACKERS] Re: BUG #3242: FATAL: could not unlock semaphore: error code 298
Дата
Msg-id 4628F9A7.70200@dunslane.net
обсуждение исходный текст
Ответ на Re: BUG #3242: FATAL: could not unlock semaphore: error code 298  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-bugs
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


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

Предыдущее
От: "Andreas"
Дата:
Сообщение: BUG #3246: User "name" could not be created.
Следующее
От: "Dorochevsky,Michel"
Дата:
Сообщение: Re: BUG #3245: PANIC: failed to re-find shared lock ob ject