🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
12 messages
12 total messages Started by Fred Condo Tue, 19 Jul 1994 17:40
Can't fork nnrpd under INN (Update)
#2725
Author: Fred Condo
Date: Tue, 19 Jul 1994 17:40
16 lines
1590 bytes
When I had INN compiled with gcc, it would run about 3 days or less before
refusing to spawn nnrpd with the error message "Can't fork, no more
processes." I recompiled with Apple's cc, and it ran over 14 days before
this happened. I've sent info to several people on how to get cc to
compile INN.

Unfortunately, killing and restarting INN failed to resolve the problem.
Looks like I'll have to reboot every 2 weeks or so, unless someone can
identify the underlying cause. It isn't the obvious possibility that all
the processes for the news ID or for the system were used up.

Oh, well. 14 days is better than 3 days. As this seems to be an A/UX
thing, followups are directed to comp.unix.aux
-- 
Fred Condo + fred@lightside.com
Re: Can't fork nnrpd under INN (Update)
#2727
Author: Richard R. Harms
Date: Wed, 20 Jul 1994 03:40
24 lines
1750 bytes
In article <fred-1907941040020001@user35.lightside.com>,
Fred Condo <comp.unix.aux> wrote:
>Unfortunately, killing and restarting INN failed to resolve the problem.
>Looks like I'll have to reboot every 2 weeks or so, unless someone can
>identify the underlying cause. It isn't the obvious possibility that all
>the processes for the news ID or for the system were used up.
>
>Oh, well. 14 days is better than 3 days. As this seems to be an A/UX
>thing, followups are directed to comp.unix.aux

I've got an A/UX box that usually stays up for over a month at a shot,
that is our news server - gets fairly heavy traffic too. Running A/UX
3.0... what version of A/UX and gcc were you using? I've had various
problems with different version of gcc... and I'm curious as to wether
that might be the cause.

-rh

-- 
Richard R. Harms
Networks, Inc. - 515-221-1290
2045 Grand Ave.
West Des Moines, Iowa 50265
Re: Can't fork nnrpd under INN (Update)
#2739
Author: Tom Limoncelli
Date: Wed, 20 Jul 1994 15:05
29 lines
1944 bytes
In <fred-1907941040020001@user35.lightside.com> fred@lightside.com (Fred Condo) writes:

>When I had INN compiled with gcc, it would run about 3 days or less before
>refusing to spawn nnrpd with the error message "Can't fork, no more
>processes." I recompiled with Apple's cc, and it ran over 14 days before
>this happened. I've sent info to several people on how to get cc to
>compile INN.

Gee, I wonder if that's why the FAQ states:

(when using A/UX) "If you compiled inn with gcc, don't. My experience
was that somehow, if INN was compiled with GCC the kernel bug is
triggered, but that doesn't happen with cc."

>Unfortunately, killing and restarting INN failed to resolve the problem.
>Looks like I'll have to reboot every 2 weeks or so, unless someone can
>identify the underlying cause. It isn't the obvious possibility that all
>the processes for the news ID or for the system were used up.

Any new info you get will be gladly added to the FAQ.  I'd like
to find a fix for this problem.

Tom
-- 
    Tom Limoncelli -- tal@warren.mentorg.com (work) -- tal@plts.org (play)

                   The internet is like a box of chocolates.

Re: Can't fork nnrpd under INN (Update)
#2740
Author: Jim Jagielski
Date: Wed, 20 Jul 1994 16:04
25 lines
2113 bytes
fred@lightside.com (Fred Condo) writes:

>When I had INN compiled with gcc, it would run about 3 days or less before
>refusing to spawn nnrpd with the error message "Can't fork, no more
>processes." I recompiled with Apple's cc, and it ran over 14 days before
>this happened. I've sent info to several people on how to get cc to
>compile INN.

>Unfortunately, killing and restarting INN failed to resolve the problem.
>Looks like I'll have to reboot every 2 weeks or so, unless someone can
>identify the underlying cause. It isn't the obvious possibility that all
>the processes for the news ID or for the system were used up.

I would guess that there's a memory leak _somewhere_ that is worse with
'gcc' than with 'cc'... Is alloca() utilized by INN at all?

It would be interesting to see, of those running INN, which version of INN,
A/UX and 'gcc' they are using (and if they've seen any problems).
-- 
#include <std/disclaimer.h>
  |     Jim Jagielski      |  jim@jagubox.gsfc.nasa.gov  |  V: 301 286-5964  |
  | NASA/GSFC, Code 734.4  |     Greenbelt, MD 20771     |  F: 301 286-1719  |
         <<  "Tentacles... '_N_' 'T'. Tentacles... big difference"  >>
                               --   Lane Myer
Re: Can't fork nnrpd under INN (Update)
#2749
Author: Rich Salz
Date: Wed, 20 Jul 1994 18:33
6 lines
1021 bytes
In <3414@jagubox.gsfc.nasa.gov> jim@jagubox.gsfc.nasa.gov (Jim Jagielski) writes:
> Is alloca() utilized by INN at all?

Ghod no.  Of course some libraries used by INN may use it, but I never would.
	/r$
Re: Can't fork nnrpd under INN (Update)
#2743
Author: Dave Garaffa
Date: Wed, 20 Jul 1994 21:14
40 lines
2258 bytes
> I would guess that there's a memory leak _somewhere_ that is worse with
> 'gcc' than with 'cc'... Is alloca() utilized by INN at all?
> 
> It would be interesting to see, of those running INN, which version of INN,
> A/UX and 'gcc' they are using (and if they've seen any problems).
> -- 

Okay I'll give you my stats:

Hardware:
---------
    System: Q950
    Memory: 28MB
News Drive: 1GB  (a seperate drive just for news and nothing else)

Software:
---------
      A/UX: v3.0.0
       INN: v1.4sec
       GCC: v2.5.7
        CC: ???? whatever was included in stock A/UX v3.0.0

I for one have had the problems (cant fork) with both gcc and cc and cant
say for sure but its pretty common under either compile <sigh>

Well I hope this helps...

Dave.

-- 
---------------------------------------------------------------------
 Dave Garaffa                  Memorial Sloan-Kettering Cancer Center
---------------------------------------------------------------------
 No, MacTCP is *NOT* Free!      | email      d-garaffa@mskcc.org
 Yes, you must turn on 32-Bit   | voice      (212) 639-8588
 addressing if you have         | fax        (212) 717-3627
 more than 8Megs of RAM         | 
---------------------------------------------------------------------
Before posting to a newsgroup, PLEASE read the FAQ's in news.answers
Re: Can't fork nnrpd under INN (Update)
#2746
Author: Fred Condo
Date: Thu, 21 Jul 1994 15:49
37 lines
2287 bytes
In article <30jef8$hoj$1@jamal.Warren.MENTORG.COM>, tal@Warren.MENTORG.COM
(Tom Limoncelli) wrote:

> In <fred-1907941040020001@user35.lightside.com> fred@lightside.com (Fred
Condo) writes:
> 
> >When I had INN compiled with gcc, it would run about 3 days or less before
> >refusing to spawn nnrpd with the error message "Can't fork, no more
> >processes." I recompiled with Apple's cc, and it ran over 14 days before
> >this happened. I've sent info to several people on how to get cc to
> >compile INN.
> 
> Gee, I wonder if that's why the FAQ states:
> 
> (when using A/UX) "If you compiled inn with gcc, don't. My experience
> was that somehow, if INN was compiled with GCC the kernel bug is
> triggered, but that doesn't happen with cc."

Golly, no, that is not why the FAQ states that. From the FAQ:

: Tip #2:  If you are running INN 1.4 on a Mac running A/UX 3.0.1, Every
: so often, (generally when someone fires up a reader), INN goes beserk.
: Syslog says:
: 
:         innd: ME cant select Bad file number
: 
: This message repeats about 20 times per second.  It freezes up my
: computer and I need to reboot.
: 
: That's a kernel bug. You do have to reboot.

Different bug. Different version of A/UX (I'm using 3.1, not 3.0.1).
Anyway, even when I was running 3.0.1 and 3.0.2, I never got this kernel
bug.
-- 
Fred Condo + fred@lightside.com
Re: Can't fork nnrpd under INN (Update)
#2756
Author: Tim Smith
Date: Fri, 22 Jul 1994 13:37
10 lines
1106 bytes
Fred Condo <comp.unix.aux> wrote:
>processes." I recompiled with Apple's cc, and it ran over 14 days before
>this happened. I've sent info to several people on how to get cc to
>compile INN.

I didn't realize that compiling INN with cc was something that required
any special information.  Did I just get lucky?

--Tim Smith
Re: Can't fork nnrpd under INN (Update)
#2748
Author: John L. Coolidge
Date: Fri, 22 Jul 1994 17:53
26 lines
2139 bytes
fred@lightside.com (Fred Condo) writes:
>When I had INN compiled with gcc, it would run about 3 days or less before
>refusing to spawn nnrpd with the error message "Can't fork, no more
>processes." I recompiled with Apple's cc, and it ran over 14 days before
>this happened. I've sent info to several people on how to get cc to
>compile INN.

>Unfortunately, killing and restarting INN failed to resolve the problem.
>Looks like I'll have to reboot every 2 weeks or so, unless someone can
>identify the underlying cause. It isn't the obvious possibility that all
>the processes for the news ID or for the system were used up.

Have you tried using the INN-supplied version of malloc.c as opposed
to the A/UX malloc? My innd started acting flaky a few weeks ago;
switching to INN's malloc from the A/UX malloc has made it happier.
Everything is compiled with gcc 2.5.7...

--John

        You've got a UNIX book!
                -- Garth, "Wayne's World 2"

+++John L. Coolidge++++++++++++++++coolidge@apple.com+++++++++++++++++++++++
I speak for myself, not for Apple Computer. Copyright 1994 John L. Coolidge.
Copying allowed only if attributed, and if all copies may be further copied.
Re: Can't fork nnrpd under INN (Update)
#2750
Author: Fred Condo
Date: Sat, 23 Jul 1994 16:06
11 lines
1345 bytes
In article <30p12c$1i2@sirius.lansys.apple.com>, coolidge@apple.com wrote:

> Have you tried using the INN-supplied version of malloc.c as opposed
> to the A/UX malloc? My innd started acting flaky a few weeks ago;
> switching to INN's malloc from the A/UX malloc has made it happier.
> Everything is compiled with gcc 2.5.7...

Yes, we are using the INN version of malloc.c, strerror.c, and syslog.c.
-- 
Fred Condo + fred@lightside.com
Re: Can't fork nnrpd under INN (Update)
#2751
Author: Fred Condo
Date: Sat, 23 Jul 1994 16:08
18 lines
1610 bytes
In article <30oi21$7gf@news.u.washington.edu>, tzs@u.washington.edu (Tim
Smith) wrote:

> Fred Condo <comp.unix.aux> wrote:
> >processes." I recompiled with Apple's cc, and it ran over 14 days before
> >this happened. I've sent info to several people on how to get cc to
> >compile INN.
> 
> I didn't realize that compiling INN with cc was something that required
> any special information.  Did I just get lucky?

I don't think it was luck. You need to modifiy $INN/nnrpd/loadave.c to
compile under cc, but that file is compiled only if NNRP_LOADLIMIT > 0 (in
config.data). If you have that set to zero, then you don't need to modifiy
the file.
-- 
Fred Condo + fred@lightside.com
Re: Can't fork nnrpd under INN (Update)
#2770
Author: root
Date: Fri, 29 Jul 1994 01:58
46 lines
1986 bytes
d-garaffa@ski.mskcc.org (Dave Garaffa) writes:

>> I would guess that there's a memory leak _somewhere_ that is worse with
>> 'gcc' than with 'cc'... Is alloca() utilized by INN at all?
>> 
>> It would be interesting to see, of those running INN, which version of INN,
>> A/UX and 'gcc' they are using (and if they've seen any problems).
>> -- 

>Okay I'll give you my stats:

>Hardware:
>---------
>    System: Q950
>    Memory: 28MB
>News Drive: 1GB  (a seperate drive just for news and nothing else)

>Software:
>---------
>      A/UX: v3.0.0
>       INN: v1.4sec
>       GCC: v2.5.7
>        CC: ???? whatever was included in stock A/UX v3.0.0

>I for one have had the problems (cant fork) with both gcc and cc and cant
>say for sure but its pretty common under either compile <sigh>

My setup:

Hardware
--------
	System: Mac Fx
	Memory: 20 MB
	Disk Space: 1.5 GB over 2 drives

Software
--------
	A/UX: 3.0.0
	INN: 1.4
	GCC: 2.5.7

I too have intermittent can't fork problems.
-- 
Phillip P. Porch <root@theporch.raider.net> (PP1573)

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