Thread View: news.software.nntp
10 messages
10 total messages
Started by volume
Thu, 27 May 1999 00:00
diablo dqueue problem
Author: volume
Date: Thu, 27 May 1999 00:00
Date: Thu, 27 May 1999 00:00
48 lines
1654 bytes
1654 bytes
hi,
i'm running a diablo 1.23 feederbox on an alpha 400Mhz with 192 MB ram (
Linux 2.2.7 )
it has a software raid0 ( 2 disks of 9 Gig )
We have about 20 peers and about everyday there is a "hanging" dqueue
link somewhere.
hanging ( peer 3 )
0 -rw-r--r-- 1 news news 0 May 27 21:50
peer1
112 -rw-r--r-- 1 news news 113093 May 27 21:49
peer1.S00066
0 -rw-r--r-- 1 news news 0 May 27 21:50
peer2
7 -rw-r--r-- 1 news news 6285 May 27 21:50
peer2.S00065
114 -rw-r--r-- 1 news news 114756 May 27 20:49
peer3.S00048
..................
doing a manual dspoolout doestn't help at al, pausing the server neither
the only thing helping is pausing the server, kill the hangind dnewlink
to peer3
renaming the peer in all config files & dicmd go " "
The disks are brand new, new metadevice ......
/dev/sdb1 on /news type ext2 (rw)
/dev/md0 on /news/spool type ext2 (rw)
is my history file corrupted ?
anyone ?
thx alot
-Jan
Re: diablo dqueue problem
Author: Simon Lyall
Date: Fri, 28 May 1999 00:00
Date: Fri, 28 May 1999 00:00
20 lines
1454 bytes
1454 bytes
volume <jan@online.be> wrote: > We have about 20 peers and about everyday there is a "hanging" dqueue > link somewhere. I got that as well. Nuked my limits whenever a perr had a little hicup. The only way I could get around the problem was to force it to use realtime feeds only. Running Linux 2.0.36 on the box and happened with all verions of diablo up to and including 1.23 . I think it's a problem with the dnewslink process just doesn't want to timeout for some huge amount of time. There appears to be an option to vary the timeout but I couldn't find a way to set this inside a running diablo. -- Simon Lyall. | Newsmaster | Work: simon.lyall@ihug.co.nz Network Admin | | Home: simon@darkmere.gen.nz The Internet Group, Auck. | Asst Doorman | Web: Currently Offline
Re: diablo dqueue problem
Author: Todd C Miller
Date: Fri, 28 May 1999 00:00
Date: Fri, 28 May 1999 00:00
18 lines
1451 bytes
1451 bytes
From the keyboard of Simon Lyall <simon.lyall@ihug.co.nz>:
> I think it's a problem with the dnewslink process just doesn't want to
> timeout for some huge amount of time. There appears to be an option to
> vary the timeout but I couldn't find a way to set this inside a running
> diablo.
I've also noticed that if you have multiple dnewslink processes feeding
a site and one gets stuck, you can get into a state where additional
dnewslinks won't start because the gap in the numbered batch files for
the site is too big. Ie: it thinks there is nothing to do since dnewslink
starts at number stuck+1 but there is no suck + numSeq batch (since it was
already sent). This can probably only happen if you have > 2 dnewslinks.
- todd
--
Todd C. Miller Sysadmin/Consultant Todd.Miller@courtesan.com
Re: diablo dqueue problem
Author: Paul Martin
Date: Mon, 07 Jun 1999 00:00
Date: Mon, 07 Jun 1999 00:00
20 lines
1452 bytes
1452 bytes
In article <7ikrus$105$2@newsource.ihug.co.nz>, Simon Lyall wrote: >volume <jan@online.be> wrote: >> We have about 20 peers and about everyday there is a "hanging" dqueue >> link somewhere. > >I got that as well. Nuked my limits whenever a perr had a little hicup. >The only way I could get around the problem was to force it to use >realtime feeds only. Running Linux 2.0.36 on the box and happened with all >verions of diablo up to and including 1.23 . I cannot recommend Linux 2.0.36 for running Diablo. The problem is that you run out of file descriptors far too quickly with multiple feeds (or if running a reader machine). My suggestion is the 2.2.7 kernel with the ac patches that install dynamic fd table sizing. -- Paul Martin <pm@zetnet.net> at home, swap dash to dot to email.
Re: diablo dqueue problem
Author: Simon Lyall
Date: Tue, 08 Jun 1999 00:00
Date: Tue, 08 Jun 1999 00:00
46 lines
2507 bytes
2507 bytes
Paul Martin <pm@nowster-zetnet.co.uk> wrote:
> I cannot recommend Linux 2.0.36 for running Diablo. The problem is that
> you run out of file descriptors far too quickly with multiple feeds (or if
> running a reader machine). My suggestion is the 2.2.7 kernel with the ac
> patches that install dynamic fd table sizing.
I upgraded to 2.2.9 and things have been a lot better so far. A big
problem I was having was that all my memory was going to buffers and cache
and only the minimal amount was being kept free. When there was a jump in
usage ( mrtg would do it since it called perl) the system was unable to
allocate memory fast enough and gave me a "cannot fork: unable to allocate
memory" (I think that was it) error.
The 2.2.x kernels let you restrict the maximum amount of cache and buffers
so as to keep plenty of memory free, I will tune the things a little more
once I know what levels they are settling at.
Here is what I am using:
# Inodes
echo 32768 > /proc/sys/fs/inode-max
echo 8192 > /proc/sys/fs/file-max
# Buffers cache and free memory
echo "2048 8192 16384" > /proc/sys/vm/freepages
echo "8 15 30" > /proc/sys/vm/buffermem
echo "20 55 70" > /proc/sys/vm/pagecache
And I am ending up with:
~# free
total used free shared buffers cached
Mem: 257920 193008 64912 477060 67188 75756
-/+ buffers/cache: 50064 207856
Swap: 261496 1200 260296
This is a routing only host, running 38 diablo and 87 dnewslinks process
right now on a fullish feed.
--
Simon Lyall. | Newsmaster | Work: simon.lyall@ihug.co.nz
Network Admin | | Home: simon@darkmere.gen.nz
The Internet Group, Auck. | Asst Doorman | Web: Currently Offline
Re: diablo dqueue problem
Author: Steven Clarke
Date: Sat, 12 Jun 1999 00:00
Date: Sat, 12 Jun 1999 00:00
22 lines
1610 bytes
1610 bytes
Paul Martin (pm@nowster-zetnet.co.uk) wrote: : I cannot recommend Linux 2.0.36 for running Diablo. The problem is that : you run out of file descriptors far too quickly with multiple feeds (or : if running a reader machine). My suggestion is the 2.2.7 kernel with : the ac patches that install dynamic fd table sizing. But that's true of any significant service running on Linux 2.0.36 without extra patches (we've hit the fd or process limit on mail, news and web servers). The patches that remove these limits are easy to find and problem free. I used the patch at: ftp://ftp.is.co.za/linux/local/kernel/filehandle.patch.linux.v8.04 but others are available. We run diablo on a small linux and without trying very hard sit between 50 and 70 in the Freenix top1000. Steve Clarke
Re: diablo dqueue problem
Author: Francois Ranchin
Date: Sat, 12 Jun 1999 00:00
Date: Sat, 12 Jun 1999 00:00
16 lines
1429 bytes
1429 bytes
On 12 Jun 1999 11:58:03 GMT, Steven Clarke <sclarke@iee.org> wrote: > I used the patch at: > ftp://ftp.is.co.za/linux/local/kernel/filehandle.patch.linux.v8.04 > but others are available. All these patches are simply broken, and turn your linux box on unswapable state, with a lot of Couldn't get a free page... And the echo in /proc/sys/vm/? is not the solution. Any other solution or more informations ? -- Fran�ois Ranchin, fyr@oleane.net
Re: diablo dqueue problem
Author: Miquel van Smoorenburg
Date: Sat, 12 Jun 1999 00:00
Date: Sat, 12 Jun 1999 00:00
24 lines
1675 bytes
1675 bytes
In article <slrn7m53t9.ka8.fyr@noway.oleane.net>, Francois Ranchin <fyr@oleane.net> wrote: >On 12 Jun 1999 11:58:03 GMT, Steven Clarke <sclarke@iee.org> wrote: >> I used the patch at: >> ftp://ftp.is.co.za/linux/local/kernel/filehandle.patch.linux.v8.04 >> but others are available. > >All these patches are simply broken, and turn your linux box >on unswapable state, with a lot of Couldn't get a free page... Que? I have been running those patches for over a year on _busy_ servers (top100 Freenix news server, web servers w/ 80 hits/sec) and have had no problems at all. You do have sufficient memory don't you - a news server needs at least 256M nowadays. >And the echo in /proc/sys/vm/? is not the solution. Doing that too. Mike. -- Indifference will certainly be the downfall of mankind, but who cares?
Re: diablo dqueue problem
Author: Brad Knowles
Date: Mon, 14 Jun 1999 00:00
Date: Mon, 14 Jun 1999 00:00
29 lines
2137 bytes
2137 bytes
In article <7ju5qp$a4n$1@Q.cistron.nl>, miquels@cistron.nl (Miquel van
Smoorenburg) wrote:
> Que? I have been running those patches for over a year on _busy_
> servers (top100 Freenix news server, web servers w/ 80 hits/sec)
> and have had no problems at all. You do have sufficient memory don't
> you - a news server needs at least 256M nowadays.
More than that, really. On a transit-only box w/ 256MB RAM and not
quite in the Top 130, we find that the dhistory file is over 256MB in
size, and Diablo *really* wants to lock that whole thing into buffer
cache.
If you want Diablo as a transit server, and you want to get fairly
highly ranked, it's been my recent experience that you really need >>
256MB RAM, more like 1GB or even 2GB.
Of course, you also want sufficiently fast /news and /news/spool, so
those should probably be mounted on suitable striped 10kRPM/low latency
drives (e.g., Seagate Cheetah or IBM Ultrastar), and if you want any kind
of a decent size news spool, those should probably be 18GB units and not
the older 9GB devices.
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
<http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>
Re: diablo dqueue problem
Author: Simon Lyall
Date: Tue, 15 Jun 1999 00:00
Date: Tue, 15 Jun 1999 00:00
27 lines
1873 bytes
1873 bytes
Another diablo problem we have noticed is that about 10% of articles being feed to to a local program (listening on a non-standard port) are empty. When we did an exact check to see what the problem was we found diablo was sending this in the connections: -cut here--- takethis <message-id@whereever.com> .. ---cut-here-- Where the message-id was a okay looking article as far as I could tell. I even set up a double feed to the local program and got this both times. Ideas? We think this is happening with an ihave feed as well. The people here muttered stuff about RFCs not saying anything about this and modified their software to reject these artilcles rather than hanging (ouch) on them. However I'd be interested in knowing what they are, my main guess is cancels or otherwise filtered articles but I can see nothing in th queue and the articles seem to be intact in the spool files. -- Simon Lyall. | Newsmaster | Work: simon.lyall@ihug.co.nz Network Admin | | Home: simon@darkmere.gen.nz The Internet Group, Auck. | Asst Doorman | Web: Currently Offline
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