All of lore.kernel.org
 help / color / mirror / Atom feed
* file_lock_cache won't shink down
@ 2003-09-12 16:48 Alberto Bertogli
  0 siblings, 0 replies; 4+ messages in thread
From: Alberto Bertogli @ 2003-09-12 16:48 UTC (permalink / raw)
  To: linux-kernel, viro


Hi there!

I've put 2.6.0-test5 yesterday on a mail server and today I noticed that
there was a huge amount of memory 'missing' from vmstat.

So I took a look at slabinfo and found out that file_lock_cache has a huge
amount of objects that won't shink down even under memory pressure.

The line, as it is now, looks like:
file_lock_cache   5828600 5828600     96   40    1 : tunables  120   60 \
	8 : slabdata 145715 145715      0

The whole slabinfo is attached.

This is a dual Pentium III with 1Gb RAM and three SCSI disks in two
Adaptec aic7896/97.

I don't know if I can hold the server up for much longer so please if you
want me to get any other information let me know.


Thanks a lot,
		Alberto



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: file_lock_cache won't shink down
@ 2003-09-13  0:51 Matthew Wilcox
  2003-09-13  6:59 ` Alberto Bertogli
  0 siblings, 1 reply; 4+ messages in thread
From: Matthew Wilcox @ 2003-09-13  0:51 UTC (permalink / raw)
  To: Alberto Bertogli; +Cc: linux-kernel


Hi, Alberto.  Please try
http://ftp.linux.org.uk/pub/linux/willy/patches/flock-memleak.diff

-- 
"It's not Hollywood.  War is real, war is primarily not about defeat or
victory, it is about death.  I've seen thousands and thousands of dead bodies.
Do you think I want to have an academic debate on this subject?" -- Robert Fisk

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: file_lock_cache won't shink down
  2003-09-13  0:51 file_lock_cache won't shink down Matthew Wilcox
@ 2003-09-13  6:59 ` Alberto Bertogli
  2003-09-13 13:09   ` Alberto Bertogli
  0 siblings, 1 reply; 4+ messages in thread
From: Alberto Bertogli @ 2003-09-13  6:59 UTC (permalink / raw)
  To: Matthew Wilcox; +Cc: linux-kernel

On Sat, Sep 13, 2003 at 01:51:23AM +0100, Matthew Wilcox wrote:
> Hi, Alberto.  Please try
> http://ftp.linux.org.uk/pub/linux/willy/patches/flock-memleak.diff

I've just put it in, it seems to be working so far but I'll tell you
tomorrow for sure after it's been under some pressure.


Thanks a lot,
		Alberto



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: file_lock_cache won't shink down
  2003-09-13  6:59 ` Alberto Bertogli
@ 2003-09-13 13:09   ` Alberto Bertogli
  0 siblings, 0 replies; 4+ messages in thread
From: Alberto Bertogli @ 2003-09-13 13:09 UTC (permalink / raw)
  To: Matthew Wilcox, linux-kernel

On Sat, Sep 13, 2003 at 03:59:14AM -0300, Alberto Bertogli wrote:
> On Sat, Sep 13, 2003 at 01:51:23AM +0100, Matthew Wilcox wrote:
> > Hi, Alberto.  Please try
> > http://ftp.linux.org.uk/pub/linux/willy/patches/flock-memleak.diff
> 
> I've just put it in, it seems to be working so far but I'll tell you
> tomorrow for sure after it's been under some pressure.

It's been tested enough to confirm that it's working great!

Thanks a lot for the patch, I really hope this goes into mainline as it
fixes a very serious and easily reproduceable bug.


Thanks again,
		Alberto



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-09-13 13:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-13  0:51 file_lock_cache won't shink down Matthew Wilcox
2003-09-13  6:59 ` Alberto Bertogli
2003-09-13 13:09   ` Alberto Bertogli
  -- strict thread matches above, loose matches on Subject: below --
2003-09-12 16:48 Alberto Bertogli

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.