On 6/13/14, 2:56 PM, Jorge Sivil wrote:
> Yes, sorry. The minimum reproduceable code is:
>
> #!/bin/bash
> function something() {
> while true
> do
> while read VAR
> do
> dummyvar="a"
> done < <(find "/run/shm/debora" -type f | sort)
> sleep 3
> done
> }
> something &
On Fri, Jun 13, 2014 at 9:56 PM, Jorge Sivil wrote:
> Yes, sorry. The minimum reproduceable code is:
>
> #!/bin/bash
> function something() {
> while true
> do
> while read VAR
> do
> dummyvar="a"
> done < <(find "/run/shm/debora" -type f | sort)
> sleep 3
> done
> }
>
Yes, sorry. The minimum reproduceable code is:
#!/bin/bash
function something() {
while true
do
while read VAR
do
dummyvar="a"
done < <(find "/run/shm/debora" -type f | sort)
sleep 3
done
}
something &
Which fails with many pipes fd open.
Changing the While feed to th
On Fri, Jun 13, 2014 at 09:52:49AM -0300, Jorge Sivil wrote:
> The script is in the answer:
>
> http://stackoverflow.com/questions/24192459/bash-running-out-of-file-descriptors
Can't you reduce the script to a minimum reproducible case? To be
honest, it smells like a scripting error and not a bug,