librelist archives

« back to archive

QUIT signal + God process monitoring

QUIT signal + God process monitoring

From:
Sunil Khedar
Date:
2010-03-16 @ 16:07
Hi All,

I am using God to controll Resque processes (example script in examples).
Can you please point me how to pass appropriate signal (QUIT - Wait for
child to finish processing then exit) to while restarting or starting
Resque? I haven't seen example of it.

Thanks,
Sunil

Re: [resque] QUIT signal + God process monitoring

From:
jay amster
Date:
2010-03-16 @ 16:19
I use this:

sudo kill -SIGQUIT  `ps aux | grep [r]esque | grep -v grep | cut -c 10-16`



On Tue, Mar 16, 2010 at 12:07 PM, Sunil Khedar <sunil@truesparrow.com>wrote:

> Hi All,
>
> I am using God to controll Resque processes (example script in examples).
> Can you please point me how to pass appropriate signal (QUIT - Wait for
> child to finish processing then exit) to while restarting or starting
> Resque? I haven't seen example of it.
>
> Thanks,
> Sunil
>

Re: [resque] QUIT signal + God process monitoring

From:
Chris Wanstrath
Date:
2010-03-16 @ 17:58
On Tue, Mar 16, 2010 at 11:07 AM, Sunil Khedar <sunil@truesparrow.com> wrote:

> I am using God to controll Resque processes (example script in examples).
> Can you please point me how to pass appropriate signal (QUIT - Wait for
> child to finish processing then exit) to while restarting or starting
> Resque? I haven't seen example of it.

$ god signal resque SIGQUIT

-- 
Chris Wanstrath
http://github.com/defunkt

Re: [resque] QUIT signal + God process monitoring

From:
Sunil Khedar
Date:
2010-03-17 @ 10:45
Thanks guys!

On Tue, Mar 16, 2010 at 11:28 PM, Chris Wanstrath <chris@ozmm.org> wrote:

> On Tue, Mar 16, 2010 at 11:07 AM, Sunil Khedar <sunil@truesparrow.com>
> wrote:
>
> > I am using God to controll Resque processes (example script in examples).
> > Can you please point me how to pass appropriate signal (QUIT - Wait for
> > child to finish processing then exit) to while restarting or starting
> > Resque? I haven't seen example of it.
>
> $ god signal resque SIGQUIT
>
> --
> Chris Wanstrath
> http://github.com/defunkt

QUIT signal + God process monitoring

From:
Sunil Khedar
Date:
2010-03-16 @ 16:10
Hi All,

I am using God to controll Resque processes (example script in examples).
Can you please point me how to pass appropriate signal (QUIT - Wait for
child to finish processing then exit) to while restarting or starting
Resque? I haven't seen example of it.

Thanks,
Sunil