You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
stdlib resource.getrlimit() and resource.setrlimit() are implemented by using
getrlimit() and setrlimit() POSIX syscalls which let you set/get resource
limits *for the current process only*: http://linux.die.net/man/2/getrlimit
psutil implementation uses prlimit() syscall, which lets you set resource
limits for *any process PID* (not only os.getpid()).
prlimit() syscall is Linux-specific, so that is why psutil exposes it on Linux
only as psutil.Process.rlimit().
Thanks for the suggestion though, it was very clever.
Please keep suggesting similar things! =)
From l...@hupfeldtit.dk on February 16, 2014 18:13:15
Original issue: http://code.google.com/p/psutil/issues/detail?id=480
The text was updated successfully, but these errors were encountered: