ulimit | Unix Linux Forums | Solaris

  Go Back    


Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

ulimit

Solaris


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 04-19-2007
melanie_pfefer melanie_pfefer is offline
Registered User
 
Join Date: Nov 2006
Last Activity: 25 September 2009, 6:39 AM EDT
Posts: 234
Thanks: 0
Thanked 0 Times in 0 Posts
ulimit

Hi,

I need to increase the open files on my server to run a test. Usually what I do is:
ulimit –n 5000


My questions are:

1] I want to set this parameter once and for all. What is the right parameter to set in /etc/system: rlim_fd_max or rlim_fd_cur?
2] How to make sure that this parameter won’t make the system unstable?
3] What is the difference between “ulimit –a” and “ulimit -a –H”? Each one gives a different “open files” value.

thanks a lot.
Sponsored Links
    #2  
Old 04-19-2007
reborg's Avatar
reborg reborg is offline Forum Advisor  
Administrator Emeritus
 
Join Date: Mar 2005
Last Activity: 29 March 2012, 7:00 PM EDT
Location: Ireland
Posts: 4,464
Thanks: 0
Thanked 11 Times in 11 Posts
Quote:
Originally Posted by melanie_pfefer
1] I want to set this parameter once and for all. What is the right parameter to set in /etc/system: rlim_fd_max or rlim_fd_cur?
rlim_fd_cur
Quote:
Originally Posted by melanie_pfefer
2] How to make sure that this parameter won’t make the system unstable?
I have never seen it cause a problem, but the only way to find out for sure is to try it.
Quote:
Originally Posted by melanie_pfefer
3] What is the difference between “ulimit –a” and “ulimit -a –H”? Each one gives a different “open files” value.
ulimit -a gives soft limits ( eg rlim_fd_cur ), which can be changed
ulimit -a -H give the hard limits ( absolute max values )
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
ulimit -n gazzac Linux 7 03-05-2012 11:57 AM
ulimit Zhenya_ Solaris 2 02-12-2012 09:54 AM
ulimit JamesByars UNIX for Advanced & Expert Users 6 07-31-2008 03:52 PM
ulimit Student37 UNIX for Dummies Questions & Answers 3 07-20-2005 05:04 AM
ulimit -d adadevil UNIX for Dummies Questions & Answers 1 03-05-2004 09:42 AM



All times are GMT -4. The time now is 05:54 PM.