Thread View: news.software.nntp
3 messages
3 total messages
Started by Lukas Wunner
Sun, 08 Jun 1997 00:00
expireover: cannot alloc -- whoops?!
Author: Lukas Wunner
Date: Sun, 08 Jun 1997 00:00
Date: Sun, 08 Jun 1997 00:00
45 lines
2062 bytes
2062 bytes
I'm having a hard time getting "expireover -a" to work; expireover will always bail out with the following error message: bash$ expireover -a Can't malloc 73496842 bytes, Cannot allocate memory That is exactly the size of the .overview file of the control newsgroup. Obviously, expireover tries to read it in at once, but fails because of memory constraints. This did work before, that problem has only occured ever since I increased the expire time, so the .overview files began to increase in size heavily. The shell's limits seem to look good: bash$ ulimit -a core file size (blocks) unlimited data seg size (kbytes) 131072 file size (blocks) unlimited max memory size (kbytes) unlimited stack size (kbytes) 65536 cpu time (seconds) unlimited max user processes 1024 pipe size (512 bytes) 1 open files 1024 virtual memory (kbytes) 196608 Also, there's a fair amount of real memory and swap space installed: bash$ /usr/sbin/swapinfo -k Device 1K-blocks Used Avail Capacity Type /dev/sd0s1b 204800 20000 184736 10% Interleaved /dev/sd1c 4248480 16196 4232220 0% Interleaved Total 4453152 36196 4416956 1% I guess 4 GBytes ought to suffice. ;-) Well I can't think of any other reason why expireover should fail, so any hints are greatly appreciated. I am using INN 1.5.1 on a FreeBSD 2.1.6 box. Thanks, Lukas.
Re: expireover: cannot alloc -- whoops?!
Author: Georg v.Zezschwitz
Date: Mon, 09 Jun 1997 00:00
Date: Mon, 09 Jun 1997 00:00
26 lines
1369 bytes
1369 bytes
Lukas Wunner <lukas@phoenix.tp1.ruhr-uni-bochum.de> wrote: : Can't malloc 73496842 bytes, Cannot allocate memory : That is exactly the size of the .overview file of the control newsgroup. : Obviously, expireover tries to read it in at once, but fails because of : memory constraints. This did work before, that problem has only occured : ever since I increased the expire time, so the .overview files began to : increase in size heavily. Hi Lukas, maybe this is not the best fitting answer to your question, but why don't you decrease the expire time for the control-group? I suppose not too many people will be reading this group via nnrpd :-) We use an expire time of 0 for control - and it seems to cause no problems. Bye, Georg
Re: expireover: cannot alloc -- whoops?!
Author: Lukas Wunner
Date: Mon, 09 Jun 1997 00:00
Date: Mon, 09 Jun 1997 00:00
33 lines
2220 bytes
2220 bytes
Georg v.Zezschwitz <gvz@popocate.hamburg.pop.de> writes: >maybe this is not the best fitting answer to your question, but why >don't you decrease the expire time for the control-group? >I suppose not too many people will be reading this group via nnrpd :-) >We use an expire time of 0 for control - and it seems to cause no >problems. Good idea, however this has a couple of implications for people who are interested in the control newsgroup: - people who use a sucking NNTP feed to get their news often subscribe to the control group to find out about newgroup's; if the control messages are purged each night, those users may not be able to get all newgroups. - peers which get their news via an NNTP feed from me and which backlog often will not be able to get all control messages if they have subscribed to the control group because some articles will be purged when they are catching up on the backlog. It depends on the administrator's policy if those problems are worth the trouble. My decision is to file cancels into control.cancel and everything else into control; the latter has an expire time of 14 days, the former will be purged after 2 days. It is probably a good idea anyway to purge cancel messages frequently as they are so numerous; with an expire of 14 days I had several 100.000 cancels in the control group, and I figure this has a rather heavy impact on the system's performance as it's searching in and writing to the control directory. Thanks, Lukas.
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