问题原文
原帖链接 · Matt Clark · CC BY-SA 3.0
After finding out that ulimit -m no longer does anything on linux... I am now investigating the use of prlimit.
I have found that this is supposed to exists as part of util-linux / util-linux-ng, I have this installed on my system, however
find / -name prlimit
Yields zero results; I currently have installed
util-linux-ng.x86_64 0:2.17.2-12.7.el6_3
I have tried running
yum update util-linux-ng
Which brought me to version
2.17.2-12.18.0.1.el6
With still the same issue; I am running CenotOS 6.3, upgrading is not an option.
已采纳解答
原帖链接 · Sven · CC BY-SA 3.0
Don't mix up a syscall with a user space command. prlimit(1) the user space program was added to util-linux 2.21 to make use of the prlimit(2) syscall available since Linux kernel 2.6.36. BTW, the default kernel on CentOS 6 is 2.6.32.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
