🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
6 messages
6 total messages Started by Keith Mon, 22 Dec 1997 00:00
inn-1.7.2-insync1.1d
#24548
Author: Keith
Date: Mon, 22 Dec 1997 00:00
36 lines
2057 bytes
I'm still having to reboot inn every day or so because it starts to refuse
to fork() off new processes (both nnrpd and my autoresponder). This is
Pentium 166, BSDI 3.1, 128MB RAM. An example from /var/log/news/news.notice:

Dec 22 21:51:52 news innd: SERVER cant fork
/usr/contrib/lib/news/bin/autoresponder Cannot allocate memory
Dec 22 21:52:28 news innd: SERVER cant fork /usr/contrib/lib/news/in.nnrpd
Cannot allocate memory

Seems a bit strange to me, let's see what top has to say...

load averages:  2.56,  2.36,  2.36
21:52:03
20 processes:  1 running, 19 sleeping
CPU states:  0.0% user,  9.6% nice,  6.2% system,  0.0% interrupt, 84.2%
idle
Memory: Real: 55M/69M Virt: 103M/217M Free: 36M
  PID USERNAME PRI NICE  SIZE   RES STATE   TIME   WCPU    CPU COMMAND
21510 news      -6    4   94M   51M sleep 180:10  5.86%  5.86% innd
28884 news       2    8  756K  612K sleep   4:03  1.17%  1.17% innfeed
21508 news       2    4 3168K 2828K sleep  31:48  0.83%  0.83% actived
28882 news       2    8  132K   84K sleep   2:07  0.44%  0.44% crosspost
 6521 root       2    0  668K  472K sleep   0:00  0.15%  0.10% sshd

I assume this is the cache patches catching up to me. But I would assume
there is a limit for these patches somewhere. Maybe it is a memory leak,
though. I am not really sure, but I figured someone else out there may know.
Other then this one problem, Andrew's megapatch is a life saver. Thanks in
advance.

Keith



Re: inn-1.7.2-insync1.1d
#24553
Author: Keith
Date: Mon, 22 Dec 1997 00:00
14 lines
905 bytes

Jeremy wrote in message <67nmu8$lc6$1@news1.exit109.com>...

>Could you be hitting a resource limit in the kernel?  It defaults to
>64 megs datasize, you have to rebuild the kernel to make it larger.

I have already done so. I also unlimit all resources in rc.news.

Keith



Re: inn-1.7.2-insync1.1d
#24566
Author: Jeremy
Date: Tue, 23 Dec 1997 00:00
21 lines
1405 bytes
Keith <keith@iswest.com> wrote:

> I'm still having to reboot inn every day or so because it starts to refuse
> to fork() off new processes (both nnrpd and my autoresponder). This is
> Pentium 166, BSDI 3.1, 128MB RAM. An example from /var/log/news/news.notice:
> 
> Dec 22 21:51:52 news innd: SERVER cant fork
> /usr/contrib/lib/news/bin/autoresponder Cannot allocate memory
> Dec 22 21:52:28 news innd: SERVER cant fork /usr/contrib/lib/news/in.nnrpd
> Cannot allocate memory

Could you be hitting a resource limit in the kernel?  It defaults to
64 megs datasize, you have to rebuild the kernel to make it larger.

-- 
Jeremy  |  jeremy@exit109.com
"If it's not real, WHY DOES IT TAKE UP DISK SPACE?" --bev.
                                   net.subculture.usenet

Re: inn-1.7.2-insync1.1d
#24567
Author: Jeremy
Date: Tue, 23 Dec 1997 00:00
16 lines
1106 bytes
Keith <keith@iswest.com> wrote:

>> Could you be hitting a resource limit in the kernel?  It defaults to
>> 64 megs datasize, you have to rebuild the kernel to make it larger.
> 
> I have already done so. I also unlimit all resources in rc.news.

Just a shot in the dark then, but rc.news generally runs as news, not
root, and therefore can't unlimit all resources...

-- 
Jeremy  |  jeremy@exit109.com
"Okay, at this point you're abusing sarcasm."  --Buffy

Re: inn-1.7.2-insync1.1d
#24576
Author: Andrew
Date: Tue, 23 Dec 1997 00:00
17 lines
1293 bytes
Keith <keith@iswest.com> wrote:
>>Could you be hitting a resource limit in the kernel?  It defaults to
>>64 megs datasize, you have to rebuild the kernel to make it larger.

> I have already done so. I also unlimit all resources in rc.news.

That's a really odd problem you've got.  I haven't seen anything of this
sort on any platform.  Go figure.  Strange.  Regular INN was working fine
I assume?

-- 
Andrew O. Smith - <aos@insync.net> | "How like a turtle the sun looks."
Sysadmin, Insync Internet Services |    -- South Park's non-offensive non-
Houston, Texas, USA                |       denominational Christmas play

Re: inn-1.7.2-insync1.1d
#24598
Author: Ross Alexander
Date: Wed, 24 Dec 1997 00:00
26 lines
1330 bytes
Jeremy <jeremy@exit109.com> writes:

>Keith <keith@iswest.com> wrote:

>>> Could you be hitting a resource limit in the kernel?  It defaults to
>>> 64 megs datasize, you have to rebuild the kernel to make it larger.
>> 
>> I have already done so. I also unlimit all resources in rc.news.

>Just a shot in the dark then, but rc.news generally runs as news, not
>root, and therefore can't unlimit all resources...

He's on a BSDi box.  I think he might want to try opening up the class
hard limits for news (in /etc/login.conf, qv).

regards,
Ross
--
Oh Lord, won't you buy me a PDP-10?
My friends all hack Vaxen; I must make amends.

Ross Alexander, ve6pdq || rwa@cs


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