Thread View: news.software.nntp
5 messages
5 total messages
Started by Nikica Skunca
Fri, 06 Nov 1998 00:00
inn 2.1 & DU4.0D problem
Author: Nikica Skunca
Date: Fri, 06 Nov 1998 00:00
Date: Fri, 06 Nov 1998 00:00
40 lines
2134 bytes
2134 bytes
Hi!
Last week I installed inn 2.1 (with CNFS) on Digital Alpa
(512MB/35GB/Digital Unix 4.0D), and it worked fine until yesterday!
I use news.daily with following keywords and flags:
/usr/local/news/bin/news.daily expireover lowmark flags='-v1 -c -N'
Everithing worked fine (articles expired according to expire.ctl file), but
now expire.log look like this:
expire begin Fri Nov 6 10:48:31 MET 1998:
(-v1 -c -N -z/usr/local/news/log/expi
re.rm -u/usr/local/news/log/expire.index.rm -Z/usr/local/news/log/expire.low
mark
)
Can't malloc 161899160 bytes, Not enough space
expire end Fri Nov 6 10:48:32 MET 1998
all done Fri Nov 6 10:48:32 MET 1998
lowmarkrenumber begin Fri Nov 6 10:48:32 MET 1998:
(/usr/local/news/log/expire.
lowmark)
lowmarkrenumber end Fri Nov 6 10:48:32 MET 1998
expireindex start Fri Nov 6 10:48:32 MET 1998
expireindex end Fri Nov 6 10:48:32 MET 1998
It looks like system cannot allocate enough memory for expire (with 512MB
RAM?!). I suposed that there is a memory leek, but right after shutdown same
thing happened again!
Before I try to compile inn with gnumalloc (according to FAQs it works
better than original malloc) maybe someone could help me with some advice or
explain me what is going on.
Thanks in advance.
Nikica Skunca
nikica.skunca@tel.hr
Re: inn 2.1 & DU4.0D problem
Author: Antonio Querubin
Date: Fri, 06 Nov 1998 00:00
Date: Fri, 06 Nov 1998 00:00
13 lines
989 bytes
989 bytes
Nikica Skunca (nikica.skunca@tel.hr) wrote: : Can't malloc 161899160 bytes, Not enough space : expire end Fri Nov 6 10:48:32 MET 1998 You may want to check and increase your stack size limits and/or add an 'unlimit' at the top of your INN startup script. -- Antonio Querubin tony@lava.net / ah6bw@hawaii.ampr.org
Re: inn 2.1 & DU4.0D problem
Author: 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-----
Re: inn 2.1 & DU4.0D problem
Author: Hans Lambermont
Date: Mon, 09 Nov 1998 00:00
Date: Mon, 09 Nov 1998 00:00
18 lines
1574 bytes
1574 bytes
Nikica Skunca wrote: > Last week I installed inn 2.1 (with CNFS) on Digital Alpa > (512MB/35GB/Digital Unix 4.0D), and it worked fine until yesterday! > Can't malloc 161899160 bytes, Not enough space > It looks like system cannot allocate enough memory for expire (with 512MB Does DU have limits? I had to change my login.conf file for news limits when i had the same problem as you describe Succes, Hans Lambermont -- Ir. Hans Lambermont intranet url:http://garg.mpn.cp.philips.com TIS/INS, Intranet Service Development Hans.Lambermont@nl.origin-it.com Origin IT Systems Management/NL bv phone/fax: (+31 40 27) 85376/88729 PO Box 218, 5600MD Eindhoven, Netherlands VN507 GSM: (+31) 6 53252172
Re: inn 2.1 & DU4.0D problem
Author: Robert Sandford
Date: Tue, 10 Nov 1998 00:00
Date: Tue, 10 Nov 1998 00:00
58 lines
3198 bytes
3198 bytes
I posted this same problem about a week ago and got a response from Mike Fagan. Mike suggested to me to put "ulimit -d 800000" in the news.daily file. Our DU 4.0 has half a gig of ram so I set the limit to 400000. After having put this in the news.daily my problems went away. No more malloc errors! Mike Fagan wrote: >In any case, what I had to do to fix our server was put a ulimit command >third line of the script. You may need to lower that value though, as on >our system we've got a gig of memory, so setting the max datasize to 800 >megs is okay, if you have less you'll need to lower the value. > >If you set it higher, near your max memory, and still have problems, you >may need to re-compile inn with the (pardon me if this is incorrect look >to the INSTALL file...) --enable-tagged-hash. This will let you run inn >with less memory, though it will be a bit slower. Nikica Skunca wrote: > Hi! > > Last week I installed inn 2.1 (with CNFS) on Digital Alpa > (512MB/35GB/Digital Unix 4.0D), and it worked fine until yesterday! > > I use news.daily with following keywords and flags: > /usr/local/news/bin/news.daily expireover lowmark flags='-v1 -c -N' > > Everithing worked fine (articles expired according to expire.ctl file), but > now expire.log look like this: > expire begin Fri Nov 6 10:48:31 MET 1998: > (-v1 -c -N -z/usr/local/news/log/expi > re.rm -u/usr/local/news/log/expire.index.rm -Z/usr/local/news/log/expire.low > mark > ) > Can't malloc 161899160 bytes, Not enough space > expire end Fri Nov 6 10:48:32 MET 1998 > all done Fri Nov 6 10:48:32 MET 1998 > lowmarkrenumber begin Fri Nov 6 10:48:32 MET 1998: > (/usr/local/news/log/expire. > lowmark) > lowmarkrenumber end Fri Nov 6 10:48:32 MET 1998 > expireindex start Fri Nov 6 10:48:32 MET 1998 > expireindex end Fri Nov 6 10:48:32 MET 1998 > > It looks like system cannot allocate enough memory for expire (with 512MB > RAM?!). I suposed that there is a memory leek, but right after shutdown same > thing happened again! > Before I try to compile inn with gnumalloc (according to FAQs it works > better than original malloc) maybe someone could help me with some advice or > explain me what is going on. > > Thanks in advance. > > Nikica Skunca > nikica.skunca@tel.hr
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