🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #51114

Re: Dividing up disk space

#51114
From: Rebecca Ore
Date: Sun, 11 Mar 2001 05:32
74 lines
3381 bytes
jeff@litech.org (Jeffrey M. Vinocur) writes:

> In article <m3u2519l2t.fsf@pyrophore.ogoense.net>,
> Rebecca Ore  <rebecca@ogoense.net> wrote:
> >jeff@litech.org (Jeffrey M. Vinocur) writes:
> >
> >Mar 10 19:28:20 paradoxa innd: SERVER throttle Too many open files
> 
> I don't think the problem is what you think it is.  I think
> you're hitting the system limit on number of open file
> descriptors.  You either want to increase that, or tell INN to
> use fewer, I think.

`ulimit -a`

core file size (blocks)     unlimited
data seg size (kbytes)      65536
file size (blocks)          unlimited
max locked memory (kbytes)  21517
max memory size (kbytes)    64552
open files                  64
pipe size (512 bytes)       1
stack size (kbytes)         512
cpu time (seconds)          unlimited
max user processes          80
virtual memory (kbytes)     66048

Where do I change this?


> 
> To check limits, use `limit` in csh/tcsh or `ulimit -a` in
> sh/bash and see what you see for "open files" or "file
> descriptors".  (Also, see `limit -h` and `ulimit -H -a`
> respectively to get hard limits.)  I have a feeling you're on a
> system where the soft limit is 64, which isn't enough.

bash-2.04$ ulimit -H -a
core file size (blocks)     unlimited
data seg size (kbytes)      262144
file size (blocks)          unlimited
max locked memory (kbytes)  64552
max memory size (kbytes)    64552
open files                  1772
pipe size (512 bytes)       1
stack size (kbytes)         262144
cpu time (seconds)          unlimited
max user processes          532
virtual memory (kbytes)     524288


> 
> 
> Hey, look, there's a nice section on this in the INSTALL file.
> Look for the "File Descriptor Limits" section.  That covers it
> pretty well.


Actually, I did check that out after I posted that, and found the
section and changed inn.conf to 

rlimitnofile:           256

I take it that this will bite me unless I increase the soft limit.
I've just looked at the man page for setrlimit which I understand is
the relevant command for redoing this.

I got one peer to cut down on some of what he was feeding me.


-- 
Rebecca Ore
http://www.ogoense.net/rebecca
Technical Details
Message-ID: <m3n1asswef.fsf@pyrophore.ogoense.net>
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!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!uchinews!yellow.newsread.com!bad-news.newsread.com!netaxs.com!newsread.com!POSTED.monger.newsread.com!not-for-mail
References: <m33dclvad0.fsf@pyrophore.ogoense.net> <98dvvi$uot$1@marduk.litech.org> <m3u2519l2t.fsf@pyrophore.ogoense.net> <98epuv$bo0$1@marduk.litech.org>

Show Full Headers
Complete Article Headers
Message-ID: <m3n1asswef.fsf@pyrophore.ogoense.net>
Subject: Re: Dividing up disk space
Date: Sun, 11 Mar 2001 05:32:40 GMT
From: Rebecca Ore <rebecca@ogoense.net>
References: <m33dclvad0.fsf@pyrophore.ogoense.net> <98dvvi$uot$1@marduk.litech.org> <m3u2519l2t.fsf@pyrophore.ogoense.net> <98epuv$bo0$1@marduk.litech.org>
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!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!uchinews!yellow.newsread.com!bad-news.newsread.com!netaxs.com!newsread.com!POSTED.monger.newsread.com!not-for-mail
Mail-Copies-To: never
Sender: rebecca@pyrophore.ogoense.net
Newsgroups: news.software.nntp
Organization: Rebecca's
Lines: 73
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
NNTP-Posting-Host: 207.8.130.194
X-Complaints-To: Abuse Role <abuse@netaxs.com>
X-Trace: monger.newsread.com 984288760 207.8.130.194 (Sun, 11 Mar 2001 00:32:40 EST)
NNTP-Posting-Date: Sun, 11 Mar 2001 00:32:40 EST