From: David Lizano <david.lizano@izanet.com>
To: pgsql-admin@postgresql.org
Subject: RE: Sorry, too many clients already
Date: Mon, 26 Mar 2001 20:06:16 +0200
Message-ID: <4.3.2.7.0.20010326195629.00c1c930@192.168.1.1> (raw)
In-Reply-To: <Pine.LNX.4.30.0103261941160.1114-100000@peter.localdomain>
References: <NEBBKAGAHJHBKBDHNAIOIEAPCCAA.mahesh@himline.com>
At 19.42 26/3/01 +0200, you wrote:
>Mahesh Guleria writes:
>
> > Use these commands :
> >
> > ps -ef|grep post
> > kill -9 [process id]
>
>Don't do that, it might destroy your database. SIGTERM should be used to
>kill individual backends.
>
>--
>Peter Eisentraut peter_e@gmx.net http://yi.org/peter-e/
>
You can do it like this:
killall -TERM postmaster
or
kill -TERM `pidof postmaster`
The SIGTERM signal can be trapped by a process and when is invoked the
process can close all the opened resources like files and pipes.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
David Lizano - Director área técnica
correo-e: david.lizano@izanet.com
I Z A N E T - Servicios integrales de internet.
web: http://www.izanet.com/
Dirección: C/ Checa, 57-59, 3º D - 50.007 Zaragoza (España)
Teléfono: +34 976 25 80 23 Fax: +34 976 25 80 24
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: david.lizano@izanet.com
Subject: Re: Sorry, too many clients already
In-Reply-To: <4.3.2.7.0.20010326195629.00c1c930@192.168.1.1>
References: <NEBBKAGAHJHBKBDHNAIOIEAPCCAA.mahesh@himline.com> <4.3.2.7.0.20010326195629.00c1c930@192.168.1.1>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox