Skip site navigation (1) Skip section navigation (2)

Re: [Pgbuildfarm-members] Version 4.10 of buildfarm client released.

From: "Kevin Grittner" <kgrittn(at)mail(dot)com>
To: "Andrew Dunstan" <andrew(at)dunslane(dot)net>
Cc: hlinnaka(at)iki(dot)fi,"PostgreSQL-development" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [Pgbuildfarm-members] Version 4.10 of buildfarm client released.
Date: 2013-01-13 15:58:32
Message-ID: 20130113155835.324980@gmx.com (view raw or flat)
Thread:
Lists: pgsql-hackers
Andrew Dunstan wrote:

> Part of the trouble with detecting rogue postmasters it might have left 
> lying around is that various things like to decide what port to run on, 
> so it's not always easy for the buildfarm to know what it should be 
> looking for.

For Linux, perhaps some form of lsof with the +D option?  Maybe?:

lsof +D "$PGDATA" -Fp | grep -E '^p[0-9]{1,5}$' | cut -c1- | xargs kill -9

-Kevin


Responses

pgsql-hackers by date

Next:From: Andrew DunstanDate: 2013-01-13 17:08:35
Subject: Re: [Pgbuildfarm-members] Version 4.10 of buildfarm client released.
Previous:From: Dimitri FontaineDate: 2013-01-13 15:53:30
Subject: Re: erroneous restore into pg_catalog schema

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group