Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://961306]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (11)
As of 2017-01-16 17:43 GMT
Find Nodes?
    Voting Booth?
    Do you watch meteor showers?

    Results (151 votes). Check out past polls.