[HACKERS] Re: postgres memory management

2001-01-23 Thread Justin Clift
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 ipc

Re: [HACKERS] Re: postgres memory management

2001-01-23 Thread Alexander Jerusalem
At 22:29 22.01.01, Alfred Perlstein wrote: >* Peter Mount <[EMAIL PROTECTED]> [010122 13:21] wrote: > > At 13:18 21/01/01 +0100, Alexander Jerusalem wrote: > > >Hi all, > > > > > >I'm experiencing some strange behaviour with postgresql 7.0.3 on Red Hat > > >Linux 7. I'm sending lots of insert stat

[HACKERS] Re: postgres memory management

2001-01-23 Thread Pete Forman
Justin Clift writes: > 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. A standard way of finding a process by name without the grep itself appea