Linux LVM users
 help / color / mirror / Atom feed
From: Tomasz Chmielewski <mangoo@wpkg.org>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] how much memory does LVM need? oom-killer comes
Date: Sun, 02 Sep 2007 11:54:54 +0200	[thread overview]
Message-ID: <46DA886E.3030301@wpkg.org> (raw)
In-Reply-To: <46D9CA1D.8050908@wpkg.org>

Tomasz Chmielewski schrieb:
> Tomasz Chmielewski schrieb:
>> I just did vgchange -an, and there came the oom-killer. This is all 
>> with 2.6.22.5 kernel.
>>
>> The machine has 256 MB RAM; PV is almost 1.5 TB big:
>>
>> # pvs
>>   PV         VG          Fmt  Attr PSize PFree
>>   /dev/md0   superthecus lvm2 a-   1.46T 120.63G
>>
>> After I do "vgchange -ay", the memory usage goes from ~17 MB to almost 
>> 180 MB - is it normal?
> 
> Can the memory usage be so high (~180 MB out of 256 MB) because I have 
> two pretty big snapshots? Normally, this machine uses about 17 MB.
> 
> 
> # lvs
>   LV                  VG          Attr   LSize   Origin Snap%  Move Log 
> Copy%
>   backup              superthecus owi-ao   1.20T
>   backup-snap         superthecus swi-a- 100.00G backup  30.15
>   backup-snap-resized superthecus swi-a-  30.00G backup  69.00
>   backup1             superthecus -wi-a-   3.00G
>   backup1-sync-test   superthecus -wi-a-   3.00G
>   src                 superthecus -wi-a-   2.00G
>   swap                superthecus -wi-ao   3.00G
> 
> 
> Unfortunately, I can't remove these snapshots, as oom-killer comes :(
> Is there any solution to that, other than adding memory (which can be 
> hard to do remotely)?

Ouch - now it went so far that the machine only loops from a kernel 
panic to a kernel panic - that's really bad:

(...)
Out of memory: kill process 2220 (getty) score 24 or a child
Killed process 2220 (getty)
Kernel panic - not syncing: Out of memory and no killable processes...

Rebooting in 20 seconds..


-- 
Tomasz Chmielewski
http://wpkg.org

  reply	other threads:[~2007-09-02  9:55 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-01 20:13 [linux-lvm] how much memory does LVM need? oom-killer comes Tomasz Chmielewski
2007-09-01 20:22 ` Tomasz Chmielewski
2007-09-02  9:54   ` Tomasz Chmielewski [this message]
2007-09-03  9:34     ` Tomasz Chmielewski
2007-09-03 14:21       ` Stuart D. Gathman
2007-09-03 16:17         ` Tomasz Chmielewski
2007-09-03 16:09       ` Stuart D. Gathman
2007-09-04  9:32         ` Tomasz Chmielewski

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=46DA886E.3030301@wpkg.org \
    --to=mangoo@wpkg.org \
    --cc=linux-lvm@redhat.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox