Re: [9fans] protection against resource exhaustion

2015-01-25 Thread arisawa
thank you, mischief. considering after I have posted previous mail, I have come to think that the script below should fail with error and stop execution. maia% cat foo #!/bin/rc ./foo maia% current rc does not stop execution. probably not due to protection problem by kernel. there must be a b

Re: [9fans] protection against resource exhaustion

2015-01-25 Thread Bence Fábián
>there must be a bug in rc. Or maybe it does tail call elimination :) 2015-01-25 10:04 GMT+01:00 arisawa : > thank you, mischief. > > considering after I have posted previous mail, > I have come to think that the script below should fail with error and stop > execution. > > maia% cat foo > #!/b

Re: [9fans] protection against resource exhaustion

2015-01-25 Thread erik quanstrom
On Sat Jan 24 23:16:07 PST 2015, misch...@9.offblast.org wrote: > You would need to implement something like ulimits to fix process > exhaustion, or some kind of rate limit. There are several forms of > resource exhaustion in plan 9. One other that comes to mind is cat > /dev/random prevents oth