Skip to main content.
home | support | download

Back to List Archive

[swish-e] Swish-e 2.4.5 > pdf2html.pm not removing /tmp files

From: Brad Bauer <bbauer(at)not-real.telstate.com>
Date: Thu Aug 14 2008 - 04:13:33 GMT
Our server was having trouble with disk space filling up.  After looking
into it we found out our /tmp folder was using 2/3rds of the drive space.
The problem turned out to be /usr/local/lib/swish-e/perl/pdf2html.pm module
was not removing temp files it created due to the following commented unlink
line:
 
 
if ( ref $file_or_content ) {
#   unlink $file;
   return \$txt;
}
 
 
Uncommenting resolved the situation, just thought I would point it out
incase someone else notices the same issue.
 



_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Thu Aug 14 00:14:18 2008