strange semaphore increase

Поиск
Список
Период
Сортировка
От Peter Schindler
Тема strange semaphore increase
Дата
Msg-id B0020906052@tellurian.net
обсуждение исходный текст
Список pgsql-general
Hi folks,

I've just recognized a strange behavior with the semaphores.
I don't really know how to interpret those numbers, so they might
absolutely ok, though.

I'm using 7.1b4 on a Solaris 2.7 Ultra5.

Each time I stop and start again via pg_ctl the numbers for
the semaphores do increase by 64K?

Is this OK?
Are there actually only 7 semaphores and they are just numbered
that way, or is this the number of semaphores ?
Is that behavior depended on a config setting?

Below is the sequence after a reboot. Before I was already at
about 150000.

sh-2.03$ ipcs
IPC status from <running system> as of Sat Feb 17 22:54:06 MET 2001
...
Semaphores:
s          0   0x52e2c1   --ra-------  peter_s      cad
s          1   0x52e2c2   --ra-------  peter_s      cad
s          2   0x52e2c3   --ra-------  peter_s      cad
s          3   0x52e2c4   --ra-------  peter_s      cad
s          4   0x52e2c5   --ra-------  peter_s      cad
s          5   0x52e2c6   --ra-------  peter_s      cad
s          6   0x52e2c7   --ra-------  peter_s      cad
...
Semaphores:
s      65536   0x52e2c1   --ra-------  peter_s      cad
s      65537   0x52e2c2   --ra-------  peter_s      cad
s      65538   0x52e2c3   --ra-------  peter_s      cad
s      65539   0x52e2c4   --ra-------  peter_s      cad
s      65540   0x52e2c5   --ra-------  peter_s      cad
s      65541   0x52e2c6   --ra-------  peter_s      cad
s      65542   0x52e2c7   --ra-------  peter_s      cad
...
Semaphores:
s     131072   0x52e2c1   --ra-------  peter_s      cad
s     131073   0x52e2c2   --ra-------  peter_s      cad
s     131074   0x52e2c3   --ra-------  peter_s      cad
s     131075   0x52e2c4   --ra-------  peter_s      cad
s     131076   0x52e2c5   --ra-------  peter_s      cad
s     131077   0x52e2c6   --ra-------  peter_s      cad
s     131078   0x52e2c7   --ra-------  peter_s      cad

Thanks.
peter

--
Peter Schindler
   Synchronicity Inc.            |  pschindler@synchronicity.com
   http://www.synchronicity.com  |  +49 89 89 66 99 42 (Germany)

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Function reference
Следующее
От: "Sam & Lisa Snow"
Дата:
Сообщение: PHP style Annotated Manual