Re: [HACKERS] PID of backend

Поиск
Список
Период
Сортировка
От Oleg Bartunov
Тема Re: [HACKERS] PID of backend
Дата
Msg-id Pine.GSO.3.96.SK.990602190410.6766P-100000@ra
обсуждение исходный текст
Ответ на PID of backend  (Dmitry Samersoff <dms@wplus.net>)
Ответы Re: [HACKERS] PID of backend
Список pgsql-hackers
On Wed, 2 Jun 1999, Dmitry Samersoff wrote:

> Date: Wed, 02 Jun 1999 18:56:55 +0400 (MSD)
> From: Dmitry Samersoff <dms@wplus.net>
> To: pgsql-hackers@postgreSQL.org
> Subject: [HACKERS] PID of backend
> 
>  Hi World! 
> 
>  Does backend сreates pid file?
> 
>   Postgres 6.5 backend (current CVS) stop answering query
> 
>  >>> Jun  2 00:12:32 mail popper[17585]: PgSQL:ROLLBACK failed: PQsendQuery()
>  >>> There is no connection to the backend. 
> 
>  every 300 000 cursor allocation so I wish to restart it every 100 000
>  is there a way to do it simple than 
>    kill  `ps ax | awk .....`

Have you tried pidof postmaster ?
kill `pidof postmaster` | ....

Oleg

> 
>  Thank you!
> 
> PS:
>   6.4 works without problems with the same code, but I need more flexible
> locking on our new mail server.
> 
> 
> ---
> Dmitry Samersoff, dms@wplus.net, ICQ:3161705
> http://devnull.wplus.net
> * There will come soft rains ...
> 

_____________________________________________________________
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83



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

Предыдущее
От: Dmitry Samersoff
Дата:
Сообщение: PID of backend
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] 6.4.2/AIX: syslog support seems alright ?