Hi Vipin,

There is no constraint on the number of days, and we've never seen any seg faults from this script.  It's been running on our main instance for several years.  You'll probably need to put some debug statements into your script to help track down what's causing the seg fault in your environment.  If you find an issue that needs correcting, please let us know.

Thanks!

Greg

On Nov 30, 2010, at 5:24 PM, Vipin TS wrote:

Hi Greg, 

thanks for your quick response. I tried to run 

>> python ./scripts/cleanup_datasets/cleanup_datasets.py ./universe_wsgi.ini -d 150 -r -1 

but end up in error "Segmentation fault". Do you have any constraints on number of days or I did any mistake ?


On 30 November 2010 19:07, Greg Von Kuster <greg@bx.psu.edu> wrote:
Hi Vipin,

Files will only be removed from disk if their associated Dataset objects are considered "purgable" and the defined number of days has elapsed since their associated Dataset objects were marked as deleted.  A Dataset object is purgable if it has no "undeleted associations" ( i.e., all LibraryDatasetDatasetAssociations are marked deleted and all HistoryDatasetAssociations are marked deleted ).  If all associations were marked deleted today, then the defined number of days should be 0 for the purge option if you want the file removed from disk today as well.

Greg

On Nov 30, 2010, at 12:12 PM, Vipin TS wrote:

Dear Galaxy team,

With reference to the document sited at http://bitbucket.org/galaxy/galaxy-central/wiki/Config/PurgeHistoriesAndDatasets, I tried to clean up old dataset from our Galaxy instance.
For example: deleting the userless histories based on the time span, the clean up scripts run perfectly but the dataset is not removed from the disk.

Thanks for your support,
Vipin T S
Friedrich Miescher Laboratory 
of the Max Planck Society
Spemannstrasse 39, 72076
Tuebingen, Germany
Tel:+49 7071 601 824


_______________________________________________
galaxy-dev mailing list
galaxy-dev@lists.bx.psu.edu
http://lists.bx.psu.edu/listinfo/galaxy-dev

Greg Von Kuster
Galaxy Development Team





Greg Von Kuster
Galaxy Development Team
greg@bx.psu.edu