Re: [HACKERS] PID of backend

From: Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>
To: Dmitry Samersoff <dms(at)wplus(dot)net>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] PID of backend
Date: 1999-06-02 15:05:05
Message-ID: Pine.GSO.3.96.SK.990602190410.6766P-100000@ra
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, 2 Jun 1999, Dmitry Samersoff wrote:

> Date: Wed, 02 Jun 1999 18:56:55 +0400 (MSD)
> From: Dmitry Samersoff <dms(at)wplus(dot)net>
> To: pgsql-hackers(at)postgreSQL(dot)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(at)wplus(dot)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(at)sai(dot)msu(dot)su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1999-06-02 15:19:17 Re: [HACKERS] Re: [SQL] Column name's length
Previous Message Dmitry Samersoff 1999-06-02 14:56:55 PID of backend