Re: some linux tuning

From: Stephen R. van den Berg <srb@dont-contact.us>
Date: Sat, 26 Jun 1999 21:08:14 +0200

Ted_Rule@flextech.co.uk wrote:
>Sample of my very small cache after nearly 3 weeks uptime. I comput the leak at
>~3kbyte per minute.

Which matches with the notion that it seems to be a *small* regular malloc()
which is never freed.

> Number of HTTP requests received: 2344439
> Ordinary blocks: 142550 KB 310661 blks
> Total in use: 143062 KB 96%
> Total accounted: 46504 KB

That means, total leaked is approximately: 142550-46504-10000 = 86046 KB
That's an approximate: 86046/2344439 = 37.6 bytes
per request. Substracting malloc overhead,
that means that the average object size lost is 29.6 bytes per request.

How well does that fit in with other samples?
You didn't show your request count, Jon.

-- 
Sincerely,                                                          srb@cuci.nl
           Stephen R. van den Berg (AKA BuGless).
"Father's Day: Nine months before Mother's Day."
Received on Sat Jun 26 1999 - 12:46:23 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:47:00 MST