<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Sep 3, 2014 at 10:00 AM, Simon Davy <span dir="ltr"><<a href="mailto:bloodearnest@gmail.com" target="_blank">bloodearnest@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On 3 September 2014 13:42, Darryl Weaver <<a href="mailto:darryl.weaver@canonical.com">darryl.weaver@canonical.com</a>> wrote:<br>


> Thanks the IRC logs are pretty helpful.<br>
> We are seeing the same issue here at Sky,<br>
> config-changed hook runs "At random times".<br>
> This is when there are no user changes to the Juju config and no reboots<br>
> happening.<br>
> It is possible the juju agent restarted, but I don't think so, but will have<br>
> to collect some evidence first.<br>
<br>
</div>Right, this is what I expect is happening to us, but tracking it is<br>
tricky. We only noticed because our charm has an implementation issue<br>
in that it tries to reuse an authtoken that has a 24hr expiry.<br>
<br>
It might be helpful if some one on juju-core could details if there<br>
are specific circumstances where the juju agent may restart?<br>
<br><br></blockquote><div><br></div><div>Look in /var/log/syslog and /var/log/upstart for evidence of this restart. Maybe it died, and then upstart will start it again to keep it running. <br></div></div><br></div></div>