🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
11 messages
11 total messages Started by Bernhard Kohl Thu, 15 Mar 2001 09:54
inn 2.3 tradindexed problem
#51227
Author: Bernhard Kohl
Date: Thu, 15 Mar 2001 09:54
42 lines
2265 bytes
This morning there was an error and inn 2.3.1 throttled with the message:

    	400 No such file or directory writing creating overview file -- 
throttling


Rewriting overview seems to be a very long process, so I would liek to know 
why there was anything going wrong.

An extract from the log file:


Mar 15 09:37:40 trex.rrz.Uni-Koeln.DE innd: [ID 655364 news.warning] 
tradindexed
: repacking group news.answers, offset 479
Mar 15 09:37:41 trex.rrz.Uni-Koeln.DE innd: [ID 131604 news.error] 
tradindexed:
packgroup cant write to /opt/news/articles/overview/n/a/news.answers-
NEW.IDX: No
 such file or directory
Mar 15 09:37:41 trex.rrz.Uni-Koeln.DE innd: [ID 508530 news.error] SERVER 
cant s
tore overview for @0501000010FA00012E2E0000000000000000@
Mar 15 09:37:41 trex.rrz.Uni-Koeln.DE innd: [ID 655364 news.warning] 
tradindexed
: repacking group news.answers, offset 478
Mar 15 09:37:41 trex.rrz.Uni-Koeln.DE innd: [ID 131604 news.error] 
tradindexed:
packgroup cant write to /opt/news/articles/overview/n/a/news.answers-
NEW.IDX: No
 such file or directory
Mar 15 09:37:41 trex.rrz.Uni-Koeln.DE innd: [ID 508530 news.error] SERVER 
cant s
tore overview for @0501000010FA00012E2F0000000000000000@



Again, I would like to know *why* this happend and how it can be prevented 
(if it can be said from outside).

Thanks!
Re: inn 2.3 tradindexed problem
#51228
Author: Rasmus Bøg Hansen
Date: Thu, 15 Mar 2001 09:56
33 lines
2108 bytes
On 15 Mar 2001, Bernhard Kohl wrote:

> This morning there was an error and inn 2.3.1 throttled with the message:
>
>     	400 No such file or directory writing creating overview file --
> throttling
>
>
> Rewriting overview seems to be a very long process, so I would liek to know
> why there was anything going wrong.
>
> An extract from the log file:
>
>
> Mar 15 09:37:40 trex.rrz.Uni-Koeln.DE innd: [ID 655364 news.warning]
> tradindexed
> : repacking group news.answers, offset 479
> Mar 15 09:37:41 trex.rrz.Uni-Koeln.DE innd: [ID 131604 news.error]
> tradindexed:
> packgroup cant write to /opt/news/articles/overview/n/a/news.answers-
> NEW.IDX: No
>  such file or directory

Does the dir /opt/news/articles/overview/ exist and is writable by inn?

Is you disk full?

Is pathoverview set to /opt/news/articles/overview/ in inn.conf?

Rasmus


Re: inn 2.3 tradindexed problem
#51230
Author: Bernhard Kohl
Date: Thu, 15 Mar 2001 10:38
61 lines
2577 bytes
Rasmus B�g Hansen <moffespam@amagerkollegiet.dk> wrote in
<Pine.LNX.4.33.0103151055290.1178-100000@7812-grignard.amagerkollegiet.dk>
: 

>On 15 Mar 2001, Bernhard Kohl wrote:
>
>> This morning there was an error and inn 2.3.1 throttled with the
>> message: 
>>
>>          400 No such file or directory writing creating overview file
>>          -- 
>> throttling
>>
>>
>> Rewriting overview seems to be a very long process, so I would liek to
>> know why there was anything going wrong.
>>
>> An extract from the log file:
>>
>>
>> Mar 15 09:37:40 trex.rrz.Uni-Koeln.DE innd: [ID 655364 news.warning]
>> tradindexed
>> : repacking group news.answers, offset 479
>> Mar 15 09:37:41 trex.rrz.Uni-Koeln.DE innd: [ID 131604 news.error]
>> tradindexed:
>> packgroup cant write to /opt/news/articles/overview/n/a/news.answers-
>> NEW.IDX: No
>>  such file or directory
>



>Does the dir /opt/news/articles/overview/ exist and is writable by inn?
>

YES

drwxr-xr-x  45 newsadm  newsadm     1024 Mar 15 00:59 articles/
drwx------   2 root     root        8192 Mar  5 17:04 lost+found/
drwxr-xr-x  22 newsadm  newsadm      512 Mar 15 00:59 overview/

>Is you disk full?
>

NO

Filesystem            kbytes    used   avail capacity  Mounted on
/dev/dsk/c1t10d0s0   15814055 1403644 14410411     9%    /opt/news/articles


>Is pathoverview set to /opt/news/articles/overview/ in inn.conf?
>

YES

pathoverview:           /opt/news/articles/overview



The server did run for 2 days.
Re: inn 2.3 tradindexed problem
#51248
Author: Oliver Fromme
Date: Thu, 15 Mar 2001 18:02
24 lines
1995 bytes
Bernhard Kohl <B.Kohl@rrz.uni-koeln.de> wrote:
 > Rasmus B�g Hansen <moffespam@amagerkollegiet.dk> wrote in
 > [...]
 > >Is you disk full?
 > >
 > 
 > NO
 > 
 > Filesystem            kbytes    used   avail capacity  Mounted on
 > /dev/dsk/c1t10d0s0   15814055 1403644 14410411     9%    /opt/news/articles

Just to make sure:  There are enough inodes free, right?
(Use ``df -i'' to check.)

Regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 M�nchen
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.

"All that we see or seem is just a dream within a dream" (E. A. Poe)
Re: inn 2.3 tradindexed problem
#51262
Author: Bernhard Kohl
Date: Fri, 16 Mar 2001 08:51
34 lines
1964 bytes
Oliver Fromme <olli@secnetix.de> wrote in
<98r043$27e$1@isp-m-srv06.izb.net>: 

>Bernhard Kohl <B.Kohl@rrz.uni-koeln.de> wrote:
> > Rasmus B�g Hansen <moffespam@amagerkollegiet.dk> wrote in
> > [...]
> > >Is you disk full?
> > >
> > 
> > NO
> > 
> > Filesystem            kbytes    used   avail capacity  Mounted on
> > /dev/dsk/c1t10d0s0   15814055 1403644 14410411     9%   
> > /opt/news/articles 
>
>Just to make sure:  There are enough inodes free, right?
>(Use ``df -i'' to check.)
>

YES

inndf -i -n /opt/news/articles/overview
14939214

Searching for the cause of the problem I found a very old article on the 
sending server that didn't have an XREF line.

The receiving server is running with xrefslave=true and storeonref=true.

Maybe, this could have damaged the overview?

Regards,
Bernd
Re: inn 2.3 tradindexed problem
#51263
Author: Russ Allbery
Date: Fri, 16 Mar 2001 09:12
22 lines
1897 bytes
Bernhard Kohl <B.Kohl@rrz.uni-koeln.de> writes:

> Searching for the cause of the problem I found a very old article on the 
> sending server that didn't have an XREF line.

> The receiving server is running with xrefslave=true and storeonref=true.

> Maybe, this could have damaged the overview?

Nope.  Should have just been rejected.

pwrite failed in the tradindexed code.  Hm.  I wonder if you may have been
unlucky enough to have it interrupted by a SIGCHLD.  Were there any
readers using the server at the time?  Did any other child processes of
innd exit right about the same time?

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: inn 2.3 tradindexed problem
#51264
Author: Bernhard Kohl
Date: Fri, 16 Mar 2001 10:04
22 lines
1914 bytes
Russ Allbery <rra@stanford.edu> wrote in
<ylg0geulfl.fsf@windlord.stanford.edu>: 

> ...
>
>pwrite failed in the tradindexed code.  Hm.  I wonder if you may have
>been unlucky enough to have it interrupted by a SIGCHLD.  Were there any
>readers using the server at the time?  Did any other child processes of
>innd exit right about the same time?
>

I'm setting up this server and synchronizing with the old one. So, no 
public readers are allowed so far.

The only reader is myself. Unfortunately, there is a chance that I was 
checking this group for checking if everything is going right.

Do you think that could have been the Problem?

Regards,
Bernd
Re: inn 2.3 tradindexed problem
#51266
Author: Russ Allbery
Date: Fri, 16 Mar 2001 10:25
20 lines
1945 bytes
Bernhard Kohl <B.Kohl@rrz.uni-koeln.de> writes:

> I'm setting up this server and synchronizing with the old one. So, no
> public readers are allowed so far.

> The only reader is myself. Unfortunately, there is a chance that I was
> checking this group for checking if everything is going right.

> Do you think that could have been the Problem?

I think that using an unwrappered pwrite is dangerous, since it could
potentially be interrupted by a signal.  *grumble*  Yet another call that
really needs to be wrapped for EINTR in the source code.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: inn 2.3 tradindexed problem
#51362
Author: Bernhard Kohl
Date: Wed, 21 Mar 2001 08:58
22 lines
1953 bytes
Russ Allbery <rra@stanford.edu> wrote in 
<yln1amt3hq.fsf@windlord.stanford.edu>:

>Bernhard Kohl <B.Kohl@rrz.uni-koeln.de> writes:
>
>> ... SNIP ...
>
>I think that using an unwrappered pwrite is dangerous, since it could
>potentially be interrupted by a signal.  *grumble*  Yet another call that
>really needs to be wrapped for EINTR in the source code.
>

The new server now is provided to go into production; do you think this 
would be dangerous without this unwrappered pwrite?

The currently running version is INN 2.3.2 (20010306 prerelease).


Regards,

Bernhard Kohl
Re: inn 2.3 tradindexed problem
#51369
Author: Russ Allbery
Date: Wed, 21 Mar 2001 22:12
23 lines
2390 bytes
Bernhard Kohl <B.Kohl@rrz.uni-koeln.de> writes:

> The new server now is provided to go into production; do you think this
> would be dangerous without this unwrappered pwrite?

> The currently running version is INN 2.3.2 (20010306 prerelease).

If you run nnrpd separately from innd, which I recommend anyway (run nnrpd
out of inetd or tcpserver or in daemon mode with -D and run innd on some
other port, usually 433), innd spawns considerably fewer child processes,
all of which should be long-running.  That makes it incredibly unlikely
that you'll run into this.

(The operating system is *supposed* to restart system calls like read and
write, but some operating systems don't if writing to network file
systems.  *grumble*)

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: inn 2.3 tradindexed problem
#51397
Author: bill davidsen
Date: Thu, 22 Mar 2001 15:25
21 lines
1765 bytes
In article <Xns90656EED043C4BKohlrrzunikoelnde@134.95.100.202>,
Bernhard Kohl <B.Kohl@rrz.uni-koeln.de> wrote:
| This morning there was an error and inn 2.3.1 throttled with the message:
| 
|     	400 No such file or directory writing creating overview file -- 
| throttling
| 
| 
| Rewriting overview seems to be a very long process, so I would liek to know 
| why there was anything going wrong.

1 - ownership and/or permissions
2 - out of space (bytes)
3 - out of space (inodes)

-- 
  bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
"It's not true that life is one damn thing after another. It's one damn
 thing over and over."
        -Edna St Vincent Millay
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