All of lore.kernel.org
 help / color / mirror / Atom feed
* rbd snap ls does not list more than 200 snapshots
@ 2012-01-24 22:28 Martin Mailand
  2012-01-25  1:48 ` Josh Durgin
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Mailand @ 2012-01-24 22:28 UTC (permalink / raw)
  To: ceph-devel

Hi,
I created quite a few snapshots of a rbd image. After around 200 
snapshots the command rbd snap ls vm10 does not return, instead it uses 
all of the memory of a 32G machine an then the oom killer gets kicked in.
Are 200 snapshots a known limit?

How to reproduce:

for i in $(seq 500); do rbd snap create --snap=a$i vm10; echo $i ; done

rbd snap ls vm10
doesn't return

top:
25381 root      20   0 5425m 5.2g 5436 S   29 16.4   1:10.21 rbd

rbd -v
ceph version 0.40-206-g6c275c8 
(commit:6c275c8195a8ae04e8a492d043fa6dfd60cecd82)


-martin

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

* Re: rbd snap ls does not list more than 200 snapshots
  2012-01-24 22:28 rbd snap ls does not list more than 200 snapshots Martin Mailand
@ 2012-01-25  1:48 ` Josh Durgin
  0 siblings, 0 replies; 2+ messages in thread
From: Josh Durgin @ 2012-01-25  1:48 UTC (permalink / raw)
  To: martin; +Cc: ceph-devel

On 01/24/2012 02:28 PM, Martin Mailand wrote:
> Hi,
> I created quite a few snapshots of a rbd image. After around 200
> snapshots the command rbd snap ls vm10 does not return, instead it uses
> all of the memory of a 32G machine an then the oom killer gets kicked in.
> Are 200 snapshots a known limit?
>
> How to reproduce:
>
> for i in $(seq 500); do rbd snap create --snap=a$i vm10; echo $i ; done
>
> rbd snap ls vm10
> doesn't return

Thanks for the info - this is fixed by
2c2cc1596cd63b6368d13a2665c6c85d3d8ed532.

> top:
> 25381 root 20 0 5425m 5.2g 5436 S 29 16.4 1:10.21 rbd
>
> rbd -v
> ceph version 0.40-206-g6c275c8
> (commit:6c275c8195a8ae04e8a492d043fa6dfd60cecd82)
>
>
> -martin

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

end of thread, other threads:[~2012-01-25  1:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-24 22:28 rbd snap ls does not list more than 200 snapshots Martin Mailand
2012-01-25  1:48 ` Josh Durgin

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.