Occupied port warning - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Occupied port warning
Date
Msg-id 200506281149.51696.peter_e@gmx.net
Whole thread Raw
Responses Re: Occupied port warning
Re: Occupied port warning
List pgsql-hackers
During a recent training session I was reminded about a peculiar 
misbehavior that recent PostgreSQL releases exhibit when the TCP port 
they are trying to bind to is occupied:

LOG:  could not bind IPv4 socket: Address already in use
HINT:  Is another postmaster already running on port 5432? If not, wait 
a few seconds and retry.
WARNING:  could not create listen socket for "localhost"

The trainees found this behavior somewhat unuseful.  Can someone remind 
me why this is not an error?  Does any other server software behave 
this way?

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Implementing SQL/PSM for PG 8.2
Next
From: "Dave Page"
Date:
Subject: For review: Server instrumentation patch