Thread View: news.software.nntp
12 messages
12 total messages
Started by Michael Faurot
Thu, 26 Mar 1998 00:00
Linux & Diablo
Author: Michael Faurot
Date: Thu, 26 Mar 1998 00:00
Date: Thu, 26 Mar 1998 00:00
36 lines
2196 bytes
2196 bytes
I've been attempting to get Diablo v1.14 working on a Linux system. The Linux system basically consists of the following: o) RedHat v4.2 o) kernel v2.0.33 (with filehandle patch applied) o) 64M RAM o) Intel P166 processor o) Gigabyte HX motherboard NOTE: This is only a test bed system for experimenting with Diablo and will never carry or feed much more than the comp.* hierarchy. I was able to successfully build binaries, get them installed, and after running rc.news get a Diablo daemon process. Because of some purely local considerations, I also modified diablo.c so that the variable "NewsPort" was set to 443 instead of the normal port 119. A simple test of telneting to the localhost port 443 works, and diablo displays its banner message. Similarly I can telnet to port 443 from the remote feeder and all looks as it should. The problem comes when I actually try and have it take a feed. While watching the parent/listening process with "strace -fp PID" I'll see the remote machine make its connection, fork off a child process and appear to take in some articles (from what little I can decipher of the strace output). However, after taking in perhaps a dozen or so articles (perhaps a bit more) the child process will just hang. Typically it seems to either hang during a read or write system call. Once hung, the strace output will simply sit there for minutes at a time until I kill off the process. Any hints? Is there by chance a HOWTO or FAQ on installing and configuring Diablo with Linux?
Re: Linux & Diablo
Author: Ray Rocker
Date: Thu, 26 Mar 1998 00:00
Date: Thu, 26 Mar 1998 00:00
32 lines
1794 bytes
1794 bytes
In article <6feoj2$r3a$1@clarknet.clark.net>, Michael Faurot <nospam@thanks> wrote: > >I've been attempting to get Diablo v1.14 working on a Linux system. The >Linux system basically consists of the following: ... >The problem comes when I actually try and have it take a feed. >While watching the parent/listening process with "strace -fp PID" I'll >see the remote machine make its connection, fork off a child process >and appear to take in some articles (from what little I can decipher >of the strace output). However, after taking in perhaps a dozen or >so articles (perhaps a bit more) the child process will just hang. >Typically it seems to either hang during a read or write system call. >Once hung, the strace output will simply sit there for minutes at a time >until I kill off the process. This may or may not be related, but: when I upgraded the kernel on my Diablo box to 2.0.33, I would start to see dnewslink processes hang in an uninterruptible state. ps showed that the processes were hanging in wait_on_page, which seems to have something to do with mmap. There was no remedy for these hung processes but to reboot. I went back to the 2.0.29 kernel, and haven't seen it since. -- Ray Rocker rocker@datasync.com
Re: Linux & Diablo
Author: Eric Horst
Date: Fri, 27 Mar 1998 00:00
Date: Fri, 27 Mar 1998 00:00
28 lines
1807 bytes
1807 bytes
> > > kernel 2.0.33, 128Mb ram, adaptec scsi for spool. The only issues I have > > with it are the excessive load in catchup mode (often >40) and > > occasional compelete lockups (black screen of death) which occur every 2 > > or 3 weeks. (I believe it's caused by a locking issue). > > Actually, that sounds a lot more like Adaptec SCSI > problems. Especially for a news box, you *really* should be running > either Buslogic or DPT SCSI boards. This isn't news specific; > Linux Adaptec drivers are... suboptimal in some ways under heavy load. > They've gotten a bit better, but I've *never* seen a Buslogic or > DPT related crash. > The early Adaptec driver was less than perfect but I've not seen an Adaptec SCSI related crash in at least the last two years. They work great in all my systems including 4 news boxes, 34 squid cache boxes, 4 mail exchangers and many more less disk intensive server boxes. --Eric
Re: Linux & Diablo
Author: Simon Karpen
Date: Fri, 27 Mar 1998 00:00
Date: Fri, 27 Mar 1998 00:00
24 lines
1587 bytes
1587 bytes
rune@ftech.net (Robert Collier) writes:
> kernel 2.0.33, 128Mb ram, adaptec scsi for spool. The only issues I have
> with it are the excessive load in catchup mode (often >40) and
> occasional compelete lockups (black screen of death) which occur every 2
> or 3 weeks. (I believe it's caused by a locking issue).
Actually, that sounds a lot more like Adaptec SCSI
problems. Especially for a news box, you *really* should be running
either Buslogic or DPT SCSI boards. This isn't news specific;
Linux Adaptec drivers are... suboptimal in some ways under heavy load.
They've gotten a bit better, but I've *never* seen a Buslogic or
DPT related crash.
--
Simon Karpen karpes@rpi.edu slk@acm.rpi.edu slk@wormhole.stu.rpi.edu
#include <std_disclaimer.h> I don't speak for RPI in any way.
Get my PGP key from: http://www.acm.rpi.edu/~slk/pgpkey.asc
If you don't have a nasty obituary you probably didn't matter.
-- Freeman Dyson
Re: Linux & Diablo
Author: Michael Faurot
Date: Fri, 27 Mar 1998 00:00
Date: Fri, 27 Mar 1998 00:00
30 lines
2085 bytes
2085 bytes
Michael Faurot <nospam@thanks> wrote: [...] : The problem comes when I actually try and have it take a feed. : While watching the parent/listening process with "strace -fp PID" I'll : see the remote machine make its connection, fork off a child process : and appear to take in some articles (from what little I can decipher : of the strace output). However, after taking in perhaps a dozen or : so articles (perhaps a bit more) the child process will just hang. : Typically it seems to either hang during a read or write system call. : Once hung, the strace output will simply sit there for minutes at a time : until I kill off the process. Well I figured out the problem--and it turns out be fairly silly. I started running truss on an innxmit process on my Solaris box running INN, which is the feed machine for the experimental Linux box running Diablo. I then ran "strace -fp" on the Diablo process on the Linux box. Sure enough, both processes would be hung on each machine after the Diablo system received between 10-20 articles. By chance I aborted the "strace -fp" process on the Linux box first with an interrupt signal, and then noticed to my delight that the truss process running against the innxmit on the Solaris process started to move again. So the whole problem was with strace, under Linux, causing the Diablo process to hang. Weird . . .
Re: Linux & Diablo
Author: Eric Horst
Date: Fri, 27 Mar 1998 00:00
Date: Fri, 27 Mar 1998 00:00
30 lines
1961 bytes
1961 bytes
> >... > >I went back to the 2.0.29 kernel, and haven't seen it since. > > Obvoiusly I've lucked out then, I've been running diablo on linux > through every version since diablo 1.09. Currently running 1.15 on > kernel 2.0.33, 128Mb ram, adaptec scsi for spool. The only issues I have > with it are the excessive load in catchup mode (often >40) and > occasional compelete lockups (black screen of death) which occur every 2 > or 3 weeks. (I believe it's caused by a locking issue). > Just so people don't get the wrong idea I'll mention that I have three boxes running Diablo on Linux: two on 2.0.27 that have about 200 days uptime and one 2.0.33 with about 90 days. (I'm rebooting them all to 2.0.33 this week.) Diablo has only been restarted to change versions and at this point all three have been running Diablo 1.14 continuously for 73 days. I've have never had system crashes with these boxes and Diablo has never unexpectedly died or otherwise misbehaved. > But most of the time it rocks. All of the time it rocks. I've gotten so I check in on these boxes every week or so...it just works. --Eric
Re: Linux & Diablo
Author: Robert Collier
Date: Fri, 27 Mar 1998 00:00
Date: Fri, 27 Mar 1998 00:00
33 lines
2067 bytes
2067 bytes
On 26 Mar 1998 18:25:53 -0600, rocker@datasync.com (Ray Rocker) wrote:
>In article <6feoj2$r3a$1@clarknet.clark.net>,
>Michael Faurot <nospam@thanks> wrote:
>>I've been attempting to get Diablo v1.14 working on a Linux system. The
>>Linux system basically consists of the following:
>...
>...
>I went back to the 2.0.29 kernel, and haven't seen it since.
Obvoiusly I've lucked out then, I've been running diablo on linux
through every version since diablo 1.09. Currently running 1.15 on
kernel 2.0.33, 128Mb ram, adaptec scsi for spool. The only issues I have
with it are the excessive load in catchup mode (often >40) and
occasional compelete lockups (black screen of death) which occur every 2
or 3 weeks. (I believe it's caused by a locking issue).
But most of the time it rocks. This is with the default settings and no
special hacking apart from the compression patch and the diab-filter
patch.
- Regards, Robert.
--
Robert Collier - Network Operations - Frontier Internet
----------------------------------------------------------------
Disclaimer: The views contained herein may not reflect the views
of my employer and reliance should not be placed thereon.
Re: Linux & Diablo
Author: Michael Faurot
Date: Fri, 27 Mar 1998 00:00
Date: Fri, 27 Mar 1998 00:00
20 lines
1356 bytes
1356 bytes
Robert Collier <rune@ftech.net> wrote: : Obvoiusly I've lucked out then, I've been running diablo on linux : through every version since diablo 1.09. Currently running 1.15 on : kernel 2.0.33, 128Mb ram, adaptec scsi for spool. [...] : But most of the time it rocks. This is with the default settings and no : special hacking apart from the compression patch and the diab-filter : patch. I'm using the default settings in lib/config.h and lib/vendor.h too. Guess I'll poke at it a bit more and if that doesn't produce any results I'll post some strace fragments. Thanks.
Re: Linux & Diablo
Author: Andrew
Date: Sat, 28 Mar 1998 00:00
Date: Sat, 28 Mar 1998 00:00
15 lines
1095 bytes
1095 bytes
Mike Horwath <drechsau@yuck.net> wrote: > Why is this weird? > It's Linux. Actually I've never seen Linux behave any differently from any other UNIX OS when tracing a running binary, and I've traced a lot, including Diablo. -- Andrew O. Smith - <aos@insync.net> | "Please allow me to present Sysadmin, Insync Internet Services | you with a clue." Houston, Texas, USA | --The Afghan Whigs
Re: Linux & Diablo
Author: rjk
Date: Sun, 29 Mar 1998 00:00
Date: Sun, 29 Mar 1998 00:00
16 lines
1150 bytes
1150 bytes
Andrew <aos@vellocet.insync.net> writes: > Mike Horwath <drechsau@yuck.net> wrote: >> It's Linux. > > Actually I've never seen Linux behave any differently from any other > UNIX OS when tracing a running binary, and I've traced a lot, > including Diablo. I have vague memories of having got different behaviour under strace under Linux; I don't think I could replicate it though. Of course tracing a program does increase how long each system call takes, and that's one possible cause for different behaviour.
Re: Linux & Diablo
Author: Simon Karpen
Date: Sun, 29 Mar 1998 00:00
Date: Sun, 29 Mar 1998 00:00
22 lines
1519 bytes
1519 bytes
On 29 Mar 1998 01:42:59 +0100, rjk@greenend.org.uk <rjk@greenend.org.uk> wrote:
>
>I have vague memories of having got different behaviour under strace
>under Linux; I don't think I could replicate it though. Of course
>tracing a program does increase how long each system call takes, and
>that's one possible cause for different behaviour.
I haven't had any problems with tracing binaries under Linux/Intel.
Linux/Sparc, on the other hand, is still a bit touchy in that area.
Then again, when it lets you put half a dozen full peers on a
Sparc 5/110, and still get excellent performance, and rock solid
stability...
--
Simon Karpen slk@ntrnet.net
#include <std_disclaimer.h> My opinions are my own.
If you don't have a nasty obituary you probably didn't matter.
-- Freeman Dyson
Re: Linux & Diablo
Author: Rahul Dhesi
Date: Sun, 29 Mar 1998 00:00
Date: Sun, 29 Mar 1998 00:00
13 lines
1151 bytes
1151 bytes
In <slrn6hrrqo.fj9.slk@ns1.ntrnet.net> slk@ns1.ntrnet.net (Simon Karpen) writes: >Then again, when [Linux/Sparc] lets you put half a dozen full peers on a >Sparc 5/110, and still get excellent performance, and rock solid >stability... Is this what it gives you now, or what you hope for? -- Rahul Dhesi <dhesi@spams.r.us.com>
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