Article View: news.software.nntp
Article #32786Re: inn 2.1 & DU4.0D problem
From: Keith Lewis
Date: Mon, 09 Nov 1998 00:00
Date: Mon, 09 Nov 1998 00:00
51 lines
2176 bytes
2176 bytes
-----BEGIN PGP SIGNED MESSAGE-----
"Nikica Skunca" <nikica.skunca@tel.hr> writes:
>Last week I installed inn 2.1 (with CNFS) on Digital Alpa
> ...
> Can't malloc 161899160 bytes, Not enough space
That has been happening to me since the inn-1.4 days.
I used to be able to demonstrate that DU 3.something had a problem
with a simple program that just did regular malloc-s and free-s.
Certainly innd still gives me that error when it has no right to.
I guess gnumalloc would fix the problem.
In my case I just modified all the x*alloc.c files to retry if it
got an error.
Something like:
count = 0;
while ( ( new = malloc(i) ) == NULL) {
/* on DU we get ENOMEM for no apparent reason... */
if ( (count++ < 10 ) && ( errno = ENOMEM ) ) continue;
sleep(10);
if ( (count++ < 15 ) && ( errno = ENOMEM ) ) continue;
(*xmemfailure)("modifiedmalloc", i);
}
It may be brutal but it seems to work for me.
(Alpha 3000/400, DU 4.0B 320 MB, 60 GB of spool over 25 spindles 6
busses, inn2.1 of about early Oct).
Keith
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2i
iQCVAwUBNkZd3nEpE0nRVDfpAQFfSAP/WiU60L0EtkIfnue04w1x3vYRvQwPnZl5
pKCn1y8g2F+N5/k73Tk8HwkfKNvRYcT4RKhLzzsPzLUuA3pP4tPdsbvGqopT/SYz
lQ6TSbOefPWvnR7ORg9oMjFyDTPDeE85VfG9trQisz87jF7YIUvzPaMAx/T0cveU
1jCZgmWI6JQ=
=eadW
-----END PGP SIGNATURE-----
Technical Details
Message-ID:
<725mnh$3i2$1@towncrier.cc.monash.edu.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-mailReferences:
<71uhrv$gmf$1@as102.tel.hr>Show Full Headers
Complete Article Headers
Message-ID: <725mnh$3i2$1@towncrier.cc.monash.edu.au> Subject: Re: inn 2.1 & DU4.0D problem Date: Mon, 09 Nov 1998 00:00:00 +0000 From: keithl@mukluk.cc.monash.edu.au (Keith Lewis) References: <71uhrv$gmf$1@as102.tel.hr> 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: 409811495 Distribution: world X-Complaints-To: abuse@monash.edu.au X-Trace: towncrier.cc.monash.edu.au 910581297 3650 130.194.2.37 (9 Nov 1998 03:14:57 GMT) Organization: Monash Uni NNTP-Posting-Date: 9 Nov 1998 03:14:57 GMT Newsgroups: news.software.nntp