Heikki Linnakangas <hlinnaka@iki.fi> writes:
> There was a stray postgres instance running on the box, which I killed:
FWIW, we've seen an awful lot of persistent buildfarm failures that
seemed to be due to port conflicts with leftover postmasters. I think
the buildfarm script needs to try harder to ensure that it's killed
everything after a run. No good ideas how to go about that exactly.
You could look through "ps" output for postmasters, but what if there's
a regular Postgres installation on the same box? Can we just document
that the buildfarm had better not be run as "postgres"? (If so, its
attempt to kill an unowned postmaster would fail anyway; else we need
a reliable way to tell which ones to kill.)
regards, tom lane