ULIMIT Parameter
Posted in 2011
Topics: General Discussion
Hi, How can we set / modify the value of ulimit (System Parameter) in Sun OS ? Addition to this, what is the purpose of this parameter ? We are using IDS 11.50.FC6 on SUN SPARC. Thanks.
Ulimit is a utility to control several OS limits on the amount of resources that a user can acquire. Mostly when one speaks of "the ulimit" one is referring to the maximum file size that a user can create which is managed by "ulimit -f <size>". However, only root can increase a ulimit from its current setting, non-root users can only decrease their own ulimit settings. See this link, which is referring to the Linux ulimit, but almost all UNIX-like OSes are the same in this utility: http://ss64.com/bash/ulimit.html And this link about adjusting the system-wide limits that effect all uses: http://serverfault.com/questions/21417/how-to-set-ulimits-in-solaris-10 You can also use the ulimit utility in /etc/profile to raise the ulimit settings for various limits since it is run before control of a new session is handed over to the user who is logging in /etc/profile is executed with root privileges. When you raise critical limits, like memory and number of child sessions, you should do so only for those user ids that require the increase to prevent other users from hogging resources. Art Art S. Kagel Advanced DataTools (www.advancedatatools.com) IIUG Board of Directors (art@iiug.org) Blog: http://informix-myview.blogspot.com/ Disclaimer: Please keep in mind that my own opinions are my own opinions and do not reflect on my employer, Advanced DataTools, the IIUG, nor any other organization with which I am associated either explicitly, implicitly, or by inference. Neither do those opinions reflect those of other individuals affiliated with any entity with which I am affiliated nor those of the entities themselves. On Mon, Feb 21, 2011 at 9:59 AM, SHAHZAD SALAM KASI <skasi@i2cinc.com>wrote: > Hi, > How can we set / modify the value of ulimit (System Parameter) in Sun OS ? > Addition to this, what is the purpose of this parameter ? > > We are using IDS 11.50.FC6 on SUN SPARC. > > Thanks. > > > > ******************************************************************************* > Forum Note: Use "Reply" to post a response in the discussion forum. > > --0015175113e67b913a049ccc7e13