RE: [QUESTIONS] Identity Crisis

From: "Jackson, DeJuan" <djackson(at)cpsgroup(dot)com>
To: Len Morgan <len-morgan(at)xroadstx(dot)com>, pgsql-questions(at)postgreSQL(dot)org
Cc: PostgreSQL Hackers Mailing List <pgsql-hackers(at)hub(dot)org>
Subject: RE: [QUESTIONS] Identity Crisis
Date: 1998-05-05 17:22:37
Message-ID: F10BB1FAF801D111829B0060971D839F26D93D@dal_cps.cpsgroup.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Forwarded to HACKERS.

> -----Original Message-----
> From: Len Morgan [SMTP:len-morgan(at)xroadstx(dot)com]
> Sent: Saturday, May 02, 1998 8:21 AM
> To: pgsql-questions(at)postgreSQL(dot)org
> Subject: [QUESTIONS] Identity Crisis
>
> I am running 6.3.2 at one of my client's sites that normally has 5
> users
> connected. The problem I run into is that after a couple of days, I
> end
> up with as many as 12-15 postgres backends running on the server. The
> users are encountering a bug in the code and then closing the window
> and
> restarting the program which never closes down the connection to the
> back end. My question is this: Is there a way to identify on the line
> which starts up the backends, which host is starting it? In other
> words, if I do ps -ax on the server, can I have an ip address or host
> name show up to let me know which host is connected to which backend?
> This will not entirely solve my problem, but it will let me know which
> user I need to educate about the proper way to work around the program
> bug. Currently, I just kill the processes off one by one. If
> somebody
> calls me in the next five minutes or so, it was a "live" one.
> Otherwise, nobody missed it. Also, if I send -SIGTERM to the
> individual
> backend's pid, will this properly clean up any memory that is in use?
>
> Thanks,
>
> len morgan
>
> --
> Official WWW Site: http://www.postgresql.org
> Online Docs & FAQ: http://www.postgresql.org/docs
> Searchable Lists: http://www.postgresql.org/mhonarc

Browse pgsql-hackers by date

  From Date Subject
Next Message Jackson, DeJuan 1998-05-05 17:39:23 RE: [QUESTIONS] Insert Errors
Previous Message Jackson, DeJuan 1998-05-05 17:19:33 RE: [QUESTIONS] Transaction Logs