Actually, even though Andrea's fix gets us most of the way there, if an
exception is thrown at some point before the method returns, some files may
still remain in /tmp.  Depending on the size of your /tmp and on the size
of your repository this might still pose a problem...  I posted a possible
(further) fix for the issue: https://jira.duraspace.org/browse/DS-2544

Bill

On Tue, Apr 21, 2015 at 12:15 PM, Bill Tantzen <wile...@gmail.com> wrote:

> I can verify that the fix works!
>
> Thanks a million,
> Bill
>
> On Tue, Apr 21, 2015 at 11:04 AM, Tim Donohue <tdono...@duraspace.org>
> wrote:
> > Hi Bill,
> >
> > This bug has been reported here:
> > https://jira.duraspace.org/browse/DS-2544
> >
> > There's already a suggested fix / Pull Request (which looks correct, but
> I
> > admit I haven't had a chance to test it out yet). It is scheduled to be
> > resolved in DSpace 5.2.
> >
> > - Tim
> >
> >
> > On 4/21/2015 10:37 AM, Bill Tantzen wrote:
> >>
> >> Hi all!
> >>
> >> I'm attempting to use the ImageMagick media filters for thumbnails and
> >> pdf thumbnails.  Everything works fine in identifier mode, but when I
> >> try to run the filters on my entire collection, my /tmp directory
> >> fills rather quickly and I wind up with nothing but 'No space left on
> >> device' errors.
> >>
> >> The files created in /tmp do not seem to get deleted while the process
> >> is running, which really limits how many bitstreams can be converted
> >> at one time.  Is there an option I am missing that will force tmp
> >> files to be deleted when dspace is done converting them?
> >>
> >> Other (maybe) important info:
> >>
> >> RHEL 6
> >> ImageMagick 6.5.4-7
> >> Ghostscript 8.70
> >>
> >> Thanks for any suggestions!
> >> Bill
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >> BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
> >> Develop your own process in accordance with the BPMN 2 standard
> >> Learn Process modeling best practices with Bonita BPM through live
> >> exercises
> >> http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual-
> >> event?utm_
> >> source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
> >> _______________________________________________
> >> DSpace-tech mailing list
> >> DSpace-tech@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> >> List Etiquette:
> >> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
> >>
> >
>
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to