Setting user memory limits

pedz

Registered
I'm sure this has been answer before but my searchs did not find anything.

How do you set the per user or per process limits on Mac OS X 10.2.2? I happen to have the "Server" version -- sometimes that makes a difference.

What I'm talking about specificly is if you get into the terminal program and type "limit" you get a list of 9 items. What you see is what is set at login time. I realize that you can drop them down after you log in but what I'm asking is how to jack them up so that they are set higher when the user first logs in? Usually there is a file somewhere in /etc that controls this but I can't find it. I looked at Netinfo and did not see it.

Thank you,
pedz
 
Well, since limit only affects child processes, you would want to set the limit for a process that is the parent of just about every process. This would be /etc/rc. Someplace near the top of /etc/rc, insert your limit commands.
 
Back
Top