SUMMARY: Max File Descriptors

From: Vince Sabio (vince@vjs.org)
Date: Thu Aug 31 2000 - 01:32:37 CDT


** Sometime around 13:23 -0400 08/28/2000, Vince Sabio said:

>We're running Sybase on Solaris, and Sybase apparently uses file
>descriptors for open connections. (?) So, in order to increase the
>number of simultaneous connections, we need to increase the max
>number of file descriptors. Solaris documentation seems to be a
>little weak on this front. Anyone have a recipe for this?

I received several terrifically detailed responses to this question,
and lots of very good related information (along with plenty of
cautions)! The bottom line is this, with thanks to Karl and Kevin:

    Try adding these lines to /etc/system and rebooting:

       * set hard limit on file descriptors (was 256)
           set rlim_fd_max = 768
       * set soft limit on file descriptors (was 64)
           set rlim_fd_cur = 512

There is also some very good information here, with thanks to Amparo and Johan:

   <http://www.rvs.uni-hannover.de/people/voeckler/tune/EN/tune.html>

Refer to section 7. There is also very good info in the Solaris FAQ,
with thanks to Casper:

   <http://www.science.uva.nl/pub/solaris/solaris2/>

And a similar FAQ, with lots of good kernel tuning information, with
thanks to Loper:

   <http://www.princeton.edu/~unix/Solaris/troubleshoot/kerntune.html>

There were several other suggestions made, as well, but rlim_fd_max
is what did the trick for us. Huge thanks to everyone for the
assistance!

__________________________________________________________________________
Vince Sabio Got Bounces? <http://www.smartbounce.com/>
vince-lists@vjs.org Got Jokes? <http://www.humournet.com/>
                                    Got Spam? <http://www.cauce.org/>

S
U BEFORE POSTING please READ the FAQ located at
N ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/faq
. and the list POLICY statement located at
M ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/policy
A To submit questions/summaries to this list send your email message to:
N sun-managers@ececs.uc.edu
A To unsubscribe from this list please send an email message to:
G majordomo@sunmanagers.ececs.uc.edu
E and in the BODY type:
R unsubscribe sun-managers
S Or
. unsubscribe sun-managers original@subscription.address
L To view an archive of this list please visit:
I http://www.latech.edu/sunman.html
S
T



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:16 CDT