[linux-lvm] vgchange -ay Killed

Ming Zhang mingz at ele.uri.edu
Sat Apr 29 22:58:56 UTC 2006


On Sat, 2006-04-29 at 23:24 +0100, Alasdair G Kergon wrote:
> The code has not been optimised for large numbers of LVs.

guess so

> 
> Use the latest dm/lvm2 versions for a start as there's a memory
> leak in your libdevmapper.

ic. it come with centos 4.3

> 
> Each device device uses up a fixed amount of (unswappable) kernel 
> memory, and when all your memory is used out you can't have any 
> more devices.
> 
> Use standard diagnostic tools to work out which limit you're hitting.
> (top; ps; slabtop; sysreq; strace etc.)

that box has 2GB ram. and before lvm process is killed, top shows

top - 11:27:24 up 10 min,  4 users,  load average: 0.99, 0.71, 0.34
Tasks:  91 total,   1 running,  90 sleeping,   0 stopped,   0 zombie
Cpu(s): 18.7% us,  5.9% sy,  0.0% ni, 67.3% id,  8.0% wa,  0.0% hi,
0.0% si
Mem:   2055388k total,  2041136k used,    14252k free,      192k buffers
Swap:  4192956k total,     2304k used,  4190652k free,    58236k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 4550 root      18   0 1927m 1.9g  48m D 94.9 95.6   5:00.00 lvm

if that is kernel memory, why lvm shows a RES of 1.9GB?


> 
> Alasdair
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/




More information about the linux-lvm mailing list