Re: Kernel memory leak

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, Jul 10, 2007 at 01:26:53PM -0700, Bizhan Gholikhamseh (bgholikh) wrote:
> I am running kernel 2.6.11 on my platform.
> I  think my system has  memory leak either in kernel or application
> layer.  

I suppose you like historic kernels. If you ever suspect a kernel bug,
try with the latest stable kernel and see if the problem goes away.

> To detect kernel memory leak, I have  been looking at slab information
> using slabtop utility. Here are my questions:
> 1- how to interpret each field? any docs???

Read the original slab paper: 

  http://citeseer.ist.psu.edu/bonwick94slab.html

(click the "view or download" links in the upper right corner).

> 2- slaptop shows the "buffer_head" keeps increasing (almost to the
> amount that free memory is reducing), what this indicates?

It indicates that the kernel caches disk IO. Nothing special, it's
considered a good thing. Free memory OTOH is considered a bad thing,
memory should be used as much as possible.


Erik

- -- 
They're all fools. Don't worry. Darwin may be slow, but he'll
eventually get them. -- Matthew Lammers in alt.sysadmin.recovery
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGlJm//PlVHJtIto0RAoptAJ4yT8JmL4yHrprzL8V0RMGPQXd4rgCdFRg7
TPI62imdYloIelzip/tbKfI=
=aEJB
-----END PGP SIGNATURE-----

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux