On Mon, Jul 28, 2014 at 2:09 PM, Nelson A. de Oliveira <nao...@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

Reply via email to