[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with tmpdir usage
From: |
Ole Tange |
Subject: |
Re: Problem with tmpdir usage |
Date: |
Tue, 29 Jul 2014 21:19:38 +0200 |
On Mon, Jul 28, 2014 at 2:09 PM, Nelson A. de Oliveira <naoliv@gmail.com> wrote:
> Hi!
>
> It seems that parallel is leaking something while using the tmpdir.
> While trying to run a command on a lot of files, I saw parallel
> quiting because of a full tmpdir.
>
> Then running it again and now taking a look with lsof, I can see that
> the SIZE/OFF column only keeps increasing (it's being used as
> /tmp/tytUvsfcK1)
> Even though it appears as "/tmp/tytUvsfcK1 (deleted)" and also cannot
> be seem at the filesystem, it keeps growing its size.
>
> Could it be a file descriptor leak or something similar?
Yep. It seems you have found a bug.
truncate $disk_full_fh, $pos;
should be:
truncate $disk_full_fh, 0;
/Ole