All of lore.kernel.org
 help / color / mirror / Atom feed
From: Parag Warudkar <kernel-stuff@comcast.net>
To: Andrew Morton <akpm@osdl.org>
Cc: Jens Axboe <axboe@suse.de>,
	torvalds@osdl.org, alexn@dsv.su.se, kas@fi.muni.cz,
	linux-kernel@vger.kernel.org, lennert.vanalboom@ugent.be
Subject: Re: Memory leak in 2.6.11-rc1?
Date: Wed, 26 Jan 2005 10:52:42 -0500	[thread overview]
Message-ID: <41F7BCCA.7060101@comcast.net> (raw)
In-Reply-To: <20050126005844.6880d195.akpm@osdl.org>

I am running 2.6.11-rc2+ fix for the pipe related leak by Linus. I am 
currently running a QT+KDE compile with distcc on two machines.  I am 
running these machines for around 11 hours now and  swap seems to be 
growing steadily on the -rc2 box - it went to ~260kb after 10hrs, after 
which I ran swapoff.  Now after couple hours it is at 40kb. The other 
machine is Knoppix 2.4.26 kernel with lesser memory and it hasn't run 
into swap at all.

On the -rc2 machine, however, I don't feel anything is sluggish yet. But 
I think if I leave it running long enough it might run out of memory.

I don't know if this is perfectly normal given the differences between 
2.4.x and 2.6.x VM. I will  keep it running and under load for a while 
and report any interesting stuff.

Here is /proc/meminfo on the rc2 box as of now -
root@localhost paragw]# cat /proc/meminfo
MemTotal:       775012 kB
MemFree:         55260 kB
Buffers:         72732 kB
Cached:         371956 kB
SwapCached:         40 kB
Active:         489508 kB
Inactive:       182360 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:       775012 kB
LowFree:         55260 kB
SwapTotal:      787176 kB
SwapFree:       787136 kB
Dirty:            2936 kB
Writeback:           0 kB
Mapped:         259024 kB
Slab:            32288 kB
CommitLimit:   1174680 kB
Committed_AS:   450692 kB
PageTables:       3072 kB
VmallocTotal:   253876 kB
VmallocUsed:     25996 kB
VmallocChunk:   226736 kB
HugePages_Total:     0
HugePages_Free:      0
Hugepagesize:     4096 kB

Parag
Andrew Morton wrote:

>Jens Axboe <axboe@suse.de> wrote:
>  
>
>>This is my current situtation:
>>
>>...
>> axboe@wiggum:/home/axboe $ cat /proc/meminfo 
>> MemTotal:      1024992 kB
>> MemFree:          9768 kB
>> Buffers:         76664 kB
>> Cached:         328024 kB
>> SwapCached:          0 kB
>> Active:         534956 kB
>> Inactive:       224060 kB
>> HighTotal:           0 kB
>> HighFree:            0 kB
>> LowTotal:      1024992 kB
>> LowFree:          9768 kB
>> SwapTotal:           0 kB
>> SwapFree:            0 kB
>> Dirty:            1400 kB
>> Writeback:           0 kB
>> Mapped:         464232 kB
>> Slab:           225864 kB
>> CommitLimit:    512496 kB
>> Committed_AS:   773844 kB
>> PageTables:       8004 kB
>> VmallocTotal: 34359738367 kB
>> VmallocUsed:       644 kB
>> VmallocChunk: 34359737167 kB
>> HugePages_Total:     0
>> HugePages_Free:      0
>> Hugepagesize:     2048 kB
>>    
>>
>
>OK.  There's rather a lot of anonymous memory there - 700M on the LRU, 300M
>pageache, 400M anon, 200M of slab.  You need some swapspace ;)
>
>What are the symptoms?  Slow to load applications?  Lots of paging?  Poor
>I/O speeds?
>-
>To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at  http://vger.kernel.org/majordomo-info.html
>Please read the FAQ at  http://www.tux.org/lkml/
>
>  
>


  parent reply	other threads:[~2005-01-26 15:53 UTC|newest]

Thread overview: 87+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-21 16:19 Memory leak in 2.6.11-rc1? Jan Kasprzak
2005-01-22  2:23 ` Alexander Nyberg
2005-01-23  9:11   ` Jens Axboe
2005-01-23  9:19     ` Andrew Morton
2005-01-23  9:56       ` Jens Axboe
2005-01-23 10:32         ` Andrew Morton
2005-01-23 20:03           ` Russell King
2005-01-24 11:48             ` Russell King
2005-01-25 19:32               ` Russell King
2005-01-27  8:28                 ` Russell King
2005-01-27  8:47                   ` Andrew Morton
2005-01-27 10:19                     ` Alessandro Suardi
2005-01-27 12:17                     ` Martin Josefsson
2005-01-27 12:56                     ` Robert Olsson
2005-01-27 13:03                       ` Robert Olsson
2005-01-27 16:49                       ` Russell King
2005-01-27 18:37                         ` Phil Oester
2005-01-27 19:25                           ` Russell King
2005-01-27 20:40                             ` Phil Oester
2005-01-28  9:32                               ` Russell King
2005-01-27 20:33                         ` David S. Miller
2005-01-28  0:17                           ` Russell King
2005-01-28  0:34                             ` David S. Miller
2005-01-28  8:58                               ` Russell King
2005-01-30 13:23                                 ` Russell King
2005-01-30 15:34                                   ` Russell King
2005-01-30 16:57                                     ` Phil Oester
2005-01-30 17:23                                   ` Patrick McHardy
2005-01-30 17:26                                     ` Patrick McHardy
2005-01-30 17:58                                       ` Patrick McHardy
2005-01-30 18:45                                         ` Russell King
2005-01-31  2:48                                         ` David S. Miller
2005-01-31  4:11                                         ` Herbert Xu
2005-01-31  4:45                                           ` YOSHIFUJI Hideaki / 吉藤英明
2005-01-31  5:00                                             ` Patrick McHardy
2005-01-31  5:11                                               ` David S. Miller
2005-01-31  5:40                                                 ` Herbert Xu
2005-01-31  5:16                                               ` YOSHIFUJI Hideaki / 吉藤英明
2005-01-31  5:42                                                 ` Yasuyuki KOZAKAI
2005-01-30 18:01                                       ` Russell King
2005-01-30 18:19                                         ` Phil Oester
2005-01-28  1:41                             ` Phil Oester
2005-01-24  0:56           ` Alexander Nyberg
2005-01-24 20:47             ` Jens Axboe
2005-01-24 20:56               ` Andrew Morton
2005-01-24 21:05                 ` Jens Axboe
2005-01-24 22:35                 ` Linus Torvalds
2005-01-25 15:53                   ` OT " Paulo Marques
2005-01-26  8:01                   ` Jens Axboe
2005-01-26  8:11                     ` Andrew Morton
2005-01-26  8:40                       ` Jens Axboe
2005-01-26  8:44                         ` Andrew Morton
2005-01-26  8:47                           ` Jens Axboe
2005-01-26  8:52                             ` Jens Axboe
2005-01-26  9:00                               ` William Lee Irwin III
2005-01-26  8:58                             ` Andrew Morton
2005-01-26  9:03                               ` Jens Axboe
2005-01-26 15:52                               ` Parag Warudkar [this message]
2005-02-02  9:29                   ` Lennert Van Alboom
2005-02-02 16:00                     ` Linus Torvalds
2005-02-02 16:19                       ` Lennert Van Alboom
2005-02-02 17:49                       ` Dave Hansen
2005-02-02 18:27                         ` Linus Torvalds
2005-02-02 19:07                           ` Dave Hansen
2005-02-02 21:08                             ` Linus Torvalds
2005-01-24 22:05             ` Andrew Morton
2005-02-07 11:00 ` Jan Kasprzak
2005-02-07 11:11   ` William Lee Irwin III
2005-02-07 15:38   ` Linus Torvalds
2005-02-07 15:52     ` Jan Kasprzak
2005-02-07 16:38       ` axboe
2005-02-07 17:35         ` Jan Kasprzak
2005-02-07 21:10           ` Jan Kasprzak
2005-02-08  2:47     ` Memory leak in 2.6.11-rc1? (also here) Noel Maddy
2005-02-16  4:00       ` -rc3 leaking NOT BIO [Was: Memory leak in 2.6.11-rc1?] Parag Warudkar
2005-02-16  5:12         ` Andrew Morton
2005-02-16  6:07           ` Parag Warudkar
2005-02-16 23:52             ` Andrew Morton
2005-02-17 13:00               ` Parag Warudkar
2005-02-17 18:18                 ` Linus Torvalds
2005-02-18  1:38                 ` Badari Pulavarty
2005-02-21  4:57                   ` Parag Warudkar
2005-02-16 23:31           ` Parag Warudkar
2005-02-16 23:51             ` Andrew Morton
2005-02-17  1:19               ` Parag Warudkar
2005-02-17  3:48               ` Horst von Brand
2005-02-17 13:35                 ` Parag Warudkar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41F7BCCA.7060101@comcast.net \
    --to=kernel-stuff@comcast.net \
    --cc=akpm@osdl.org \
    --cc=alexn@dsv.su.se \
    --cc=axboe@suse.de \
    --cc=kas@fi.muni.cz \
    --cc=lennert.vanalboom@ugent.be \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.