Re: postgres memory management
| От | Justin Clift |
|---|---|
| Тема | Re: postgres memory management |
| Дата | |
| Msg-id | 3A6CE68E.91797F26@bigpond.net.au обсуждение |
| Ответ на | Re: [GENERAL] postgres memory management (Alexander Jerusalem <ajeru@gmx.net>) |
| Список | pgsql-hackers |
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
В списке pgsql-hackers по дате отправления: