status: short uptime

Peters C.L. C.L.Peters at soton.ac.uk
Tue Dec 6 05:48:25 EST 2016


I've also seen this behaviour. It seems to me that the uptime that gets shown on the status page is the amount of time elapsed since the first time the status page was visited. The first time I visit the status page I always get a small (< 1000) number of milliseconds uptime, regardless of how long the IdP has actually been up. 

For example, I restarted all of our dev IdPs yesterday, and having just visited the status page for the first time on each of them since they were restarted, they all reported a few hundred milliseconds of uptime.

I'm no expert on Spring Web Flows, but from a quick glance at the code, the status page looks like it just calls getStartupDate() on the ApplicationContext, which from the Spring Documentation, it says:

Return the timestamp when this context was first loaded.

I'm guessing this ApplicationContext for the status page isn't the same ApplicationContext as for other parts of the application, and so is only initialised when the page is first visited? Possibly.

Clayton
________________________________________
From: users [users-bounces at shibboleth.net] on behalf of Cantor, Scott [cantor.2 at osu.edu]
Sent: 05 December 2016 23:59
To: Shib Users
Subject: Re: status: short uptime

On 12/5/16, 6:28 PM, "users on behalf of IAM David Bantz" <users-bounces at shibboleth.net on behalf of dabantz at alaska.edu> wrote:

> Seems implausible the IdP restarted within a second of issue the status request on different days, so what does this really
> tell me?

I restarted one of mine last week:

### Identity Provider Information
idp_version: 3.3.0-SNAPSHOT
start_time: 2016-12-02T14:35:08-05:00
current_time: 2016-12-05T18:58:27-05:00
uptime: 274999332 ms

-- Scott


--
To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net


More information about the users mailing list