[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Leak in BASH "named" file descriptors?

From: Andreas Schwab
Subject: Re: Leak in BASH "named" file descriptors?
Date: Thu, 28 Jan 2016 23:25:58 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Mathieu Patenaude <address@hidden> writes:

> The issue I see with relying on the bash EXIT to actually have the system
> do the cleanup is when you have a script that does things in a forever
> loop, you end up with FD exhaustion when using "named" FD and here strings.

Of course, if you don't close (or reuse) your descriptors you will run
out of them eventually.


Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

reply via email to

[Prev in Thread] Current Thread [Next in Thread]