🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Ricardo Stella Fri, 07 May 1999 00:00
inn 1.7.2 more file descriptors ?
#37320
Author: Ricardo Stella
Date: Fri, 07 May 1999 00:00
10 lines
977 bytes
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.

Any idea how ?

Thanks in advance...

Re: inn 1.7.2 more file descriptors ?
#37319
Author: Russ Allbery
Date: Fri, 07 May 1999 00:00
20 lines
1161 bytes
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/>

Re: inn 1.7.2 more file descriptors ?
#37339
Author: 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/>

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads