X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (developer.postgresql.org [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id 02CE7B43170 for ; Wed, 9 Jul 2003 03:14:42 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 59038-04 for ; Wed, 9 Jul 2003 00:14:29 -0300 (ADT) Received: from out-mta1.plasa.com (unknown [202.134.0.69]) by svr1.postgresql.org (Postfix) with ESMTP id 24F52B4315B for ; Wed, 9 Jul 2003 00:14:27 -0300 (ADT) Received: from [61.5.113.33] (helo=there) by out-mta1.plasa.com with smtp (Exim 4.20) id 19a5PM-00054V-HO for pgsql-admin@postgresql.org; Wed, 09 Jul 2003 10:14:21 +0700 Content-Type: text/plain; charset="iso-8859-1" From: aris wendy To: pgsql-admin@postgresql.org Subject: Kill Process ERROR !!! Date: Wed, 9 Jul 2003 09:52:38 +0000 X-Mailer: KMail [version 1.3.2] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200307/86 X-Sequence-Number: 9427 Dear master How to kill a process in postgresql. I use ps auxw | grep postgres to see status.... it-linux:/usr/local/pgsql/data# ps auxw | grep postgres postgres 197 0.0 7.1 318528 64244 ? S 08:07 0:00 /usr/local/pgsql/bin/postmaster postgres 206 0.0 0.1 319484 1244 ? S 08:07 0:00 postgres: stats buffer process postgres 207 0.0 6.1 318516 55580 ? S 08:07 0:00 postgres: stats collector process yudha 571 0.0 0.1 2448 1068 pts/0 S 09:56 0:00 psql -Upostgres csa postgres 572 0.0 8.8 319940 79208 ? S 09:56 0:00 postgres: postgres csa [local] idle postgres 582 0.5 9.6 320284 86968 ? S 10:02 0:00 postgres: it csa 192.168.0.234 idle postgres 587 1.1 10.4 320972 93636 ? S 10:04 0:00 postgres: postgres csa 192.168.0.111 idle postgres 588 14.6 10.0 320536 90448 ? S 10:04 0:01 postgres: postgres csa 192.168.0.100 idle postgres 589 2.0 7.3 318844 66232 ? S 10:05 0:00 postgres: checkpoint subprocess postgres 590 0.0 7.9 320020 71592 ? R 10:05 0:00 postgres: postgres csa 192.168.0.222 SELECT root 592 0.0 0.0 1332 424 pts/1 S 10:05 0:00 grep postgres I want to kill process no 582, I use kill -9 582 but all user become disconnect look at below it-linux:/usr/local/pgsql/data# ps auxw | grep postgres postgres 197 0.0 7.1 318564 64264 ? S 08:07 0:00 /usr/local/pgsql/bin/postmaster postgres 206 0.0 0.1 319484 1244 ? S 08:07 0:00 postgres: stats buffer process postgres 207 0.0 6.1 318516 55580 ? S 08:07 0:00 postgres: stats collector process yudha 571 0.0 0.1 2448 1068 pts/0 S 09:56 0:00 psql -Upostgres csa root 599 0.0 0.0 1332 424 pts/1 S 10:06 0:00 grep postgres how to kill only one process ? TIA Best Regards Aris Wendy