Re: [GENERAL] run function on server restart

2012-08-26 Thread John D. West
It's become clear I need to go back and rethink my logic for this functionality. Thanks for all of the suggestions. -- John On Sat, Aug 25, 2012 at 12:40 AM, Chris Angelico wrote: > On Sat, Aug 25, 2012 at 8:25 AM, John D. West wrote: > > I *think* my independent processe

Re: [GENERAL] run function on server restart

2012-08-24 Thread John D. West
hat is available? Thanks! -- John On Fri, Aug 24, 2012 at 3:56 PM, Kevin Grittner wrote: > "John D. West" wrote: > > > I have various background processes outside of postgres that need > > to be killed and restarted after the server reboots. > > All of our appl

Re: [GENERAL] run function on server restart

2012-08-24 Thread John D. West
I have various background processes outside of postgres that need to be killed and restarted after the server reboots. -- John On Fri, Aug 24, 2012 at 2:29 PM, Kevin Grittner wrote: > "John D. West" wrote: > > > Sometimes the server process crashes and restarts,

[GENERAL] run function on server restart

2012-08-24 Thread John D. West
Sometimes the server process crashes and restarts, usually when I run some large calculations that eat up all available memory. Is there any way to detect this and run a cleanup routine when it happens? Running 8.4 on Ubuntu. -- John