[users at bb.net] How to check worker?

Chris Spencer chrisspen at gmail.com
Fri Mar 31 16:50:58 UTC 2017


Thanks.

On Fri, Mar 31, 2017 at 10:45 AM, Pierre Tardy <tardyp at gmail.com> wrote:

> Hi Chris,
>
> For me, this is a task you want to give to systemd or supervisord.
>
> If you still want to do this manually, twistd sets a .pid file in the
> working directory.
> On linux, you can just use something like test -d /proc/`cat twistd.pid`
>
>
> On Fri, Mar 31, 2017 at 4:30 PM Chris Spencer <chrisspen at gmail.com> wrote:
>
>> How do you check programmatically to see if a worker is running?
>>
>> My worker keeps getting sigkilled, and it's unclear why, so I'd like to
>> create a cron job to check to see if it's running, and if it's stopped, to
>> restart buildbot. However, buildbot-worker doesn't have a `status
>> _______________________________________________
>> users mailing list
>> users at buildbot.net
>> https://lists.buildbot.net/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildbot.net/pipermail/users/attachments/20170331/b4e2bb8b/attachment.html>


More information about the users mailing list