🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
11 messages
11 total messages Started by Simon L Tue, 24 Nov 1998 00:00
INN 2.1: OVER cant open new overview file: Too many open files
#33251
Author: Simon L
Date: Tue, 24 Nov 1998 00:00
129 lines
4038 bytes
Hi there,
    I have some problems with my inn 2.1 fresh installation. I get spool
full errors.
I am using cnfs raw disks for the news spool.

The expire process reviels the following errors (mainly about the number
of
files being open).

I believe this is because I wanted to add 3 addional disk partitions to
the
news server. I did this by defining them in cycbuff.conf and adding them
to
the only metabuff called ALL. After starting the newsserver it said that
the
cycbuffers couldn't be opened so I removed the previously created
~news/spool/uniover/* and the ~news/spool/overview/* files.
Then I did a `dd if=/dev/zero of=/dev/rdsk/c2t2d0s3 bs=32k count=200' on

all the cycbuff disks.

I would be really happy if someone could point out where i've gone wrong
and if
what I did to solve the problem was right/wrong/damn right stupid/etc.

Many thanks in advance,

Simon.

Ps. this was working before with just one cycbuff defined.

From syslog:
~~~~~~~~~


Nov 24 11:55:21 osctemp.hq.eso.org expire[28150]: OVER cant open new
overview file: Too many open files
Nov 24 11:55:21 osctemp.hq.eso.org expire[28150]: OVER cant open new
overview fi
le: Too many open files

From expire:
~~~~~~~~~

Server status:
Server throttled No space (spool) [innwatch:31]  lt 8000
Allowing remote connections
Parameters c 14 i 50 (0) l 1000000 o 24 t 300 H 2 T 60 X 0 normal
specified
Not reserved
Readers separate enabled
Tcl filtering enabled
Perl filtering enabled

Disk usage:
/var/news          (/dev/dsk/c0t2d0s0 ):  852704 blocks   238959 files

Batch file sizes:
   0 news.Frankfurt.de.uu.net

Log file sizes:
   2 errlog           0 news.crit        2 nntpsend.log
   2 expire.log       0 news.err         0 tcl.log
   0 news             0 news.notice      0 unwanted.log

Lock files:
LOCK.innwatch

Server connections:

TOTAL: 0                              0


Already throttled
Error log:
INND exiting because of signal
---------

Server throttled No space (spool) [innwatch:31]  lt 8000 -- pressing on
Must be running
Expire messages:
expire begin Tue Nov 24 11:55:15 MET 1998: (-v1 -c -e
-z/var/news/log/expire.rm
-u/var/news/log/expire.index.rm -Z/var/news/log/expire.lowmark -n)
    Can't initialize new unified overview
expire end Tue Nov 24 11:55:21 MET 1998
        all done Tue Nov 24 11:55:21 MET 1998
lowmarkrenumber begin Tue Nov 24 11:55:22 MET 1998:
(/var/news/log/expire.lowmar
k)
lowmarkrenumber end Tue Nov 24 11:55:23 MET 1998
        expireindex start Tue Nov 24 11:55:23 MET 1998
        expireindex end Tue Nov 24 11:55:23 MET 1998
---------

Post expiration status:

Server status:
Server throttled No space (spool) [innwatch:31]  lt 8000
Allowing remote connections
Parameters c 14 i 50 (0) l 1000000 o 24 t 300 H 2 T 60 X 0 normal
specified
Not reserved
Readers separate enabled
Tcl filtering enabled
Perl filtering enabled


Disk usage:
/var/news          (/dev/dsk/c0t2d0s0 ):  852704 blocks   238940 files

Batch file sizes:
   0 news.Frankfurt.de.uu.net

Log file sizes:
   0 errlog           0 news.crit        0 nntpsend.log
   2 expire.log       0 news.err         0 tcl.log
   0 news             0 news.notice      0 unwanted.log

Lock files:
LOCK.innwatch

Server connections:

TOTAL: 0                              0



Re: INN 2.1: OVER cant open new overview file: Too many open files
#33286
Author: Simon L
Date: Wed, 25 Nov 1998 00:00
143 lines
4788 bytes
Folks,

Thanks to all the responce. The answer was increasing the file descriptors
(ie. set flim_fd_cur=960 in my case, this is the default per user one, not
the
system wide one which shouldn't (so Sun say) be set to more than 1024
otherwise some s/w gets funny and not less than 256 otherwise X goes funny).

However I still have the space problems,

Server throttled No space (spool) [innwatch:31]  lt 8000 -- pressing on

any ideas anyone...

Cheers, Simon.

Simon L wrote:

> Hi there,
>     I have some problems with my inn 2.1 fresh installation. I get spool
> full errors.
> I am using cnfs raw disks for the news spool.
>
> The expire process reviels the following errors (mainly about the number
> of
> files being open).
>
> I believe this is because I wanted to add 3 addional disk partitions to
> the
> news server. I did this by defining them in cycbuff.conf and adding them
> to
> the only metabuff called ALL. After starting the newsserver it said that
> the
> cycbuffers couldn't be opened so I removed the previously created
> ~news/spool/uniover/* and the ~news/spool/overview/* files.
> Then I did a `dd if=/dev/zero of=/dev/rdsk/c2t2d0s3 bs=32k count=200' on
>
> all the cycbuff disks.
>
> I would be really happy if someone could point out where i've gone wrong
> and if
> what I did to solve the problem was right/wrong/damn right stupid/etc.
>
> Many thanks in advance,
>
> Simon.
>
> Ps. this was working before with just one cycbuff defined.
>
> From syslog:
> ~~~~~~~~~
>
> Nov 24 11:55:21 osctemp.hq.eso.org expire[28150]: OVER cant open new
> overview file: Too many open files
> Nov 24 11:55:21 osctemp.hq.eso.org expire[28150]: OVER cant open new
> overview fi
> le: Too many open files
>
> From expire:
> ~~~~~~~~~
>
> Server status:
> Server throttled No space (spool) [innwatch:31]  lt 8000
> Allowing remote connections
> Parameters c 14 i 50 (0) l 1000000 o 24 t 300 H 2 T 60 X 0 normal
> specified
> Not reserved
> Readers separate enabled
> Tcl filtering enabled
> Perl filtering enabled
>
> Disk usage:
> /var/news          (/dev/dsk/c0t2d0s0 ):  852704 blocks   238959 files
>
> Batch file sizes:
>    0 news.Frankfurt.de.uu.net
>
> Log file sizes:
>    2 errlog           0 news.crit        2 nntpsend.log
>    2 expire.log       0 news.err         0 tcl.log
>    0 news             0 news.notice      0 unwanted.log
>
> Lock files:
> LOCK.innwatch
>
> Server connections:
>
> TOTAL: 0                              0
>
> Already throttled
> Error log:
> INND exiting because of signal
> ---------
>
> Server throttled No space (spool) [innwatch:31]  lt 8000 -- pressing on
> Must be running
> Expire messages:
> expire begin Tue Nov 24 11:55:15 MET 1998: (-v1 -c -e
> -z/var/news/log/expire.rm
> -u/var/news/log/expire.index.rm -Z/var/news/log/expire.lowmark -n)
>     Can't initialize new unified overview
> expire end Tue Nov 24 11:55:21 MET 1998
>         all done Tue Nov 24 11:55:21 MET 1998
> lowmarkrenumber begin Tue Nov 24 11:55:22 MET 1998:
> (/var/news/log/expire.lowmar
> k)
> lowmarkrenumber end Tue Nov 24 11:55:23 MET 1998
>         expireindex start Tue Nov 24 11:55:23 MET 1998
>         expireindex end Tue Nov 24 11:55:23 MET 1998
> ---------
>
> Post expiration status:
>
> Server status:
> Server throttled No space (spool) [innwatch:31]  lt 8000
> Allowing remote connections
> Parameters c 14 i 50 (0) l 1000000 o 24 t 300 H 2 T 60 X 0 normal
> specified
> Not reserved
> Readers separate enabled
> Tcl filtering enabled
> Perl filtering enabled
>
> Disk usage:
> /var/news          (/dev/dsk/c0t2d0s0 ):  852704 blocks   238940 files
>
> Batch file sizes:
>    0 news.Frankfurt.de.uu.net
>
> Log file sizes:
>    0 errlog           0 news.crit        0 nntpsend.log
>    2 expire.log       0 news.err         0 tcl.log
>    0 news             0 news.notice      0 unwanted.log
>
> Lock files:
> LOCK.innwatch
>
> Server connections:
>
> TOTAL: 0                              0


Re: INN 2.1: OVER cant open new overview file: Too many open files
#33296
Author: Tony Mills
Date: Wed, 25 Nov 1998 00:00
29 lines
1486 bytes
Simon L wrote:
> 
> Hi there,
>     I have some problems with my inn 2.1 fresh installation. I get spool
> full errors.
[snip}
> 
> Nov 24 11:55:21 osctemp.hq.eso.org expire[28150]: OVER cant open new
> overview file: Too many open files

I had this on a freshly installed INN2.1 on Solaris 2.6, using cnfs.  I
fixed it (eventually) by increasing the max. number of file desciptors
allowed in the sh session used by news.daily.  From crontab:

0 3 * * * ulimit -S -n 1024 && /usr/local/news/bin/news.daily expireover
lowmark

This is probably really untidy unix (setting a default ulimit -n for
user news would probably be better - could work out how to do this
quickly), but it works.

Tony.
-- 
Tony Mills
mills@albacom.net
------------+=+------------
Albacom SpA - Roma - Italia

Re: INN 2.1: OVER cant open new overview file: Too many open files
#33301
Author: Mike Battersby
Date: Thu, 26 Nov 1998 00:00
21 lines
1525 bytes
In article <365D3BDA.16DDB42A@nospam.worc.ac.uk>, Duncan Ferguson wrote:
>> Server throttled No space (spool) [innwatch:31]  lt 8000 -- pressing on
>
>Same thing was happening to me on my solaris 2.5/6 system because the DF
>used by
>innreport gives different column orders to the ones expected in the
>innreport.conf
>file.  Do the df commands youself and make sure that the awk command in
>the 
>innreport.conf file is looking for the right column on the appropriate
>lines.

Specifically, I had to change the refence to field 7 into a reference
to field 3 in the 'df -i' line of innwatch.ctl. That, and use /usr/ucb/df.

HTH.

 - Mike


Re: INN 2.1: OVER cant open new overview file: Too many open files
#33302
Author: Duncan Ferguson
Date: Thu, 26 Nov 1998 00:00
36 lines
1912 bytes
Simon L wrote:
> 
> Folks,
> 
> Thanks to all the responce. The answer was increasing the file descriptors
> (ie. set flim_fd_cur=960 in my case, this is the default per user one, not
> the
> system wide one which shouldn't (so Sun say) be set to more than 1024
> otherwise some s/w gets funny and not less than 256 otherwise X goes funny).
> 
> However I still have the space problems,
> 
> Server throttled No space (spool) [innwatch:31]  lt 8000 -- pressing on
> 
> any ideas anyone...

Same thing was happening to me on my solaris 2.5/6 system because the DF
used by
innreport gives different column orders to the ones expected in the
innreport.conf
file.  Do the df commands youself and make sure that the awk command in
the 
innreport.conf file is looking for the right column on the appropriate
lines.

Confused yet? ;o)
-- 
Cheers,

  Duncs.

-- 
Networks Systems Support Officer,
Tel: 01905 855212 (external), 5212 (internal)

Re: INN 2.1: OVER cant open new overview file: Too many open files
#33319
Author: Mike Battersby
Date: Thu, 26 Nov 1998 00:00
23 lines
1569 bytes
>> I believe this is because I wanted to add 3 addional disk partitions to
>> the
>> news server. I did this by defining them in cycbuff.conf and adding them
>> to
>> the only metabuff called ALL. After starting the newsserver it said that
>> the

I had some problems with cycbuffs and metacycbuffs not working and
the fix seemed to be to make the names shorter. I had <=8 character
names for the cycbuffs and metacycbuffs which was failing, and having
chopped them all down to <=6 it's working fine.

This happened right from the start though, with 'makehistory -o' failing, 
to it may not be your problem.

Just a thought.

 - Mike

-- 
Mike Battersby <mib@deakin.edu.au> | 4 lines? I don't need no stinkin' 4 lines.

Re: INN 2.1: Server throttled No space (spool) [innwatch:31] lt 8000
#33321
Author: Simon L
Date: Thu, 26 Nov 1998 00:00
76 lines
3162 bytes
Was:    Re: INN 2.1: OVER cant open new overview file: Too many open files

Tony Mills wrote:

> Simon L wrote:
>
> [snip}<snip>
> This is probably really untidy unix (setting a default ulimit -n for
> user news would probably be better - could work out how to do this
> quickly), but it works.

FYI:

Found that you can set the file descriptors in SunOS per process such as
"limit descriptors 640" (tcsh/csh) and, "ulimit -n 640" sh/ksh, or in the
kernel in /etc/system using,

    set rlim_fd_max = 1024 (default)    max number per process
    set rlim_fd_cur = 256                     max number given to a new login
shell

Above one not recommeded as other programs may rely on defaults.(X needs more
than
256 and others get confused by the limitations of the select() library call
eg. the Sun
license manager deamon and its clients, if the max is set higher than 1024.)
(Info thanks
to Sun.)

This has cured my too many open files problem. Many thaks to all those who
responded
either though the newsgroup or email.

Meanwhile...    I'm still having the,

    Server throttled No space (spool) [innwatch:31]  lt 8000

error from news.daily. Now df seems to work fine and the disk is not out of
space.
(I've tried both sysV df and BSD df (/usr/ucb/df) and it's made no difference)

It seems that although inn initilizes the cnfs cycbuffs/metabuffs, it can't
use them.
When I post an article the news server accepts it but it then disappears.
There is
no data written in to the uniover/overview database. (All the uniover files
are created
at startup). However there are files stored in the spool/incoming dir with
names
like, 365a8dbbtBEQQ_ etc etc with the postings in. So INN gets the article but
what
does it do with it. Some addional files attached,

overview.ctl: as of Mike Fagen's which he posted a few days ago.

cycbuff.conf:
cycbuff:C0T2S7:/dev/cycbuff/c0t2d0s7:900000
cycbuff:C0T2S6:/dev/cycbuff/c0t2d0s6:1400000
cycbuff:C0T2S5:/dev/cycbuff/c0t2d0s5:1900000
cycbuff:C0T2S4:/dev/cycbuff/c0t2d0s4:1900000
cycbuff:C0T2S3:/dev/cycbuff/c0t2d0s3:1900000
metacycbuff:BINARIEs:C0T2S3,C0T2S4
metacycbuff:ALT:C0T2S6
metacycbuff:ESO:C0T2S7
metacycbuff:ALL:C0T2S5

storage.ctl:
cnfs:*,!alt.*,!de.alt.*,!eso.*,!*.weather:1:0:3999:ALL
cnfs:alt.binaries.*,de.alt.binaries.*:2:0:3999:BINARIEs
cnfs:alt.*,de.alt.*,!alt.binaries.*,!de.alt.binaries.*:3:0:3999:ALT
cnfs:eso.*,*.weather:4:0:3999:ESO




Re: INN 2.1: Server throttled No space (spool) [innwatch:31] lt 8000
#33334
Author: Thomas Vandahl
Date: Fri, 27 Nov 1998 00:00
34 lines
2039 bytes
On Thu, 26 Nov 1998 10:09:11 +0100, Simon L wrote:

>    Server throttled No space (spool) [innwatch:31]  lt 8000
>
>error from news.daily. Now df seems to work fine and the disk is not out of
>space.
>(I've tried both sysV df and BSD df (/usr/ucb/df) and it's made no difference)

The error message comes in fact from innwatch. As you use CNFS, df in 
the spool area makes no sense. I have stopped running innwatch at all
for this reason.
The server will alert you anyway when a file system is full.

>It seems that although inn initilizes the cnfs cycbuffs/metabuffs, it can't
>use them.
>When I post an article the news server accepts it but it then disappears.
>There is
>no data written in to the uniover/overview database. (All the uniover files
>are created
>at startup). However there are files stored in the spool/incoming dir with
>names
>like, 365a8dbbtBEQQ_ etc etc with the postings in. So INN gets the article but
>what
>does it do with it. Some addional files attached,

What does /var/news/log/news say about hte incoming articles?

Bye, Thomas.

-- 
Thomas.Vandahl@Contec-DT.DE                       contec Datentechnik GmbH
[Team OS/2 #505]                         Auf dem Steine 1, D-98693 Ilmenau

Re: INN 2.1: OVER cant open new overview file: Too many open files
#33337
Author: Simon L
Date: Fri, 27 Nov 1998 00:00
25 lines
1703 bytes
Yep. this is what I did and it works:-)

Mike Battersby wrote:

> In article <365D3BDA.16DDB42A@nospam.worc.ac.uk>, Duncan Ferguson wrote:
> >> Server throttled No space (spool) [innwatch:31]  lt 8000 -- pressing on
> >
> >Same thing was happening to me on my solaris 2.5/6 system because the DF
> >used by
> >innreport gives different column orders to the ones expected in the
> >innreport.conf
> >file.  Do the df commands youself and make sure that the awk command in
> >the
> >innreport.conf file is looking for the right column on the appropriate
> >lines.
>
> Specifically, I had to change the refence to field 7 into a reference
> to field 3 in the 'df -i' line of innwatch.ctl. That, and use /usr/ucb/df.
>
> HTH.
>
>  - Mike


Re: INN 2.1: OVER cant open new overview file: Too many open files
#33340
Author: Simon L
Date: Fri, 27 Nov 1998 00:00
20 lines
1483 bytes

Mike Battersby wrote:

>
> I had some problems with cycbuffs and metacycbuffs not working and
> the fix seemed to be to make the names shorter. I had <=8 character
> names for the cycbuffs and metacycbuffs which was failing, and having
> chopped them all down to <=6 it's working fine.
>
> This happened right from the start though, with 'makehistory -o' failing,
> to it may not be your problem.

Seems this was solved as soon as the df commands were all changed and
the $7 was replaceed with $3.  Server (as you can see) is up & running)

Cheers, Simon


Re: INN 2.1: Server throttled No space (spool) [innwatch:31] lt 8000
#33548
Author: Simon L
Date: Fri, 04 Dec 1998 00:00
9 lines
1100 bytes
Thomas Vandahl wrote:

>
> What does /var/news/log/news say about hte incoming articles?

Can't remember. I just remember : I fixed with lots of help though.


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