Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^5: leak detection in other (non-perl) processes

by Eliya (Vicar)
on Mar 23, 2012 at 20:17 UTC ( #961306=note: print w/ replies, xml ) Need Help??


in reply to Re^4: leak detection in other (non-perl) processes
in thread leak detection in other (non-perl) processes

As long as you don't set a fixed time frame for the observation/analysis, everything will be just a more or less useful heuristic.

Anyhow, I think you want to fit a trend line through the entire data1, and if it isn't flat, you likely have a leak.  This assumes the evaluation interval is (considerably) longer than the period of any cyclic behavior you might observe.

___

1 if you're worried about outliers, you might want to look for a statistics package that can compute the fit based on minimizing linear deviations, instead of squared deviations, as done in a standard "least squares" fit (see also LAD).


Comment on Re^5: leak detection in other (non-perl) processes

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://961306]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2015-07-06 00:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (68 votes), past polls