[geeks] Solaris 10 max connections limit?

Phil Stracchino alaric at metrocast.net
Wed May 27 17:25:32 CDT 2009


Phil Stracchino wrote:
> Phil Stracchino wrote:
>> I'm installing NUT (Network UPS Tools) on my Solaris 10 x86 box, and
>> upsd is dying because when it requests FD_SETSIZE (1024) maximum
>> connections by default, it's apparently getting back only 256 allowed.
>>
>> Not that I'm ever going to need even 256 ... I actually just patched the
>> code to request only 128, and even that is overkill in my environment.
>> But does anyone know why Solaris 10 would limit a privileged application
>> started by root to 256 connections?  Is it a configurable limit?
> 
> Further:  it appears tcp_conn_req_max_q defaults to 128.  I can't find
> any applicable tunables that default to 256.

Aaaahhh ....   found it.  Looks like rlim_fd_cur is the culprit,
defaulting to 256.  I'll increase this to 2048 on my next reboot and see
if that does the job.


-- 
  Phil Stracchino, CDK#2     DoD#299792458     ICBM: 43.5607, -71.355
  alaric at caerllewys.net   alaric at metrocast.net   phil at co.ordinate.org
         Renaissance Man, Unix ronin, Perl hacker, Free Stater
                 It's not the years, it's the mileage.



More information about the geeks mailing list