🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
30 messages
30 total messages Started by SmarttNet Technical Support Fri, 08 Oct 1999 00:00
Expire crashes in INN 2.2 and 2.2.1
#40694
Author: SmarttNet Technical Support
Date: Fri, 08 Oct 1999 00:00
22 lines
1609 bytes
Here's a real mystery.  As a note, this has been happening with INN 2.2 and
2.2.1 for awhile.  This re-occurs ever 2 - 4 weeks.

When our servers crashes it is during the first 2 minutes of the expiration
process.  And everytime it does, I find this in the next expiration process.
    
    Duplicate message-id "[1DC40EC5FD017D9E366FEABECCF7D3FF]" in history
    Duplicate message-id "[FD1E94A0AED9012C558B3DDBE3AC8352]" in history
    Duplicate message-id "[B12EA6375D2D428C756E3D3C507F0803]" in history
    Duplicate message-id "[4DC93D4F3C4665DB4030A190765128C2]" in history
    Duplicate message-id "[1ED8EE0C6D537F68C08EA19C142746AF]" in history
    Duplicate message-id "[0A16CC1E8BA246F8F6A82192AEA2DF10]" in history

It is more like 50 - 100+ lines of these errors.  I have had the upstream (The
local TELco) try and trace them down without any luck.

Anyone seen anything like this?

TIA


Re: Expire crashes in INN 2.2 and 2.2.1
#40704
Author: Russ Allbery
Date: Fri, 08 Oct 1999 00:00
23 lines
1597 bytes
SmarttNet Technical Support <tech@smartt.com> writes:

> Here's a real mystery.  As a note, this has been happening with INN 2.2
> and 2.2.1 for awhile.  This re-occurs ever 2 - 4 weeks.

> When our servers crashes it is during the first 2 minutes of the
> expiration process.  And everytime it does, I find this in the next
> expiration process.
    
>     Duplicate message-id "[1DC40EC5FD017D9E366FEABECCF7D3FF]" in history
>     Duplicate message-id "[FD1E94A0AED9012C558B3DDBE3AC8352]" in history
>     Duplicate message-id "[B12EA6375D2D428C756E3D3C507F0803]" in history
>     Duplicate message-id "[4DC93D4F3C4665DB4030A190765128C2]" in history
>     Duplicate message-id "[1ED8EE0C6D537F68C08EA19C142746AF]" in history
>     Duplicate message-id "[0A16CC1E8BA246F8F6A82192AEA2DF10]" in history

Are you using tagged hash?  I think something similar to this happens when
tagged hash overflows, but having never used it myself, I'm not positive.

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

Re: Expire crashes in INN 2.2 and 2.2.1
#40723
Author: Sico Bruins
Date: Sat, 09 Oct 1999 00:00
30 lines
1947 bytes
In article <37fe0ff3.2467531@news.smartt.com>,
SmarttNet Technical Support <tech@smartt.com> wrote:

>Here's a real mystery.  As a note, this has been happening with INN 2.2 and
>2.2.1 for awhile.  This re-occurs ever 2 - 4 weeks.
>
>When our servers crashes it is during the first 2 minutes of the expiration
>process.  And everytime it does, I find this in the next expiration process.
>    
>    Duplicate message-id "[1DC40EC5FD017D9E366FEABECCF7D3FF]" in history
>    Duplicate message-id "[FD1E94A0AED9012C558B3DDBE3AC8352]" in history
>    Duplicate message-id "[B12EA6375D2D428C756E3D3C507F0803]" in history
>    Duplicate message-id "[4DC93D4F3C4665DB4030A190765128C2]" in history
>    Duplicate message-id "[1ED8EE0C6D537F68C08EA19C142746AF]" in history
>    Duplicate message-id "[0A16CC1E8BA246F8F6A82192AEA2DF10]" in history
>
>It is more like 50 - 100+ lines of these errors.  I have had the upstream (The
>local TELco) try and trace them down without any luck.
>
>Anyone seen anything like this?

Yeah, I get that now and then in the expiry report of one of my machines
running inn-2.2 with CNFS. The machine doesn't crash however but happily
continues doing its job...

>TIA

CU, Sico.

Re: Expire crashes in INN 2.2 and 2.2.1
#40770
Author: bill davidsen
Date: Tue, 12 Oct 1999 00:00
33 lines
2469 bytes
In article <yl1zb0tp4t.fsf@windlord.stanford.edu>,
Russ Allbery  <rra@stanford.edu> wrote:
| bill davidsen <davidsen@tmr.com> writes:
| 
| > I have seen this on machines running tagged hash, both during expiry and
| > during makehistory. Problem is, I'm not sure I haven't seen it on
| > non-tagged machines. In any case, I haven't seen it recently with any
| > machine, so all I can say surely is "it's not just you, it's a feature."
| 
| The only time I've ever seen it on any of my machines is when my history
| retention time didn't match my rejection of incoming article time and I
| was accepting some articles twice.  (I've never run tagged hash.)

  There's a thought, it would account for makehistory really seeing the
article twice, because it's in CNFS twice. I do run a very long accept
time on some machines, to provide the ability to accept articles
reinserted from archives when needed for various things.

  But I though that no matter how short the remember time any article
still physically available was in history. In fact that's why expire
doesn't work the way it did in 1.4. That being true, why would expire
see the article twice? It shouldn't be accepted if it's still in
history, when it's cycled out it should vanish from history.

  What am I missing in all this?

-- 
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  When taking small children to a carnival, always have them go potty
*before* you let them go on the rides, and let them eat all the junk
food and candy *after*.

Re: Expire crashes in INN 2.2 and 2.2.1
#40771
Author: bill davidsen
Date: Tue, 12 Oct 1999 00:00
23 lines
1949 bytes
In article <slrn80705s.ov6.andrew+news@uk21.supernews.com>,
Andrew <andrew@supernews.com> wrote:
| In article <7tvu2f$2dho$1@newssvr03-int.news.prodigy.com>, bill davidsen wrote:
| >
| >| >     Duplicate message-id "[1DC40EC5FD017D9E366FEABECCF7D3FF]" in history
| >| >     Duplicate message-id "[FD1E94A0AED9012C558B3DDBE3AC8352]" in history
| >	[ etc ]

| I've definitely seen it on a non-tagged-hash machine. My suspicion is that
| the overflow code is broke somewhere; once your server has been running for
| a while and the history size has stabilised, the problem goes away.

  By any chance could it be history was created without using -s for
the dbz create, and does this cause problems other than performance?
I'm sure I've been guilty of this once in a while.

-- 
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  When taking small children to a carnival, always have them go potty
*before* you let them go on the rides, and let them eat all the junk
food and candy *after*.

Re: Expire crashes in INN 2.2 and 2.2.1
#40780
Author: bill davidsen
Date: Tue, 12 Oct 1999 00:00
27 lines
2005 bytes
In article <ylemf5ntwr.fsf@windlord.stanford.edu>,
Russ Allbery  <rra@stanford.edu> wrote:
| SmarttNet Technical Support <tech@smartt.com> writes:

| > When our servers crashes it is during the first 2 minutes of the
| > expiration process.  And everytime it does, I find this in the next
| > expiration process.

| >     Duplicate message-id "[1DC40EC5FD017D9E366FEABECCF7D3FF]" in history
| >     Duplicate message-id "[FD1E94A0AED9012C558B3DDBE3AC8352]" in history
	[ etc ]
| 
| Are you using tagged hash?  I think something similar to this happens when
| tagged hash overflows, but having never used it myself, I'm not positive.

  I have seen this on machines running tagged hash, both during expiry
and during makehistory. Problem is, I'm not sure I haven't seen it on
non-tagged machines. In any case, I haven't seen it recently with any
machine, so all I can say surely is "it's not just you, it's a feature."

-- 
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  When taking small children to a carnival, always have them go potty
*before* you let them go on the rides, and let them eat all the junk
food and candy *after*.

Re: Expire crashes in INN 2.2 and 2.2.1
#40785
Author: Andrew
Date: Tue, 12 Oct 1999 00:00
20 lines
1698 bytes
In article <7tvu2f$2dho$1@newssvr03-int.news.prodigy.com>, bill davidsen wrote:
>
>| >     Duplicate message-id "[1DC40EC5FD017D9E366FEABECCF7D3FF]" in history
>| >     Duplicate message-id "[FD1E94A0AED9012C558B3DDBE3AC8352]" in history
>	[ etc ]
>
>  I have seen this on machines running tagged hash, both during expiry
>and during makehistory. Problem is, I'm not sure I haven't seen it on
>non-tagged machines. In any case, I haven't seen it recently with any
>machine, so all I can say surely is "it's not just you, it's a feature."

I've definitely seen it on a non-tagged-hash machine. My suspicion is that
the overflow code is broke somewhere; once your server has been running for
a while and the history size has stabilised, the problem goes away.

-- 
Andrew, Supernews
http://www.supernews.com - UK and US individual and corporate NNTP services

Re: Expire crashes in INN 2.2 and 2.2.1
#40790
Author: Andrew
Date: Wed, 13 Oct 1999 00:00
26 lines
2198 bytes
In article <7u00e1$13hq$1@newssvr03-int.news.prodigy.com>, bill davidsen wrote:
>In article <slrn80705s.ov6.andrew+news@uk21.supernews.com>,
>Andrew <andrew@supernews.com> wrote:
[duplicate message-ids in history]
>| I've definitely seen it on a non-tagged-hash machine. My suspicion is that
>| the overflow code is broke somewhere; once your server has been running for
>| a while and the history size has stabilised, the problem goes away.
>
>  By any chance could it be history was created without using -s for
>the dbz create, and does this cause problems other than performance?
>I'm sure I've been guilty of this once in a while.

That's exactly the situation in which the overflow code gets exercised.
The dbz files consist of a number of hashtables in sequence; if the first
one overflows then entries are added to the second one and so forth. This
is what causes things to slow down, as only the first table is ever mmaped,
so the number of read calls becomes excessive if too many tables are used.

Once the history size has reached a reasonably stable state, there will only
ever be one hashtable in use, and the overflow code is no longer used.

-- 
Andrew, Supernews
http://www.supernews.com - UK and US individual and corporate NNTP services

Re: Expire crashes in INN 2.2 and 2.2.1
#40791
Author: SmarttNet Technical Support
Date: Wed, 13 Oct 1999 00:00
38 lines
2229 bytes
After reading all the responses I went over my config again.

And what did I find... I do not use tagged hash and I use traditional storage.
But I find that the extendeddbz was set to true but the INSTALL says to use it
if using the storage API and not using tagged hash.

Could this have caused my problems?  Now that I set extendeddbz to false, is
there something I should do to make sure nothing is corrupted like history
files?

TIA.

On Fri, 08 Oct 1999 15:46:32 GMT, tech@smartt.com (SmarttNet Technical Support)
wrote:

>Here's a real mystery.  As a note, this has been happening with INN 2.2 and
>2.2.1 for awhile.  This re-occurs ever 2 - 4 weeks.
>
>When our servers crashes it is during the first 2 minutes of the expiration
>process.  And everytime it does, I find this in the next expiration process.
>    
>    Duplicate message-id "[1DC40EC5FD017D9E366FEABECCF7D3FF]" in history
>    Duplicate message-id "[FD1E94A0AED9012C558B3DDBE3AC8352]" in history
>    Duplicate message-id "[B12EA6375D2D428C756E3D3C507F0803]" in history
>    Duplicate message-id "[4DC93D4F3C4665DB4030A190765128C2]" in history
>    Duplicate message-id "[1ED8EE0C6D537F68C08EA19C142746AF]" in history
>    Duplicate message-id "[0A16CC1E8BA246F8F6A82192AEA2DF10]" in history
>
>It is more like 50 - 100+ lines of these errors.  I have had the upstream (The
>local TELco) try and trace them down without any luck.
>
>Anyone seen anything like this?
>
>TIA
>


Re: Expire crashes in INN 2.2 and 2.2.1
#40796
Author: SmarttNet Technical Support
Date: Wed, 13 Oct 1999 00:00
22 lines
1426 bytes
On 13 Oct 1999 12:23:02 -0700, Russ Allbery <rra@stanford.edu> wrote:

<snip>

>I'm not the best person at reading these numbers, but one thing that may
>help is to know the results of "wc -l history" and the contents of your
>history.dir file (which is plain text).
>
Here's the results of those 2 commands.

wc -l history
3235364 history

cat history.dir
dbz 6 5485470 10 66
3235730 3640407 3211426 3191446 3432764 3656980 3293365 3231543 3155494 3116185
3191899

<snip>


Re: Expire crashes in INN 2.2 and 2.2.1
#40803
Author: SmarttNet Technical Support
Date: Wed, 13 Oct 1999 00:00
39 lines
2328 bytes
4 days later the exact same thing.
I am using the original storage method.

Our upstream cannot find message id's in their logs but they find their way
here.  They are scratching their head because there is no domain as part of the
id.

I'm beginning to think this is a DoS exploit!

If there is anything I can do to help track this bug down please let me know via
here or e-mail.


On 08 Oct 1999 19:35:00 -0700, Russ Allbery <rra@stanford.edu> wrote:

>SmarttNet Technical Support <tech@smartt.com> writes:
>
>> Here's a real mystery.  As a note, this has been happening with INN 2.2
>> and 2.2.1 for awhile.  This re-occurs ever 2 - 4 weeks.
>
>> When our servers crashes it is during the first 2 minutes of the
>> expiration process.  And everytime it does, I find this in the next
>> expiration process.
>    
>>     Duplicate message-id "[1DC40EC5FD017D9E366FEABECCF7D3FF]" in history
>>     Duplicate message-id "[FD1E94A0AED9012C558B3DDBE3AC8352]" in history
>>     Duplicate message-id "[B12EA6375D2D428C756E3D3C507F0803]" in history
>>     Duplicate message-id "[4DC93D4F3C4665DB4030A190765128C2]" in history
>>     Duplicate message-id "[1ED8EE0C6D537F68C08EA19C142746AF]" in history
>>     Duplicate message-id "[0A16CC1E8BA246F8F6A82192AEA2DF10]" in history
>
>Are you using tagged hash?  I think something similar to this happens when
>tagged hash overflows, but having never used it myself, I'm not positive.
>
>-- 
>Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>


Re: Expire crashes in INN 2.2 and 2.2.1
#40804
Author: SmarttNet Technical Support
Date: Wed, 13 Oct 1999 00:00
52 lines
2920 bytes
On 13 Oct 1999 16:54:09 GMT, niels@usenet.bakker.net (N) wrote:

<snip>
>That's because it aren't Message-ID's but hashes of Message-ID's.  As Russ
>Allbery asked you,
>
>>> Are you using tagged hash?  I think something similar to this happens when
>>> tagged hash overflows, but having never used it myself, I'm not positive.
>
>Getting the answer to this question is kinda vital for resolving your problem.
>News admins are pretty good at predicting the behaviour of their customers
>but this doesn't extend to being able to read the minds of random people
>asking questions in newsgroups.
>
I have only been running this server for a year.  Never heard of tagged hash.
I know the storage method is not time hash.  When I was given the news server I
learnt by looking over the original server (INN 1.4 or 1.5) and tried to learn
from there.  Maybe I have something else configured wrong?

I'm guessing that I don't use tagged hash.  How can I find out if I am or not?

When I compile 2.2.1 here's what I use for the configure script
configure --prefix=/usr/news --with-perl

Let's see I use the original storage method.  The server runs actived,
controlchan, overchan, crosspost along with innd.
>
>> If there is anything I can do to help track this bug down please let me
>> know via here or e-mail.
>
>Just answer the question...
>
>
>> I'm beginning to think this is a DoS exploit!
>
>I'm beginning to think you don't have enough memory for expire to run, or
>that you misunderstand what is actually happening (i.e., that innd stops
>accepting connections for a while when it's renumbering its active file
>and you see that as symptoms of trouble and do something less intelligent
>like reboot the machine).
>
The server has 1 Gb RAM using Linux kernel 2.2.12.  that should be enough for a
history file that is 236 Mb.

The server crashes.  Programs cease to run.  During the very beginning of the
expire process.  Within the first minute or 3.

I cannot think of anymore to say.  I hope this helps :^)

TIA.

Re: Expire crashes in INN 2.2 and 2.2.1
#40806
Author: Paul Tomblin
Date: Wed, 13 Oct 1999 00:00
19 lines
1422 bytes
In a previous article, tech@smartt.com (SmarttNet Technical Support) said:
>I'm pulling at straws now :^)
>
>Using traditional spool should these both be true or false?
>
>articlemmap:            false
>overviewmmap:           true
>
>Could I be having problem with mmap()?

I have both of those true on Solaris 7 and Linux 2.2.13pre14, with no troubles
on either.

-- 
Paul Tomblin, not speaking for anybody.
SETI@Home:  Finally a *good* way to impress Jodie Foster
http://www.setiathome.ssl.berkeley.edu/

Re: Expire crashes in INN 2.2 and 2.2.1
#40810
Author: SmarttNet Technical Support
Date: Wed, 13 Oct 1999 00:00
26 lines
1676 bytes
I haven't rebuilt the history yet but the only noticable change is that the load
avg has gone up since turning the extendeddbz off.

I haven't had to rebuild the history files for about a year.  What would be the
best settings for makehistory after issuing the ctlinnd pause "Reason" command?

Thanx to everyone for their input.

On Wed, 13 Oct 1999 18:11:37 GMT, tech@smartt.com (SmarttNet Technical Support)
wrote:

>After reading all the responses I went over my config again.
>
>And what did I find... I do not use tagged hash and I use traditional storage.
>But I find that the extendeddbz was set to true but the INSTALL says to use it
>if using the storage API and not using tagged hash.
>
>Could this have caused my problems?  Now that I set extendeddbz to false, is
>there something I should do to make sure nothing is corrupted like history
>files?
>
>TIA.
>


Re: Expire crashes in INN 2.2 and 2.2.1
#40815
Author: SmarttNet Technical Support
Date: Wed, 13 Oct 1999 00:00
10 lines
945 bytes
I'm pulling at straws now :^)

Using traditional spool should these both be true or false?

articlemmap:            false
overviewmmap:           true

Could I be having problem with mmap()?

Re: Expire crashes in INN 2.2 and 2.2.1
#40860
Author: SmarttNet Technical Support
Date: Thu, 14 Oct 1999 00:00
36 lines
2064 bytes
I guess that's it for suggestions?

I guess I'll just wait to see if it crashes again.  I don't have the time to go
through the code to see if there is a way to prevent this from happening.  I'm
lucky, I get to admin everything :^)

*crosses fingers, eyes and toes*

Thanx...

On Fri, 08 Oct 1999 15:46:32 GMT, tech@smartt.com (SmarttNet Technical Support)
wrote:

>Here's a real mystery.  As a note, this has been happening with INN 2.2 and
>2.2.1 for awhile.  This re-occurs ever 2 - 4 weeks.
>
>When our servers crashes it is during the first 2 minutes of the expiration
>process.  And everytime it does, I find this in the next expiration process.
>    
>    Duplicate message-id "[1DC40EC5FD017D9E366FEABECCF7D3FF]" in history
>    Duplicate message-id "[FD1E94A0AED9012C558B3DDBE3AC8352]" in history
>    Duplicate message-id "[B12EA6375D2D428C756E3D3C507F0803]" in history
>    Duplicate message-id "[4DC93D4F3C4665DB4030A190765128C2]" in history
>    Duplicate message-id "[1ED8EE0C6D537F68C08EA19C142746AF]" in history
>    Duplicate message-id "[0A16CC1E8BA246F8F6A82192AEA2DF10]" in history
>
>It is more like 50 - 100+ lines of these errors.  I have had the upstream (The
>local TELco) try and trace them down without any luck.
>
>Anyone seen anything like this?
>
>TIA
>


Re: Expire crashes in INN 2.2 and 2.2.1
#40864
Author: SmarttNet Technical Support
Date: Fri, 15 Oct 1999 00:00
44 lines
2137 bytes
On 15 Oct 1999 00:58:26 GMT, gmwils@zark.thedonkeys.org wrote:

>SmarttNet Technical Support <tech@smartt.com> wrote:
>> I'm pulling at straws now :^)
>
>> Using traditional spool should these both be true or false?
>
>> articlemmap:            false
>> overviewmmap:           true
>
>> Could I be having problem with mmap()?

I asked about mmap() since the docs mentioned that it could be a problem in some
systems.  So far the server is running fine with both being true.  Now to wait
and see...  :^)

>
>I'm not sure if this will help, but under linux I was running into problems
>with expire due to the number of files that it was opening. This was also due
>to having readers and feeds on the same box. The default value for the 2.0.x
>series of kernels was simply too low to run a news server on. The default has
>been bumped up for the 2.2.x series, but it still may be too low for expire to
>sneak through.

Does anyone know how many files the expiration process opens?

>
>Under linux 2.2.x have a look at 
>   /proc/sys/fs/file-max and file-nr

file-max 4096 
file-nr 568     310     4096

> also
>   /proc/sys/fs/inode-max , inode-nr and inode-state

inode-max 16384
inode-nr 16410   2028
inode-state 16410   1950    0       0       0       0       0

These seem to look good..


Re: Expire crashes in INN 2.2 and 2.2.1
#40867
Author: joe
Date: Fri, 15 Oct 1999 00:00
25 lines
1609 bytes
Russ Allbery <rra@stanford.edu> wrote:
> Paul Tomblin <ptomblin@piper.xcski.com> writes:

>> I have both of those true on Solaris 7 and Linux 2.2.13pre14, with no
>> troubles on either.

> I've never seen any problems with mmap() on Solaris under 2.5.1 or 2.6
> either.

Just an FYI...

I'm running NetBSD 1.3.3 and INN 2.2 and I tried flipping articlemmap to true
for a few days because I was reading somewhere that it "could" boost 
performance (!), but it was horrible... I was getting tons of:

innfeed[22051]: ME munged article @03015350454349414C000011654F00000001C8007D

in /var/log/messages and readers complaining about not being able to access
articles that they could see headers for... 


-- 
Joe Bishop (joe@qnx.com)

Re: Expire crashes in INN 2.2 and 2.2.1
#40877
Author: Paul Tomblin
Date: Fri, 15 Oct 1999 00:00
21 lines
1754 bytes
In a previous article, joe@qnx.com said:
>I'm running NetBSD 1.3.3 and INN 2.2 and I tried flipping articlemmap to true
>for a few days because I was reading somewhere that it "could" boost 
>performance (!), but it was horrible... I was getting tons of:

>innfeed[22051]: ME munged article @03015350454349414C000011654F00000001C8007D

>in /var/log/messages and readers complaining about not being able to access
>articles that they could see headers for... 

Oh, well I'm using tradspool.  Maybe storageapi has some problems still.  Are
you using 2.2 or 2.2.1?  2.2.1 has a lot of bug fixes related to storageapi.



-- 
Paul Tomblin, not speaking for anybody.
SETI@Home:  Finally a *good* way to impress Jodie Foster
http://www.setiathome.ssl.berkeley.edu/

Re: Expire crashes in INN 2.2 and 2.2.1
#40890
Author: joe
Date: Fri, 15 Oct 1999 00:00
16 lines
1458 bytes
Paul Tomblin <ptomblin@piper.xcski.com> wrote:
> Oh, well I'm using tradspool.  Maybe storageapi has some problems still.  Are
> you using 2.2 or 2.2.1?  2.2.1 has a lot of bug fixes related to storageapi.

this was the last thing that was compiled: inn-STABLE_2_2-1999-04-07_03-01

I've got the src for the 2.3 beta - can I just copy my "site" dir into this
source tree and do a make/make install and be on my merry way? Or should I
track down 2.2.1 (or what ever the latest non-beta is) and work with that?

Thanks for your comments

-- 
Joe Bishop (joe@qnx.com)

Re: Expire crashes in INN 2.2 and 2.2.1
#40892
Author: gmwils
Date: Fri, 15 Oct 1999 00:00
37 lines
1994 bytes
SmarttNet Technical Support <tech@smartt.com> wrote:
> I'm pulling at straws now :^)

> Using traditional spool should these both be true or false?

> articlemmap:            false
> overviewmmap:           true

> Could I be having problem with mmap()?

I'm not sure if this will help, but under linux I was running into problems
with expire due to the number of files that it was opening. This was also due
to having readers and feeds on the same box. The default value for the 2.0.x
series of kernels was simply too low to run a news server on. The default has
been bumped up for the 2.2.x series, but it still may be too low for expire to
sneak through.

Under linux 2.2.x have a look at 
   /proc/sys/fs/file-max and file-nr
 also
   /proc/sys/fs/inode-max , inode-nr and inode-state

If the number of open inodes or files is getting close to the maximum it may
be worth increasing this. Assuming a recent enough kernel, it is a simple
matter of 
   echo new-number > /proc/sys/fs/file-max
as root.

Geoff

-- 
   a paranoid is just someone with all of the facts at his disposal
               - william seaward burroughs  1914-1997 

Geoff M. Wilson <gmwils@zark.thedonkeys.org>  www.zark.thedonkeys.org/~gmwils

Re: Expire crashes in INN 2.2 and 2.2.1
#40925
Author: bill davidsen
Date: Mon, 18 Oct 1999 00:00
29 lines
2248 bytes
In article <7u7hjb$spr$1@nntp.qnx.com>,  <joe@qnx.com> wrote:
| Paul Tomblin <ptomblin@piper.xcski.com> wrote:
| > Oh, well I'm using tradspool.  Maybe storageapi has some problems still.  Are
| > you using 2.2 or 2.2.1?  2.2.1 has a lot of bug fixes related to storageapi.
| 
| this was the last thing that was compiled: inn-STABLE_2_2-1999-04-07_03-01
| 
| I've got the src for the 2.3 beta - can I just copy my "site" dir into this
| source tree and do a make/make install and be on my merry way? Or should I
| track down 2.2.1 (or what ever the latest non-beta is) and work with that?

  No, you have to do some of the files over. In particular, inn.conf has
enough new stuff that you might want to redo it line by line as a
learning tool, and nnrp.access is gone, replaced by readers.conf, which
is vastly flexible but does leave a tad to be desired in simplicity.

  I consider 2.3 to be vastly better than 2.2.anything, but it is an
adventure at the moment. The man pages are finally redone and pretty
helpful compared to their original state. I would stay away from
buffindexed for the moment, other than that things are usefully stable,
at least in my use.

-- 
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  When taking small children to a carnival, always have them go potty
*before* you let them go on the rides, and let them eat all the junk
food and candy *after*.

Re: Expire crashes in INN 2.2 and 2.2.1
#40929
Author: bill davidsen
Date: Tue, 19 Oct 1999 00:00
30 lines
2301 bytes
In article <ylr9ismjc6.fsf@windlord.stanford.edu>,
Russ Allbery  <rra@stanford.edu> wrote:
| bill davidsen <davidsen@tmr.com> writes:
| 
| > I consider 2.3 to be vastly better than 2.2.anything, but it is an
| > adventure at the moment. The man pages are finally redone and pretty
| > helpful compared to their original state. I would stay away from
| > buffindexed for the moment, other than that things are usefully stable,
| > at least in my use.
| 
| Note that we don't necessarily guarantee it'll stay that way; I broke
| something the other day with the configure changes, and I have some other
| stuff in the works that may make it less stable for a while (but better in
| the long run).  It's still under active development.  :)

  Perhaps it's a good time to pick a release which has been reliable and
leake it on ISC with the proviso that it is not stable, but a good place
to go for features if you don't need the bleeding edge. I kind of liked
09-30, as we discussed the setreuid() issue kind of broke AIX until
patches were applied. I think there are folks who really would like to
run an unpatched version, since no one wants to bother with a patch list
for something so volitile.

-- 
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  When taking small children to a carnival, always have them go potty
*before* you let them go on the rides, and let them eat all the junk
food and candy *after*.

Re: Expire crashes in INN 2.2 and 2.2.1
#41121
Author: SmarttNet Technical Support
Date: Tue, 26 Oct 1999 00:00
44 lines
3013 bytes
It's me again!  Wow 14 days later and again the expire crashes! Same old
story...

Andrew: I went back over this thread and you seemed to have some of the best
ideas as to what is happening.  Any idea how I could fix this?

Out of all the server software I administer, this INN has to be one of the most
frustrating!!!  I really need to find an answer for this problem...  I'll help
patch it but I have no time to go through the code myself to try and find a
fix...  Now I see why whenever someone has a problem with INN that someone at
bCandid send people spam about buying their NNTP software... Good marketing
efforts...

Frustrated... :^)

On 13 Oct 1999 01:04:44 GMT, andrew+news@supernews.com (Andrew) wrote:

>In article <7u00e1$13hq$1@newssvr03-int.news.prodigy.com>, bill davidsen wrote:
>>In article <slrn80705s.ov6.andrew+news@uk21.supernews.com>,
>>Andrew <andrew@supernews.com> wrote:
>[duplicate message-ids in history]
>>| I've definitely seen it on a non-tagged-hash machine. My suspicion is that
>>| the overflow code is broke somewhere; once your server has been running for
>>| a while and the history size has stabilised, the problem goes away.
>>
>>  By any chance could it be history was created without using -s for
>>the dbz create, and does this cause problems other than performance?
>>I'm sure I've been guilty of this once in a while.
>
>That's exactly the situation in which the overflow code gets exercised.
>The dbz files consist of a number of hashtables in sequence; if the first
>one overflows then entries are added to the second one and so forth. This
>is what causes things to slow down, as only the first table is ever mmaped,
>so the number of read calls becomes excessive if too many tables are used.
>
>Once the history size has reached a reasonably stable state, there will only
>ever be one hashtable in use, and the overflow code is no longer used.
>
>-- 
>Andrew, Supernews
>http://www.supernews.com - UK and US individual and corporate NNTP services


Re: Expire crashes in INN 2.2 and 2.2.1
#41589
Author: SmarttNet Technical Support
Date: Wed, 17 Nov 1999 00:00
52 lines
2749 bytes
No matter what I do on this end, this problem is not going away.

I even went as far as to up the remember time to 28 days.  All that does is
bloats the history file and bloats the memory footprint of innd.

I would love to find out why this continues to happen but I need some help.  As
a programmer, I'd love to help with the development of INND and see the
continuation of freeware.  But I cannot do it alone.

Someone earlier mentioned that the problem sounded like the overflow code was
broken somewhere.

On Thu, 14 Oct 1999 16:30:55 GMT, tech@smartt.com (SmarttNet Technical Support)
wrote:

>I guess that's it for suggestions?
>
>I guess I'll just wait to see if it crashes again.  I don't have the time to go
>through the code to see if there is a way to prevent this from happening.  I'm
>lucky, I get to admin everything :^)
>
>*crosses fingers, eyes and toes*
>
>Thanx...
>
>On Fri, 08 Oct 1999 15:46:32 GMT, tech@smartt.com (SmarttNet Technical Support)
>wrote:
>
>>Here's a real mystery.  As a note, this has been happening with INN 2.2 and
>>2.2.1 for awhile.  This re-occurs ever 2 - 4 weeks.
>>
>>When our servers crashes it is during the first 2 minutes of the expiration
>>process.  And everytime it does, I find this in the next expiration process.
>>    
>>    Duplicate message-id "[1DC40EC5FD017D9E366FEABECCF7D3FF]" in history
>>    Duplicate message-id "[FD1E94A0AED9012C558B3DDBE3AC8352]" in history
>>    Duplicate message-id "[B12EA6375D2D428C756E3D3C507F0803]" in history
>>    Duplicate message-id "[4DC93D4F3C4665DB4030A190765128C2]" in history
>>    Duplicate message-id "[1ED8EE0C6D537F68C08EA19C142746AF]" in history
>>    Duplicate message-id "[0A16CC1E8BA246F8F6A82192AEA2DF10]" in history
>>
>>It is more like 50 - 100+ lines of these errors.  I have had the upstream (The
>>local TELco) try and trace them down without any luck.
>>
>>Anyone seen anything like this?
>>
>>TIA
>>
>


Re: Expire crashes in INN 2.2 and 2.2.1
#41772
Author: SmarttNet Technical Support
Date: Wed, 24 Nov 1999 00:00
31 lines
1930 bytes
This is still continuing..

Now I'm running cleanfeed.  Is there a way I could filter these messages so that
it does choke the news.daily process?

On Fri, 08 Oct 1999 15:46:32 GMT, tech@smartt.com (SmarttNet Technical Support)
wrote:

>Here's a real mystery.  As a note, this has been happening with INN 2.2 and
>2.2.1 for awhile.  This re-occurs ever 2 - 4 weeks.
>
>When our servers crashes it is during the first 2 minutes of the expiration
>process.  And everytime it does, I find this in the next expiration process.
>    
>    Duplicate message-id "[1DC40EC5FD017D9E366FEABECCF7D3FF]" in history
>    Duplicate message-id "[FD1E94A0AED9012C558B3DDBE3AC8352]" in history
>    Duplicate message-id "[B12EA6375D2D428C756E3D3C507F0803]" in history
>    Duplicate message-id "[4DC93D4F3C4665DB4030A190765128C2]" in history
>    Duplicate message-id "[1ED8EE0C6D537F68C08EA19C142746AF]" in history
>    Duplicate message-id "[0A16CC1E8BA246F8F6A82192AEA2DF10]" in history
>
>It is more like 50 - 100+ lines of these errors.  I have had the upstream (The
>local TELco) try and trace them down without any luck.
>
>Anyone seen anything like this?
>
>TIA
>


Re: Expire crashes in INN 2.2 and 2.2.1
#42045
Author: SmarttNet Technical Support
Date: Wed, 08 Dec 1999 00:00
37 lines
2185 bytes
One thing I have noticed lately about this machine is that one day after an
expiration process, the files never got deleted.

I pose this, is the code in news.daily's delayrm broken?

Since then, I have removed delayrm from the expiration process and now find that
it hasn't crashed for 2 weeks.  If it hasn't crashed within the next 2 weeks,
then it'll be a record for this server.

Comments? :^)

On Fri, 08 Oct 1999 15:46:32 GMT, tech@smartt.com (SmarttNet Technical Support)
wrote:

>Here's a real mystery.  As a note, this has been happening with INN 2.2 and
>2.2.1 for awhile.  This re-occurs ever 2 - 4 weeks.
>
>When our servers crashes it is during the first 2 minutes of the expiration
>process.  And everytime it does, I find this in the next expiration process.
>    
>    Duplicate message-id "[1DC40EC5FD017D9E366FEABECCF7D3FF]" in history
>    Duplicate message-id "[FD1E94A0AED9012C558B3DDBE3AC8352]" in history
>    Duplicate message-id "[B12EA6375D2D428C756E3D3C507F0803]" in history
>    Duplicate message-id "[4DC93D4F3C4665DB4030A190765128C2]" in history
>    Duplicate message-id "[1ED8EE0C6D537F68C08EA19C142746AF]" in history
>    Duplicate message-id "[0A16CC1E8BA246F8F6A82192AEA2DF10]" in history
>
>It is more like 50 - 100+ lines of these errors.  I have had the upstream (The
>local TELco) try and trace them down without any luck.
>
>Anyone seen anything like this?
>
>TIA
>


Re: Expire crashes in INN 2.2 and 2.2.1
#42056
Author: Brad Knowles
Date: Thu, 09 Dec 1999 00:00
35 lines
2334 bytes
In article <384ed73a.21413093@news.smartt.com>, tech@smartt.com 
(SmarttNet Technical Support) wrote:

> One thing I have noticed lately about this machine is that one day after 
> an expiration process, the files never got deleted.
> 
> I pose this, is the code in news.daily's delayrm broken?

    It shouldn't be.  It should just be passing the list of filenames in 
a pipe to fastrm, as opposed to doing an rm for each and every 
individual article.

> Since then, I have removed delayrm from the expiration process and now 
> find that it hasn't crashed for 2 weeks.  If it hasn't crashed within
> the next 2  weeks, then it'll be a record for this server.
> 
> Comments? :^)

    I'd check to make sure that fastrm is in the path INN expects, that 
it works as expects, etc....  Perhaps you could also instrument the 
expire script, so that you could get a better idea of why delayrm isn't 
having the desired effect.

    If it turns out to be a problem with expire itself, you might want 
to consider recompiling it with debug options turned on, then manually 
running it with the same arguments, but with a debugger attached.

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>

Are you a USENET news server administrator outside of North America or
Western Europe?  Would you like a newsfeed from a site in the Freenix
Top 65?  If so, please contact me via private e-mail for details.

Re: Expire crashes in INN 2.2 and 2.2.1
#42110
Author: Mike O'Connor
Date: Mon, 13 Dec 1999 00:00
43 lines
2502 bytes
In article <384ed73a.21413093@news.smartt.com>,
SmarttNet Technical Support <tech@smartt.com> wrote:
:One thing I have noticed lately about this machine is that one day after an
:expiration process, the files never got deleted.
:
:I pose this, is the code in news.daily's delayrm broken?
:
:Since then, I have removed delayrm from the expiration process and now find that
:it hasn't crashed for 2 weeks.  If it hasn't crashed within the next 2 weeks,
:then it'll be a record for this server.
:
:Comments? :^)
:
:On Fri, 08 Oct 1999 15:46:32 GMT, tech@smartt.com (SmarttNet Technical Support)
:wrote:
:
:>Here's a real mystery.  As a note, this has been happening with INN 2.2 and
:>2.2.1 for awhile.  This re-occurs ever 2 - 4 weeks.
:>
:>When our servers crashes it is during the first 2 minutes of the expiration
:>process.  And everytime it does, I find this in the next expiration process.
:>    
:>    Duplicate message-id "[1DC40EC5FD017D9E366FEABECCF7D3FF]" in history
:>    Duplicate message-id "[FD1E94A0AED9012C558B3DDBE3AC8352]" in history
:>    Duplicate message-id "[B12EA6375D2D428C756E3D3C507F0803]" in history
:>    Duplicate message-id "[4DC93D4F3C4665DB4030A190765128C2]" in history
:>    Duplicate message-id "[1ED8EE0C6D537F68C08EA19C142746AF]" in history
:>    Duplicate message-id "[0A16CC1E8BA246F8F6A82192AEA2DF10]" in history
:>
:>It is more like 50 - 100+ lines of these errors.  I have had the upstream (The
:>local TELco) try and trace them down without any luck.
:>
:>Anyone seen anything like this?

I'd suggest running fixhist, available from http://www.visi.com/~barr/INN.html, 
nd see if you're still having problems with delayrm afterwards.
 
--
 Michael J. O'Connor | WWW: http://dojo.mi.org/~mjo/ | Email: mjo@dojo.mi.org
 InterNIC WHOIS: MJO | (has my PGP & Geek Code info) | Phone: +1 248-848-4481


Re: Expire crashes in INN 2.2 and 2.2.1
#43977
Author: SmarttNet Technical Support
Date: Wed, 09 Feb 2000 00:00
18 lines
1262 bytes
I finally have some good news...

I feel my expiration problems are finally over with...

In over a year, this is the first time the server has stayed up for 28 days..

You know what I did??  I saw some advice about a month ago mentioning to not
include control* in the overview database and to disallow access to this
hierarchy to the users.

I think we should mention this in a FAQ or something...

This is only a bandage solution but it seems to be working.

Cheers...


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