🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #53814

expire problem on FreeBSD

#53814
From: Karsten Thygesen
Date: Fri, 17 Aug 2001 06:02
43 lines
2029 bytes
Hi

I'm running INN-2.3.2 on FreeBSD-4.3-STABLE on a server with 3GB
memory and 4GB swap.

The expire process breaks with an error like:


su-2.05$ expire -v1
dbz.c:1283 Can't malloc 382418532 bytes: Cannot allocate memory

By monitoring the process, I can see, that it reaches more than 400Mb
memory before it tries to do this malloc.

I guess it's my datasize resourcelimit, which is hit:

su-2.05$ ulimit -a
core file size (blocks)     unlimited
data seg size (kbytes)      524288
file size (blocks)          unlimited
max locked memory (kbytes)  unlimited
max memory size (kbytes)    unlimited
open files                  4136
pipe size (512 bytes)       1
stack size (kbytes)         65536
cpu time (seconds)          unlimited
max user processes          2067
virtual memory (kbytes)     589824


According to /etc/login.conf, all limits is unlimitied, and I'm not
able to raise the limits as root either. The hardlimits is equal to
those above.

So - any suggestions on how to make expire use less memory or how to
raise the fixed datasize limit?

I'm getting desperate as I have not been able to expire for quite some
time now :-)

Karsten
Technical Details
Message-ID: <86d75vrzq9.fsf@kaytest.dmt.dk>
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!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!212.88.64.227!sonofon.dk!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <86d75vrzq9.fsf@kaytest.dmt.dk>
Subject: expire problem on FreeBSD
Date: Fri, 17 Aug 2001 06:02:06 +0000
From: Karsten Thygesen <karthy@sonofon.dk>
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!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!212.88.64.227!sonofon.dk!not-for-mail
Newsgroups: news.software.nntp
Organization: Sonofon
Lines: 42
NNTP-Posting-Host: gateway.sonofon.dk
X-Trace: abnew01.sonofon.dk 998028238 16773 212.88.71.2 (17 Aug 2001 06:03:58 GMT)
X-Complaints-To: usenet@sonofon.dk
NNTP-Posting-Date: Fri, 17 Aug 2001 06:03:58 +0000 (UTC)
X-Newsreader: Gnus v5.7/Emacs 20.7