Pid file magically disappears

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Pid file magically disappears
Дата
Msg-id Pine.LNX.4.21.0006250246290.348-100000@localhost.localdomain
обсуждение исходный текст
Список pgsql-hackers
Can anybody else reproduce this in the current development version?

Start one postmaster in the foreground. Start another one on the same data
dir in the background on a different port (say -p 8888 -S). It will give
you a message about the pid file thing and then it seems to delete the pid
file on my system.

What's really scary is that when I try to step through this with a
debugger then the pid file stays in place.

(An alternative way to do this is to `echo foo > postmaster.pid ; chmod
0000 postmaster.pid'. In any case you must start the server with -S.)

Linux 2.2.12 i586
egcs-2.91.66
gdb 4.17.0.4
--enable-debug, --enable-cassert

-- 
Peter Eisentraut                  Sernanders väg 10:115
peter_e@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden



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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: About the pid and opts files
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Big 7.1 open items