Received: from correo.servidoresdns.net ([195.55.179.56]) by mail.postgresql.org (8.11.3/8.11.1) with ESMTP id f2QI7kw37240 for ; Mon, 26 Mar 2001 13:07:48 -0500 (EST) (envelope-from david.lizano@izanet.com) Received: from servidornt.izanet.com [195.55.250.69] by correo.servidoresdns.net with ESMTP (SMTPD32-6.04) id A50683D0268; Mon, 26 Mar 2001 20:05:58 +0200 Message-Id: <4.3.2.7.0.20010326195629.00c1c930@192.168.1.1> X-Sender: sj7010@192.168.1.1 X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Mon, 26 Mar 2001 20:06:16 +0200 To: pgsql-admin@postgresql.org From: David Lizano Subject: RE: Sorry, too many clients already In-Reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.postgresql.org id f2QI7vw37293 X-Archive-Number: 200103/190 X-Sequence-Number: 1037 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 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~