pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: aris wendy <aris_postgre@telkom.net>
To: pgsql-admin@postgresql.org
Subject: Kill Process ERROR !!!
Date: Wed, 9 Jul 2003 09:52:38 +0000
Message-ID: <E19a5PM-00054V-HO@out-mta1.plasa.com> (raw)

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 



view thread (7+ messages)  latest in thread

Message-ID: <E19a5PM-00054V-HO@out-mta1.plasa.com>
Permalink:  ../E19a5PM-00054V-HO@out-mta1.plasa.com/
Also on:    postgresql.org/message-id/E19a5PM-00054V-HO@out-mta1.plasa.com

 · 

reply

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: aris_postgre@telkom.net
  Subject: Re: Kill Process ERROR !!!
  In-Reply-To: <E19a5PM-00054V-HO@out-mta1.plasa.com>
  References: <E19a5PM-00054V-HO@out-mta1.plasa.com>

* 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