Quota History not getting purged

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Quota History not getting purged

Alexander Kurze-2
Hi there,

We have installed a local copy of galaxy but there seems to be a strange behavior with deleting data sets in the history panel. A few users complain that they have deleted their data sets (I can confirm that) but somehow the quota limit still doesn't show the appropriate freed space. Looking at their saved histories and adding up their data the quota limit should have changed.

Any clues why this happens? I have also tried to run the clean up script but this didn't do anything on their quota limits.

Best,

Alex



___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
  http://lists.bx.psu.edu/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/
Reply | Threaded
Open this post in threaded view
|

Re: Quota History not getting purged

Peter Cock
On Fri, Mar 14, 2014 at 12:28 PM, Alexander Kurze
<[hidden email]> wrote:

> Hi there,
>
> We have installed a local copy of galaxy but there seems to be a strange
> behavior with deleting data sets in the history panel. A few users complain
> that they have deleted their data sets (I can confirm that) but somehow the
> quota limit still doesn't show the appropriate freed space. Looking at their
> saved histories and adding up their data the quota limit should have
> changed.
>
> Any clues why this happens? I have also tried to run the clean up script but
> this didn't do anything on their quota limits.
>
> Best,
>
> Alex

Does this help, or make no difference?

$ cd scripts
$ python set_user_disk_usage.py

It will recalculate and update the user disk totals, and prints this
to the terminal too.

Peter
___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
  http://lists.bx.psu.edu/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/
Reply | Threaded
Open this post in threaded view
|

Re: Quota History not getting purged

Alexander Kurze-2
Perfect! This solved my problem.

Alex


On Fri, Mar 14, 2014 at 1:23 PM, Peter Cock <[hidden email]> wrote:
On Fri, Mar 14, 2014 at 12:28 PM, Alexander Kurze
<[hidden email]> wrote:
> Hi there,
>
> We have installed a local copy of galaxy but there seems to be a strange
> behavior with deleting data sets in the history panel. A few users complain
> that they have deleted their data sets (I can confirm that) but somehow the
> quota limit still doesn't show the appropriate freed space. Looking at their
> saved histories and adding up their data the quota limit should have
> changed.
>
> Any clues why this happens? I have also tried to run the clean up script but
> this didn't do anything on their quota limits.
>
> Best,
>
> Alex

Does this help, or make no difference?

$ cd scripts
$ python set_user_disk_usage.py

It will recalculate and update the user disk totals, and prints this
to the terminal too.

Peter


___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
  http://lists.bx.psu.edu/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/
Reply | Threaded
Open this post in threaded view
|

Re: Quota History not getting purged

Peter Cock
On Fri, Mar 14, 2014 at 1:31 PM, Alexander Kurze
<[hidden email]> wrote:
> Perfect! This solved my problem.
>
> Alex

That's progress. I suspect something is going wrong in the
cleanup scripts failing to update the totals - but as a workaround
you could include set_user_disk_usage.py as part of the cleanup
cron job?

Note set_user_disk_usage.py isn't on the wiki - so I assume
it isn't intended to be needed this way:
https://wiki.galaxyproject.org/Admin/Config/Performance/Purge%20Histories%20and%20Datasets

I've been looking at our data usage figures this week as
part of a storage move - and also observed the totals can
fail to drop after a user permanently deleted some large
datasets & I'd run the cleanup scripts.

Peter
___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
  http://lists.bx.psu.edu/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/