Re: Error with tcp/ip networking - Mailing list pgsql-general

From Jules Bean
Subject Re: Error with tcp/ip networking
Date
Msg-id 20000831141743.K24680@grommit.office.vi.net
Whole thread Raw
In response to Re: Error with tcp/ip networking  (Travis Bauer <trbauer@cs.indiana.edu>)
List pgsql-general
On Thu, Aug 31, 2000 at 07:30:36AM -0500, Travis Bauer wrote:
> Well, there were two other copies of postgress running, and at least one
> was tying up port 5432, but . . .
>
> I couldn't see them with 'ps' or 'ps -a', netstat did not list them as
> using a port, but it did list something as having "Active UNIX domain
> sockets," listing the tmp files I had deleted yesterday as the socket
> location (it didn't name postmaster with them).  I found it by making my
> xterm quit long and running top.  The showed up as being owned by
> me.  Now I'm back in business, but I don't understand why they didn't
> show up in ps or ps -a.

I daresay you wanted ps -ax, since they didn't have a controlling terminal.

In future, always use ps -auwx before assuming a process doesn't exist
-- that catches them all. (Except on some SYSV-style pses, in which
case you want ps -ef, I think)

Jules


pgsql-general by date:

Previous
From: "Campbell, Scott"
Date:
Subject: problems with transactions
Next
From: Jules Bean
Date:
Subject: Re: problems with transactions