ikrabbe / plan9front

Automatically exported from code.google.com/p/plan9front
0 stars 0 forks source link

tee crashes when opening too many files #233

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
; 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.

Original issue reported on code.google.com by mischief@offblast.org on 20 Dec 2014 at 7:23

GoogleCodeExporter commented 9 years ago

Original comment by cinap_le...@felloff.net on 21 Dec 2014 at 4:13