🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #37339

Re: inn 1.7.2 more file descriptors ?

#37339
From: Ricardo Stella
Date: Mon, 10 May 1999 00:00
42 lines
2239 bytes
Thanks Russ,  I'll try that...

FYI,  inndstart is owned and setuid by root.  But here's the interesting
part:  by default it seems that Solaris 2.6 is set to a maximum of 256
file descriptors and a soft limit of 64 (as root, ulimit -Hn shows 256,
ulimit -n shows 64).

After being pointed to the Solaris FAQ, I raised the maximium limit to
1024 by modifying /etc/system to

set rlim_fd_max = 1024

After rebooting, MY account (with only sysadmin group access) has a
maximum limit of 1024.  But ROOT (and su -) only has 256.  Of course,
the news account only has 256...

I'll try tonight rasing the other limit and see what happens, but this
is odd...

Russ Allbery wrote:
> 
> Ricardo Stella <stellaNO-SPAM@poseidon.rider.edu> writes:
> 
> > I'm running 1.7.2+insynch on Solaris 2.6.  I am getting a 'can't
> > setrlimit' error upon inndstart startup.  My understanding is that I
> > need to 'increase' the file descriptors.
> 
> That's odd.  Is inndstart setuid root?
> 
> Anyway, I highly recommend just putting:
> 
>         set rlim_fd_cur = 1024
> 
> in /etc/system and rebooting for a Solaris news server.  That globally
> raises the file descriptor limit to 1024 for all processes and then you
> can stop worrying about it.
> 
> --
> Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Technical Details
Message-ID: <373701DB.6A4F93C1@rider.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <37334568.3032AFDA@rider.edu> <ylbtfwqi9d.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <373701DB.6A4F93C1@rider.edu>
Subject: Re: inn 1.7.2 more file descriptors ?
Date: Mon, 10 May 1999 00:00:00 +0000
From: Ricardo Stella <stellaNO-SPAM@poseidon.rider.edu>
References: <37334568.3032AFDA@rider.edu> <ylbtfwqi9d.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 476216518
Content-Transfer-Encoding: 7bit
To: Russ Allbery <rra@stanford.edu>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
X-Trace: poseidon.rider.edu 926351858 10708 204.142.238.105 (10 May 1999 15:57:38 GMT)
Organization: Rider University
Mime-Version: 1.0
NNTP-Posting-Date: 10 May 1999 15:57:38 GMT
Newsgroups: news.software.nntp