🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
1 messages
1 total messages Started by Mark Menard Wed, 10 Jul 1996 00:00
INN Problems - Approachine my wits end
#9176
Author: Mark Menard
Date: Wed, 10 Jul 1996 00:00
124 lines
5370 bytes
I originally posted the following to the Red Hat mailing list, but 
thought someone here might have an idea:

To anyone runnng INN 1.4unoffX

I have beent trying to set up 2 news servers using INN unoff3 and unoff4 
rpm's and srpm's from both the standard Red Hat 3.0.3 and contrib 
directory from ftp.redhat.com.

Scenario as follows:

	Setup #1: Dual Pentium 133, 32MB RAM, 1 2GB HD, Adaptec 2940U, kernel
	2.0.0, Red Hat 3.0.3 (with all upgrades from Red Hat), inn-1.4unoff3 
	and inn-1.4unoff4 (seperate installs), 1GB spool (discussion groups 
	only, no binaries)

	Setup #2: Pentium 133, 64MB RAM, 5 2GB HD, Adaptec 2940U, kernel 
	2.0.0, Red Hat 3.0.3 (all updates from Red Hat), using multiple 
	devices (md) in RAID 0 mode with 9GB striped accross all 5 HD's,
	inn-1.4unoff3 and inn-1.4unoff4, 9GB spool all groups (~18K)

Problem/Symptoms: 

	1. Both machines will take a feed from the upline server, both
	machines will allow readers to connect, both machines feed 
	articles back upline. 

	2. When running news.daily various calls to ctlinnd will hang and 
	not exit, many times with the following entry in /var/log/messages:

		Jul  8 18:00:02 news innd[124]: ME cant sendto CCreader 
		bytes 4 No such file or directory

	3. When renumbering, using "ctlinnd -s renumber <newsgroup>" 
	looping through all of the groups one by one ctlinnd will hang
	on groups that sometimes are there and sometimes aren't there. 
	Sometimes I have tried to manually renumber the groups that ctlinnd
	hung on and they renumber fine and sometimes it tells me that it 
	is a bad group, but interactively ctlinnd always at least exits.

	4. The expire routine occasionally will not exit after it has 
	done it's expire. I have run this on several different levels of 
	verbosity, occassionaly it hangs in mid expire, sometimes it hangs
	after actually doing the expire.

	5. There are some other wierdities, but I think they stem from those
	described above so I won't go into them.

Attempted Remedies:

	1. I have recompiled the inn-1.4unoff4 changing the entries in 
	config.data for the following:
		 attempt	 #1	 #2	 #3
		LOCK_STYLE	FLOCK	FCNTL	FLOCK
		CLX_STYLE	FCNTL	FCNTL	FCNTL
		NBIO_STYLE	FCNTL	FCNTL	IOCTL
	I gave up on this line of remedies because the thing just 
	seemed to get wierder.

	2. I have also modified some of the lines in news.daily that call
	ctlinnd adding -t-1 so it will not wait for a return from the 
	process. I don't like this fix, because I'm not really sure what
	the consequences of it are.

	3. If this had only happened on the machine running the md RAID 0
	I would have thought it was md. But the behaviour is consistent with
	a non-md setup.

Any advice from Linux newsmasters would be greatly appreciated. Please cc 
email. I will compile any of the things that work and forward/post it if 
people are interested.

And received an posted the following reply:

On Tue, 9 Jul 1996, Tim Hockin wrote:

> > 	2. When running news.daily various calls to ctlinnd will hang and 
> > 	not exit, many times with the following entry in /var/log/messages:
> > 
> > 		Jul  8 18:00:02 news innd[124]: ME cant sendto CCreader 
> > 		bytes 4 No such file or directory
> 
> According to the INN FAQ:
> 
> Subject:  syslog message: ME cant sendto CCreader bytes 4 No such file or 
> direc
> tory
> 
> (Rich Salz replies:) It usually means that some ctlinnd command timed
> out and gave up before innd could get around to replying.  Always a
> problem with datagrams.  :-)  Usually not a problem in real life
> however.  In INN1.3, the timeout stuff is handled better so most of
> these should go away.
> 
> You can ignore the messages, but if it bothers you, edit news.daily and
> find this line:
> 
>         ctlinnd -s -t`wc -l <${ACTIVE}` renumber '' 2>&1
> You can rewrite it to be something like this:
>         COUNT=`wc -l <${ACTIVE}`
>         ctlinnd -s -t`expr ${COUNT} \* 5` renumber '' 2>&1

This fix has no effect on the problem at all. This afternoon the server 
hung up with the following command from /usr/lib/news/bin/scanlogs:

	ctlinnd -s flushlogs 2>&1

The problem seems to be somehow centered on ctlinnd. That is where the 
server mostly hangs.

Any help, or hearing from anyone that is running a large INN installation 
successfully would be appreciated. This is starting to make trouble 
shooting a human relationships look easier.

Mark
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mark@capital.net <Mark Menard>      http://www.capital.net       MarkX on IRC
CapitalNET, PO Box 14345, Albany, NY 12212      800.6000.NET     518.869.4444
                      Finger account for PGP public key.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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