From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lyndon Nerenberg Content-Type: multipart/signed; boundary="Apple-Mail=_A5631B7F-A6B9-4916-A63C-373079EB4EF6"; protocol="application/pgp-signature"; micalg=pgp-sha1 Message-Id: Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Date: Mon, 26 Jan 2015 17:30:40 -0800 References: <0F748B67-FB11-464C-84FA-66B4E0B29918@9.offblast.org> <44900c0d4896622fa8a9411b05efe730@brasstown.quanstro.net> <7A132462-4747-471A-A4BF-D9381E38A4EA@ar.aichi-u.ac.jp> <4c37cf728d5b0e7ae4ebd3c2e0c2cee4@brasstown.quanstro.net> To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> In-Reply-To: Subject: Re: [9fans] protection against resource exhaustion Topicbox-Message-UUID: 3b976e46-ead9-11e9-9d60-3106f5b1d025 --Apple-Mail=_A5631B7F-A6B9-4916-A63C-373079EB4EF6 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On Jan 26, 2015, at 4:33 PM, arisawa wrote: > many of resource exhaustion come from careless programming. > I would like such processes to be killed immediately. > throwing up to broken state might be better. > I prefer an option to plan9.ini that enable resrcwait(), because the = call breaks > traditional programming style and probably we need more time to have=20= > right solution. Not plan9.ini, as that's intel specific. But perhaps a global runtime = switch to turn this on and off (something under /dev/cpu*?), and a = corresponding switch in the /proc/*/ctl interface that would let = individual processes say what's best for them? --Apple-Mail=_A5631B7F-A6B9-4916-A63C-373079EB4EF6 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- iQIcBAEBAgAGBQJUxupAAAoJEG8PnXiV/JnUlTUP/Rj1kaGJPbmNbSblggqqLnoj SsOgkZdHwexq9csnNQ3v0W4okrQHFXEBQbgko3hG36x6kWTLVI4zQWl9WKx3UPTz 0xTS2YB/Lf5yh7WySpDIu/ImEYS9ky5EKVAFsv71feD358uUqe93XWvbimKVluSn 3DHKt5RN5JWacOSbs7aKwL8V7+81aezuqPnUSjqERBH+K0hSSBuub8yAh8mWimAd yzCsun5KvJ5O+BVlSbCJvo80iPLC5xTiP1xeJNkqjHSiVyk9XdleWsGKW8lmW+tS nMjEnB6KUoKJSaRj6mkYz4y7suStDD1OfxOaF1tFkvmPaVeqB/5g0uTqS2jzYkxr 4FJ8qkj9yxzWMUvbNjQJYBVccfuSpn0Vn1Z1l+DGGQnmWZZiFmUPymD0AHn8qjDM AjJSu3Iy9YlJshx1k0uC+kfLmws/adl5hRnFPJrBqsrqBAbI/LL+/kcPRYFYFvLQ XKgcIKibOrz3Me/IQjXrvvVop26wfDvbV84khC5XhqLbJEGKcN9alUH19wJSyYEd 9RDvRQANRaySeClImmlr54n8WQriVR6EgtZ2Ei1jnW7hwtlqWooPxzBRhyOXRauR 1bj+iyQIvHZHJwx4ECKLR1QqiKogtBoLe7seu1U9NIZ4Vnfs/BpbWsn360IBcVKN BoFbzI2CBfkXpo+tnXvi =v4Jc -----END PGP SIGNATURE----- --Apple-Mail=_A5631B7F-A6B9-4916-A63C-373079EB4EF6--