Export to GitHub

plan9front - issue #233

tee crashes when opening too many files


Posted on Dec 20, 2014 by Grumpy Dog

; ramfs; cd /tmp; echo foo | tee -a `{seq 1 500} tee 2039: warning: process exceeds 100 file descriptors tee 2039: warning: process exceeds 200 file descriptors tee 2039: suicide: sys: trap: fault write addr=0x13000 pc=0x000010a2 ;

i couldn't reproduce on amd64, only 386. it would be useful to be able to open a large number of files, so that e.g. 'echo hangup | tee /net/tcp/[0-9]*/ctl >/dev/null' works when there are a large number of connections open.

Comment #1

Posted on Dec 21, 2014 by Happy Hippo

(No comment was entered for this change.)

Status: Fixed

Labels:
Type-FrontFellOff Priority-Low