Article View: news.software.nntp
Article #34678Re: INN2.1 expire - cant malloc
From: foghat
Date: Thu, 14 Jan 1999 00:00
Date: Thu, 14 Jan 1999 00:00
64 lines
3056 bytes
3056 bytes
I had this problem as well. I'm running FreeBSD 2.2.7. In my /etc/login.conf for news I added :memoryuse=infinity. I also run news.daily out of a script as follows: #!/bin/csh limit memoryuse unlimited /usr/local/news/bin/news.daily expireover lowmark hope this helps dave In article <369BE66B.944D217A@globalcenter.net.au>, Marc Van Hoof <mvh@globalcenter.net.au> wrote: > Well, I've done that, and I'm still getting the same problems...news.daily > writes "can't malloc xxxxxx bytes; can't allocate memoryexpire" to the > expire.log. > > the box has 256M ram in it, and 1GB of SWAP... > > anyone else have any suggestions ? > > thanks, > marc. > > "Niels Bakker - Non PGP encrypted email deleted automatically." wrote: > > > In article <jon-1101990939440001@192.168.2.10>, Jon Mansey wrote: > > > > >> Check /etc/login.conf, make sure the process limits for the `news' user > > >> are set to something reasonable - i.e., infinity. > > [login.conf] > > > What do you recommend I change here? This is a dedicated news machine, so > > > should everything be at infinity like the root entry? > > > > That's what I said, didn't I? > > > > FWIW, on FreeBSD 3.0-CURRENT I have:- > > > > news:\ > > :path=/usr/local/news/bin /bin /usr/bin /usr/sbin /usr/local/bin:\ > > :cputime=infinity:\ > > :filesize=infinity:\ > > :datasize=infinity:\ > > :datasize-cur=infinity:\ > > :stacksize-cur=infinity:\ > > :maxmemorysize=infinity:\ > > :maxmemorysize-cur=infinity:\ > > :memorylocked=infinity:\ > > :maxproc=2048:\ > > :openfiles=8192:\ > > :tc=default: > > > > 2.2.x is much lower with its default limits, I also hope you seriously > > inflated the `maxusers' option in your kernel config file. Diablo > > comes with a file describing several tuning options, you may wish to > > just copy those. :-) > > > > -- Niels. > > -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
Technical Details
Message-ID:
<77lq66$oo2$1@nnrp1.dejanews.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<newsmaster-1001991651240001@192.168.2.10> <slrn79jjdt.f3l.niels@liquid.tpb.net> <jon-1101990939440001@192.168.2.10> <slrn79kksh.jmv.niels@liquid.tpb.net> <369BE66B.944D217A@globalcenter.net.au>Show Full Headers
Complete Article Headers
Message-ID: <77lq66$oo2$1@nnrp1.dejanews.com> Subject: Re: INN2.1 expire - cant malloc Date: Thu, 14 Jan 1999 00:00:00 +0000 From: foghat@my-dejanews.com References: <newsmaster-1001991651240001@192.168.2.10> <slrn79jjdt.f3l.niels@liquid.tpb.net> <jon-1101990939440001@192.168.2.10> <slrn79kksh.jmv.niels@liquid.tpb.net> <369BE66B.944D217A@globalcenter.net.au> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 432649300 X-Http-Proxy: 1.0 x2.dejanews.com:80 (Squid/1.1.22) for client 198.202.232.207 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Thu Jan 14 22:08:20 1999 GMT Newsgroups: news.software.nntp X-Http-User-Agent: Mozilla/4.04 [en] (X11; I; SunOS 5.6 sun4u)