Re: semctl(): Invalid argument

Поиск
Список
Период
Сортировка
От Marc G. Fournier
Тема Re: semctl(): Invalid argument
Дата
Msg-id 20060402163341.P947@ganymede.hub.org
обсуждение исходный текст
Ответ на semctl(): Invalid argument  ("Marc G. Fournier" <scrappy@postgresql.org>)
Ответы Re: semctl(): Invalid argument  (Koen Martens <pgsql@metro.cx>)
Список pgsql-admin
It looks like moving to FreeBSD 6.x for some of our servers is biting me
in the butt ... they "broke" something with semaphores that used to work
with 4.x, so that you can't run two postmasters on port 5432 within two
seperate jails ... :(

On Sun, 2 Apr 2006, Marc G. Fournier wrote:

>
> What would cause the following?
>
> # psql -U pgsql -l
> psql: FATAL:  semctl(327686, 3, SETVAL, 0) failed: Invalid argument
>
> The server is FreeBSD 6.1-PRERELEASE ... there are two jails running on it
> ... both jails are running PostgreSQL 7.4 ... I have the kernel built with
> enough semaphores:
>
> options         SYSVSHM
> options         SHMMAXPGS=199608
> options         SHMMAX=(SHMMAXPGS*PAGE_SIZE+1)
>
> options         SYSVSEM
> options         SEMMNI=4096
> options         SEMMNS=8192
>
> options         SYSVMSG                 # SYSV-style message queues
>
> And am definitely not using that many:
>
> (from ipcs -a):
>           ID          KEY MODE        OWNER    GROUP    CREATOR  CGROUP
> NSEMS OTIME    CTIME s       393216      5432001 --rw-------       70
> 70       70       70           17 13:46:07 13:46:07
> s       393217      5432002 --rw-------       70       70       70       70
> 17 13:46:07 13:46:07
> s       393218      5432003 --rw-------       70       70       70       70
> 17 13:46:07 13:46:07
> s       393219      5432004 --rw-------       70       70       70       70
> 17 13:46:07 13:46:07
> s       393220      5432005 --rw-------       70       70       70       70
> 17 13:46:07 13:46:07
> s       393221      5432006 --rw-------       70       70       70       70
> 17 13:46:07 13:46:07
> s       393222      5432007 --rw-------       70       70       70       70
> 17 13:46:07 13:46:07
>
> So figure there must be something else that I should be looking at ...
>
> Thanks ...
>
> ----
> Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
> Email: scrappy@hub.org           Yahoo!: yscrappy              ICQ: 7615664
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: explain analyze is your friend
>

----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email: scrappy@hub.org           Yahoo!: yscrappy              ICQ: 7615664

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Show tables query
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Show tables query