Re: postgres memory management

From: Justin Clift <aa2(at)bigpond(dot)net(dot)au>
To: Alexander Jerusalem <ajeru(at)gmx(dot)net>
Cc: pgsql-general(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Re: postgres memory management
Date: 2001-01-23 02:03:58
Message-ID: 3A6CE68E.91797F26@bigpond.net.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers pgsql-jdbc

Hi Alexander,

I've noticed that the PG 7.03 ipcclean script uses "ps x | grep -s
'postmaster'" to determine if a postmaster daemon is still running,
which at least for Mandrake Linux 7.2 doesn't work as expected. With
this version of linux, the ps & grep combination will find itself and
then ipcclean will complain about an existing postmaster.

I found the solution to this being to edit the ipcclean script and
change the "ps x | grep -s 'postmaster'" part to "ps -e | grep -s
'postmaster'". This then works correctly with Mandrake 7.2.

Regards and best wishes,

Justin Clift

<snip>
>
> Oddly, when I try to run ipcclean a second time, it says: ipcclean: You
> still have a postmaster running. Which is not the case as ps -e proves.
>
> Alexander Jerusalem
> ajeru(at)gmx(dot)net
> vknn

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message tc lewis 2001-01-23 02:21:58 pleasing the corporate-types.
Previous Message Paul M Foster 2001-01-23 01:45:24 Re: Data entry screen building utilities

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2001-01-23 02:24:42 Re: int4 or int32
Previous Message Tom Lane 2001-01-23 02:00:25 Re: int4 or int32

Browse pgsql-jdbc by date

  From Date Subject
Next Message The Hermit Hacker 2001-01-23 04:29:20 subject_prefix not being set ...
Previous Message Barry Lind 2001-01-23 00:48:20 Re: [GENERAL] postgres memory management