Article View: news.software.nntp
Article #32817Re: diablo dreaderd dexpireover on linux
From: richard.brons
Date: Tue, 10 Nov 1998 00:00
Date: Tue, 10 Nov 1998 00:00
71 lines
4687 bytes
4687 bytes
In article <728n8r$8g8$1@flea.best.net>, dillon@best.net (Matt Dillon) wrote: > :In article <7272d6$b0q$1@nnrp1.dejanews.com>, > : <richard.brons@inet.unisource.nl> wrote: > :>On linux rh 5.1, the dexpireover -a -R operation (21-test)only is completed > :>succesfully after having set the inode max (per process) on 65148, and the > :>"max file open" on appr. 1/3 of this ultimate inode-limit. Under Linux, one > :>cannot hardset "unlimit" for "max file open", it has to be re-compiled for > :>that, but will 1024 instead of 256 suffice? For several reasons, I had to > :>postpone further testing (for Linux, that is). The workings of dexpireover -a > :>-R do not seem very efficient, though: running out of inodes (and thereby > :>stopping the system) as if the numerous files it opens are not closed timely > :>enough. Tracing is not very helpful, as the process, fault-free itself, just > :>runs out of inodes, that's it. On Linux, just dexpireover -a runs flawless, > :>and also the dexpireover -a -R -n does not give any warning. Richard > :> > :> > :>-----------== Posted via Deja News, The Discussion Network ==---------- > :>http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own > > Well, it sounds like dexpireover is forgetting to close descriptors > but I can't find any bugs in the code, and there's something seriously > odd about the system running out of inodes... it sounds like the overview > scan is broken somewhere. What may be occuring is that one of > the overview files is bokered and causing it to try to rewrite > hundreds of data. files for one over. file (or thousands ...). > > If you are familiar with the 'strace' utility, perhaps you can run > dexpireover -a -R through that. The output might make the problem > more obvious. > > dexpireover -a -R is expensive, but it shouldn't be creating thousands > of files. Normally -R only creates replacement .data files for > the ones already on disk, then renames-over (.data -> data.) and closes > the descriptors. Each data file holds 256 articles so, for example, > a group containing 4000 articles would temporarily use 15 descriptors. > But dexpireover closes them and fixes up the data files before moving > onto the next group. > > -Matt > > -- > Matthew Dillon Engineering, HiWay Technologies, Inc. & BEST Internet > Communications > <dillon@best.net> (Please include original email in any response) > Matt, A further checking of the huge strace output (i.e. comparing lseeking/writing of files against them being closed) has to wait until our headerfeed test-customer has build up a larger dgroup dir, but he is running on freebsd, though. This brings me to a question far more important (for our production environment) Having upgraded diablo to rel. 1.20 (for the headerfeed, mainly) I experience the same problem as I had with rel. 1.16b12 (we preferred to stay with 1.16b8), namely, a significant decline of dnewslink's outgoing feed-volumes, without backlogging the deficit. Before any further analysis, I have to decide (we have many big peers on this particular machine) either to return to the older diablo version (and loose the headerfeed option), or to use the older dnewslink (for the regular feeds) parallel to the newer one (for the headerfeed). Would that be possible, running them on different cronjobs both on the 1.20 level? btw, diablo 1.16b8 performed excellently, like it still does on our customer-servers. I would appreciate your advice on this very much, Richard -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
Technical Details
Message-ID:
<729791$61r$1@nnrp1.dejanews.com>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!not-for-mailReferences:
<7272d6$b0q$1@nnrp1.dejanews.com> <728n8r$8g8$1@flea.best.net>Show Full Headers
Complete Article Headers
Message-ID: <729791$61r$1@nnrp1.dejanews.com> Subject: Re: diablo dreaderd dexpireover on linux Date: Tue, 10 Nov 1998 00:00:00 +0000 From: richard.brons@inet.unisource.nl References: <7272d6$b0q$1@nnrp1.dejanews.com> <728n8r$8g8$1@flea.best.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!not-for-mail X-Deja-AN: 410285702 X-Http-Proxy: 1.0 proxy.nmcgv:8080 (Squid/1.1.20), 1.0 elysia:8080 (Squid/1.1.18), 1.0 x9.dejanews.com:80 (Squid/1.1.22) for client unknown, unknown, 194.151.95.22 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Tue Nov 10 11:15:45 1998 GMT Newsgroups: news.software.nntp X-Http-User-Agent: Mozilla/4.04 [en] (Win95; I)