Re: some linux tuning

From: <jlewis@dont-contact.us>
Date: Sat, 26 Jun 1999 14:20:39 -0400 (EDT)

On Sat, 26 Jun 1999, Stephen R. van den Berg wrote:

> Where do you notice the leak?
> I.e. does it appear in the Memory Utilisation overview? As what?
> Or does it only appear under General Runtime Information?
> Or just in the reported memory in use by ps? What type of memory
> is being used? How far is it above what General Runtime Information
> reports?

Here's memory usage after 1.5 days runtime. This is from an old post of
mine.

Memory usage for squid via mallinfo():
        Total space in arena: 226629 KB
        Ordinary blocks: 217882 KB 353099 blks
        Small blocks: 0 KB 0 blks
        Holding blocks: 1392 KB 4 blks
        Free Small blocks: 0 KB
        Free Ordinary blocks: 8746 KB
        Total in use: 219274 KB 97%
        Total free: 8746 KB 4%
Memory accounted for:
        Total accounted: 96695 KB

Last weekend, 2 patches came out that were supposed to fix 2 leaks. I
applied them, but they don't seem to have helped. I had to restart squid
last night. Here's the stats so far after just 49969 seconds (2.2.S3 +
the two patches from last weekend):

Memory usage for squid via mallinfo():
        Total space in arena: 127881 KB
        Ordinary blocks: 125839 KB 81216 blks
        Small blocks: 0 KB 0 blks
        Holding blocks: 368 KB 2 blks
        Free Small blocks: 0 KB
        Free Ordinary blocks: 2042 KB
        Total in use: 126207 KB 99%
        Total free: 2042 KB 2%
Memory accounted for:
        Total accounted: 90467 KB

So...it knows it's allocating memory, but doesn't seem to know what it did
with it.

I was actually considering applying your patches that you posted about a
few days ago to see if that made a difference.

----don't waste your cpu, crack rc5...www.distributed.net team enzo---
 Jon Lewis *jlewis@lewis.org*| Spammers will be winnuked or
 System Administrator | nestea'd...whatever it takes
 Atlantic Net | to get the job done.
_________http://www.lewis.org/~jlewis/pgp for PGP public key__________
Received on Sat Jun 26 1999 - 12:01:30 MDT

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