Skip to contentSkip to conversation

rbd snap ls does not list more than 200 snapshots

DISCUSSION Martin Mailand 2 participants 2 messages Jan 24, 2012 – Jan 25, 2012

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 6 lines · Martin Mailand

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?

Quoted 6 lines

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.

Quoted 9 lines

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