🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Ajit K. Jena Mon, 11 Apr 1994 11:25
Problem with NNTP on CD4460 and CD4420 machines....
#2499
Author: Ajit K. Jena
Date: Mon, 11 Apr 1994 11:25
37 lines
1878 bytes
Hi,

I hope someone out there can help me out.

We have recently got one CD4460 and one CD4420 (these
are based on MIPS R4000 chips) running EP/IX 2.1.1AB and 
EP/IX 2.1.1 respectively.

I have spent a lot of effort in porting NNTP to these
machines without any success. During the POST operation
the following happens :


	The server (nntpd) responds to the client and
	reads the article line-by-line. When the article
	is terminated (by a dot in a fresh line by itself),
	the server spawns a child process and executes
	"inews -h " in it. The parent waits for the child
	to finish but that does not happen. Many copies
	of "inews" start running and soon the process table
	is full.

Cant find out what is wrong. If you have any information on
this, please send me directly via mail. Our newsfeed is not
very stable.

Thanks a lot for your time.

--ajit

-- 
------------------------------------------------------------------------------
      Ajit Kumar Jena, Computer Centre, IIT, Powai, Bombay-400076, India 
Email: Ajit.K.Jena@iitb.ernet.in                          Fax:  +91-22-5783894
                Voice: +91-22-5783177 or +91-22-5782545 (x 2750)
Re: Problem with NNTP on CD4460 and CD4420 machines....
#2500
Author: Klaus Steinberger
Date: Wed, 13 Apr 1994 12:20
19 lines
1612 bytes
ajit@iitb.ernet.in (Ajit K. Jena) writes:

>	"inews -h " in it. The parent waits for the child
>	to finish but that does not happen. Many copies
>	of "inews" start running and soon the process table
>	is full.

Did it use vfork ? The vfork call in systype svr4 is deadly bad.
You could repair that by:

#define	vfork	fork

Klaus
--
Klaus Steinberger               Beschleunigerlabor der TU und LMU Muenchen
Phone: (+49 89)3209 4287        Hochschulgelaende, D-85748 Garching, Germany
FAX:   (+49 89)3209 4280        EMail: Klaus.Steinberger@Physik.Uni-Muenchen.DE
URL: http://www.bl.physik.tu-muenchen.de/~k2/k2.html
Re: Problem with NNTP on CD4460 and CD4420 machines....
#2502
Author: Eric Schnoebelen
Date: Wed, 13 Apr 1994 23:20
29 lines
2084 bytes
ajit@iitb.ernet.in (Ajit K. Jena) writes:
- I have spent a lot of effort in porting NNTP to these
- machines without any success. During the POST operation
- the following happens :
- 
- 
- 	The server (nntpd) responds to the client and
- 	reads the article line-by-line. When the article
- 	is terminated (by a dot in a fresh line by itself),
- 	the server spawns a child process and executes
- 	"inews -h " in it. The parent waits for the child
- 	to finish but that does not happen. Many copies
- 	of "inews" start running and soon the process table
- 	is full.

	It sounds like you have NNTPD executing the NNTP mini-inews to
submit articles instead of the news transport's inews. I would suspect you
are running C news, and you should have NNTPD run C news' inews when
it gets a POST message, not the `mini-inews' that comes with NNTPD.

	The multiple inews process' tends to confirm that you are
having NNTPD run the mini-inews..

-- 
Eric Schnoebelen	eric@cirr.com			schnoebe@convex.com
    One could implement POSIX using a very fast and very smart cockroach.
    As long as the source program produces the right output the cockroach
	    is POSIX conforming.    --      Donald Lewine
Re: Problem with NNTP on CD4460 and CD4420 machines....
#2508
Author: Tom Limoncelli
Date: Sat, 16 Apr 1994 00:11
22 lines
1615 bytes
In <k2.766239615@woodstock> k2@bl.physik.tu-muenchen.de (Klaus Steinberger) writes:

>ajit@iitb.ernet.in (Ajit K. Jena) writes:

>>	"inews -h " in it. The parent waits for the child
>>	to finish but that does not happen. Many copies
>>	of "inews" start running and soon the process table
>>	is full.

>Did it use vfork ? The vfork call in systype svr4 is deadly bad.

Or, it could be a inews that posts via NNTP's POST command (thereby
creating a loop).

Tom

-- 
Tom Limoncelli -- tal@warren.mentorg.com (work) -- tal@plts.org (play)
"Psst!  Hey, Anthony!  Y'know what I        | Disclaimer:  I do not
like about existing?"  "Uh... uh... what?"  | speak for Mentor Graphics.
"Possessing a physical extension."  -TSA    |
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