[ome-devel] Minimizing Pixels directory

Ilya Goldberg igg at nih.gov
Tue Sep 28 17:40:11 BST 2004


On Sep 28, 2004, at 10:47 AM, Joshua Moore wrote:

> Currently there are cronjobs to compress and purge old Pixels. Has 
> anyone needed to or been able to compress/purge the Pixels directory 
> based on its size?

Never tried it, but you can set your crontab to be whatever you want so 
it should be possible.  Compression happens transparently, so you can 
just compress with an external program and omeis will inflate 
transparently as necessary (but it will keep both the compressed and 
inflated file when its done).  Purging takes a separate command because 
not all pixel files can be purged.  The first purge call on a Pixels 
will determine if the file can be reconstructed from its original files 
(generating the same SHA1 digest), and purge only if that is true.  If 
its purgeable, a flag will be set in the .convert file to let it know 
that its safe to purge, so it'll just delete it next time without 
reconstructing it first.

-I


>
> -J
> _______________________________________________
> ome-devel mailing list
> ome-devel at lists.openmicroscopy.org.uk
> http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-devel
>



More information about the ome-devel mailing list