Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Trace when Kudu is stopped #498

Closed
suwatch opened this Issue · 6 comments

3 participants

@suwatch
Owner

We have a startup trace. Not sure if possible - we should see if there is a way to write a trace during stop. This will make it easier to correlate or understand the behavior.

@davidebbo
Owner

I have support for shutdown actions in WebActivator, so we might be able to use this. See this for an example.

@davidebbo
Owner

And obviously, it'll only work if it dies of natural causes :)

@suwatch
Owner

OK, I will do a quick test on Azure env for happy restart (change appsettings) and see if we can get the trace. For abrupt shutdown, we can't do much. Well at least, lacking of this trace could indicate abrupt shutdown.

@suwatch
Owner

Here is the sample trace. Uptime is how long since startup. LastRequestTime is how long since last request.

<step title="Process Shutdown" date="03/27 1:08:42" pid="1984,4,13" uptime="00:00:29.2636553" lastrequesttime="00:00:20.2329833" elapsed="0"/>

@davidebbo
Owner

Looks good.

@suwatch
Owner

Fix a5f6fd7

@suwatch suwatch closed this
@maggieying maggieying was assigned
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.