Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MAXINT

Status
Not open for further replies.

TobyR

Technical User
Mar 29, 2001
16
DE
Hi,

we may have a problem with the max file descriptors value (rlim_fd_max - Solaris 8, SunFire 12K) which is set to 2048. It seems that that number may be too low. One can set it as high as MAXINT. Question is, how high is that, and if that is different per machine, then how do I find it out?

Thanking you

Toby
 
Hello Toby

I've looked around on my Sparcserver 450. There are 2 commands that will help you. The first one is ulimit. Running ulimit -a gives you the current setting for your system. The second command is sysdef. Use sysdef to obtain the maximum possible limits for your system, and therefore about the value "file descriptors" current setting and maximum setting in hexadecimal values. using limit or ulimit you can ajust your settings up to this maximum value.

Thorkild
 
Hi Thorkild,

thanks for your help. Yes, there is a min value and a max value, in our case both set to 2048, and these values are visible in /etc/system and with the commands you mention. But the maximum value to which one can adjust rlim-fd-max is MAXINT, and that does not apear in the output of the commands mentioned, nor in /etc/system, nor (so far as I can find out) on the internet.

However, at present the problem may have been solved. A SAP R3 instance was complaining, and it turns out that a profile script was setting for SAP the file descriptor level to 1024, a mere half of what the OS allows. We have now changed that value to 2048 and hope the problem is solved thereby.

Cheers

Toby
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top