Ian,
sorry for previous message, it was incorrect because I didn't understand Your original question. You are right, setrlimit() set the limits for current process only (and for its new childern) and I don't know the ways to set these limits for some another processes. OpenVZ uses own accounting/limiting subsytem that is not related to setrlimit(). OpenVZ allows to set some group identificator for current process only (like setrlimit), however then any privliged process can set the limits for this process group. thank you, Vasily Averin _______________________________________________ Users mailing list [email protected] https://openvz.org/mailman/listinfo/users
