Thread View: news.software.nntp
5 messages
5 total messages
Started by David LaPorte
Thu, 17 Jun 1999 00:00
Expire malloc error on Digital UNIX 4.0D
Author: David LaPorte
Date: Thu, 17 Jun 1999 00:00
Date: Thu, 17 Jun 1999 00:00
37 lines
2209 bytes
2209 bytes
I'm also seeing a malloc problem when expire runs. I am running INN2.2 on
Digital UNIX 4.0D and have set the ulimit correctly (long ago I ran into
malloc problems and a ulimit -d 800000 solved them). The partition where
the history file lives has over 11GB free. I have 1GB of physical memory
and 5GB of swap (I wanted to make sure this wasn't a capacity issue). Top
reports 500+MB free, but when I run expire (either manually after having
set ulimit or through new.daily), I get:
Expire messages:
expire begin Thu Jun 17 03:02:19 EDT 1999: (-v1 -c -e
-z/usr/local/news/log/expire.rm -u/usr/local/news/log/expire.index.rm
-Z/usr/local/news/log/expire.lowmark)
Can't malloc 201947508 bytes, Not enough space
expire end Thu Jun 17 03:02:48 EDT 1999
all done Thu Jun 17 03:02:48 EDT 1999
lowmarkrenumber begin Thu Jun 17 03:02:50 EDT 1999:
(/usr/local/news/log/expire.lowmark)
lowmarkrenumber end Thu Jun 17 03:02:50 EDT 1999
expireindex start Thu Jun 17 03:02:50 EDT 1999
expireindex end Thu Jun 17 03:02:51 EDT 1999
---------
Coincidentally, this is the exact amount of space that the history.hash
takes up. Also, the history.hash has an old timestamp, unlike all the
other history.* files which are continually updated. The file size of the
history.hash hasn't changed in over a week. Running a makehistory -ro,
which I was told should take less than a half hour, took several hours (I
ended up killing it and removing the history.n.* files).
Does anyone have any idea what's going on? I'd appreciate any help anyone
could give.
Thanks,
Dave LaPorte
Re: Expire malloc error on Digital UNIX 4.0D
Author: Russ Allbery
Date: Thu, 17 Jun 1999 00:00
Date: Thu, 17 Jun 1999 00:00
24 lines
1590 bytes
1590 bytes
David LaPorte <dlaporte@ccs.neu.edu> writes: > I'm also seeing a malloc problem when expire runs. I am running INN2.2 > on Digital UNIX 4.0D and have set the ulimit correctly (long ago I ran > into malloc problems and a ulimit -d 800000 solved them). The partition > where the history file lives has over 11GB free. I have 1GB of physical > memory and 5GB of swap (I wanted to make sure this wasn't a capacity > issue). Top reports 500+MB free, but when I run expire (either manually > after having set ulimit or through new.daily), I get: > Expire messages: > expire begin Thu Jun 17 03:02:19 EDT 1999: (-v1 -c -e > -z/usr/local/news/log/expire.rm -u/usr/local/news/log/expire.index.rm > -Z/usr/local/news/log/expire.lowmark) > Can't malloc 201947508 bytes, Not enough space If you run limit, does it confirm that the data size has been increased? That really looks like it's still running into some sort of data size limit. -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Re: Expire malloc error on Digital UNIX 4.0D
Author: David LaPorte
Date: Fri, 18 Jun 1999 00:00
Date: Fri, 18 Jun 1999 00:00
46 lines
2478 bytes
2478 bytes
Yes a "ulimit -d" shows the exact ulimit I just entered. Below is the output of "ulimit -a" immediately before I run an expire. The data segment has four times as much memory as the malloc requires and yet it still bombs out. Dave LaPorte [news@plato news]$ ulimit -d 800000 [news@plato news]$ ulimit -a core file size (blocks) unlimited data seg size (kbytes) 800000 file size (blocks) unlimited max memory size (kbytes) 1022040 open files 4096 pipe size (512 bytes) 8 stack size (kbytes) 2048 cpu time (seconds) unlimited max user processes 267 virtual memory (kbytes) 1048576 Russ Allbery <rra@stanford.edu> wrote: : David LaPorte <dlaporte@ccs.neu.edu> writes: :> I'm also seeing a malloc problem when expire runs. I am running INN2.2 :> on Digital UNIX 4.0D and have set the ulimit correctly (long ago I ran :> into malloc problems and a ulimit -d 800000 solved them). The partition :> where the history file lives has over 11GB free. I have 1GB of physical :> memory and 5GB of swap (I wanted to make sure this wasn't a capacity :> issue). Top reports 500+MB free, but when I run expire (either manually :> after having set ulimit or through new.daily), I get: :> Expire messages: :> expire begin Thu Jun 17 03:02:19 EDT 1999: (-v1 -c -e :> -z/usr/local/news/log/expire.rm -u/usr/local/news/log/expire.index.rm :> -Z/usr/local/news/log/expire.lowmark) :> Can't malloc 201947508 bytes, Not enough space : If you run limit, does it confirm that the data size has been increased? : That really looks like it's still running into some sort of data size : limit. : -- : Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Re: Expire malloc error on Digital UNIX 4.0D
Author: Margarita Suarez
Date: Fri, 18 Jun 1999 00:00
Date: Fri, 18 Jun 1999 00:00
9 lines
1074 bytes
1074 bytes
you may want to try increasing your stack size as well with ulimit -s. we had a similar problem after increasing the data segment size to "unlimited." if this is a dedicated news machine you may consider setting data and stack to unlimited. marg
Re: Expire malloc error on Digital UNIX 4.0D
Author: Adam Bentley
Date: Tue, 06 Jul 1999 00:00
Date: Tue, 06 Jul 1999 00:00
27 lines
1767 bytes
1767 bytes
Well,
following the recent suggestions here, I tried the ulimit kludge
on my news.daily script but without success. I still get a malloc
failure. I intend to try moving to tagged-hash for the history
instead. I've rebuilt the source tree but I really don't want
to have to do a complete re-install again. Is there a smooth and
painless way to move to tagged hash from just using 'traditional'.
What commands will I need to run after moving to tagged hash to
sort out my history?
tia.
--
-- _
/-\dam
-------------------------------------------------------------------------
FLESH: Adam Bentley, Systems/Networking/Usenet, Coventry University. UK
INET : A.Bentley@coventry.ac.uk
-------------------------------------------------------------------------
#include <std/disclaimer.h>
-------------------------------------------------------------------------
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