Nice but did you know there already is a module BSD::Resource for doing this? And it's a lot more portable than your code.
--
જલધર
In reply to Re: call setrlimit to limit process resource usage
by jaldhar
in thread call setrlimit to limit process resource usage
by jdporter
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |