Thanks, with "rgw gc processor period" it works for me finally ;)

Yehuda, the http://ceph.com/docs/master/radosgw/config-ref/ have misprint:
insted of "rgw gc processor period" it has "rgw gc processor *max* period"


On Sun, Apr 28, 2013 at 2:28 AM, Yehuda Sadeh <[email protected]> wrote:

> Basically you need for the relevant objects to expire, and then wait
> for the garbage collector to run its course. Expiration is ~2hr from
> deletion, garbage collector starts every hour, but you can run it
> manually via 'radosgw-admin gc process'. There are a couple of
> relevant configurables that can be set:
>
>  * rgw gc obj min wait (default: 2 * 3600)
>
> Minimum number of seconds before an object is ready to be processed by
> the garbage collector. After this period if the object is not still
> being used then the garbage collection may purge it.
>
>  * rgw gc processor period
>
> Time between the start of two consecutive garbage collector runs
>
>
>
> Yehuda
>
> On Sat, Apr 27, 2013 at 10:23 AM, Igor Laskovy <[email protected]>
> wrote:
> > I will rephrase my question.
> > When I upload files over s3 the ceph -s return growth in used space,
> > but when this files deleted there are no available space freed.
> > Yehuda, explain please a little bit more about how I can control this
> behavior ?
> >
> > On Sat, Apr 27, 2013 at 7:09 PM, Igor Laskovy <[email protected]>
> wrote:
> >> Well, than what about used space of RGW pool? How I can trim it after
> >> files deletion?
> >>
> >> On Sat, Apr 27, 2013 at 6:34 PM, Yehuda Sadeh <[email protected]>
> wrote:
> >>> The temp remove is an obsolete feature that was needed before the
> >>> introduction of the garbage collector. It's not needed in that
> >>> version.
> >>>
> >>> Yehuda
> >>>
> >>> On Sat, Apr 27, 2013 at 6:33 AM, Igor Laskovy <[email protected]>
> wrote:
> >>>> Hello,
> >>>>
> >>>> have problem with clearing space for RGW pool with "radosgw-admin temp
> >>>> remove" command:
> >>>>
> >>>> root@osd01:~# ceph -v
> >>>> ceph version 0.56.4 (63b0f854d1cef490624de5d6cf9039735c7de5ca)
> >>>> root@osd01:~# radosgw-admin temp remove --date=2014-04-26
> >>>> failed to list objects
> >>>> failure removing temp objects: (2) No such file or directory
> >>>>
> >>>> I found that this may be a two years old bug -
> >>>> http://www.mail-archive.com/[email protected]/msg04037.html
> >>>>
> >>>> --
> >>>> Igor Laskovy
> >>>> facebook.com/igor.laskovy
> >>>> studiogrizzly.com
> >>>> _______________________________________________
> >>>> ceph-users mailing list
> >>>> [email protected]
> >>>> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> >>
> >>
> >>
> >> --
> >> Igor Laskovy
> >> facebook.com/igor.laskovy
> >> studiogrizzly.com
> >
> >
> >
> > --
> > Igor Laskovy
> > facebook.com/igor.laskovy
> > studiogrizzly.com
>



-- 
Igor Laskovy
facebook.com/igor.laskovy
studiogrizzly.com
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to