Re: postgres memory management
Justin Clift <aa2@bigpond.net.au>
From: Justin Clift <aa2@bigpond.net.au>
To: Alexander Jerusalem <ajeru@gmx.net>
Cc: pgsql-general@postgresql.org, pgsql-hackers@postgresql.org
Date: 2001-01-23T02:03:58Z
Lists: pgsql-hackers, pgsql-general
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@gmx.net > vknn