Thread View: news.software.nntp
9 messages
9 total messages
Started by Petri Turunen
Fri, 02 Jan 2004 13:10
CNFS-sm: could not mmap token
Author: Petri Turunen
Date: Fri, 02 Jan 2004 13:10
Date: Fri, 02 Jan 2004 13:10
19 lines
1595 bytes
1595 bytes
Hi Should i be woried when i get these messages: Jan 2 14:59:15 pete innfeed[27527]: CNFS-sm: could not mmap token @030353464E45543700000004F8FB00000001@ SFNET7:0x9f1f60c:1: Cannot allocate memory Jan 2 14:59:15 pete innfeed[27527]: Could not retrieve @030353464E45543700000004F8FB00000001@: mmap failed i tryed to get that article with sm but it didnt find it. in inn.conf i have: articlemmap: true tradindexedmmap: true Im using INN 2.4.1 (20031216 prerelease). Regards, Pete
Re: CNFS-sm: could not mmap token
Author: Russ Allbery
Date: Fri, 02 Jan 2004 18:49
Date: Fri, 02 Jan 2004 18:49
19 lines
2022 bytes
2022 bytes
Petri Turunen <pet@pete.fi.eu.org> writes:
> Should i be woried when i get these messages:
> Jan 2 14:59:15 pete innfeed[27527]: CNFS-sm: could not mmap token
> @030353464E45543700000004F8FB00000001@ SFNET7:0x9f1f60c:1: Cannot
> allocate memory
> Jan 2 14:59:15 pete innfeed[27527]: Could not retrieve
> @030353464E45543700000004F8FB00000001@: mmap failed
Somewhat. It does mean that you accepted a message that you're failing to
propagate out to your peers. I wonder how big that message is. What's
your maximum article size set to, and how much memory does your system
have?
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: CNFS-sm: could not mmap token
Author: Petri Turunen
Date: Sat, 03 Jan 2004 12:45
Date: Sat, 03 Jan 2004 12:45
30 lines
2171 bytes
2171 bytes
Russ Allbery <rra@stanford.edu> wrote in
news:874qveb2ys.fsf@windlord.stanford.edu:
> Petri Turunen <pet@pete.fi.eu.org> writes:
>
>> Should i be woried when i get these messages:
>> Jan 2 14:59:15 pete innfeed[27527]: CNFS-sm: could not mmap token
>> @030353464E45543700000004F8FB00000001@ SFNET7:0x9f1f60c:1: Cannot
>> allocate memory
>> Jan 2 14:59:15 pete innfeed[27527]: Could not retrieve
>> @030353464E45543700000004F8FB00000001@: mmap failed
>
> Somewhat. It does mean that you accepted a message that you're
> failing to propagate out to your peers. I wonder how big that
> message is. What's your maximum article size set to, and how much
> memory does your system have?
>
maxartsize is set to 1440000
and my memory:
total used free shared buffers cached
Mem: 501 494 6 0 127 284
-/+ buffers/cache: 83 417
Swap: 509 40 469
Pete
Re: CNFS-sm: could not mmap token
Author: Russ Allbery
Date: Sat, 03 Jan 2004 20:54
Date: Sat, 03 Jan 2004 20:54
26 lines
2378 bytes
2378 bytes
Petri Turunen <petri.turunen@newsant.com> writes:
> Russ Allbery <rra@stanford.edu> wrote:
>> Somewhat. It does mean that you accepted a message that you're failing
>> to propagate out to your peers. I wonder how big that message is.
>> What's your maximum article size set to, and how much memory does your
>> system have?
> maxartsize is set to 1440000
> and my memory:
> total used free shared buffers cached
> Mem: 501 494 6 0 127 284
> -/+ buffers/cache: 83 417
> Swap: 509 40 469
That's pretty strange. That makes me think the article got stored
corrupted somehow, although I don't know how. If that one article is the
only one that has the problem, I wouldn't worry too much about it, but I'm
not sure what would cause that.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: CNFS-sm: could not mmap token
Author: Zak
Date: Sat, 03 Jan 2004 21:53
Date: Sat, 03 Jan 2004 21:53
28 lines
2135 bytes
2135 bytes
Petri Turunen wrote: > Should i be woried when i get these messages: > Jan 2 14:59:15 pete innfeed[27527]: CNFS-sm: could not mmap token > @030353464E45543700000004F8FB00000001@ SFNET7:0x9f1f60c:1: Cannot > allocate memory > in inn.conf i have: > articlemmap: true > tradindexedmmap: true I see the same - on Linux. Memory usage for innfeed explodes to 2 or 3 GB when this happens (VSZ column in ps aux, top or ps -ef do not show the memory usage) (2 or 3 GB depending on memory settings in the kernel) and innfeed gets stuck in this mode until it is killed. Strangely enough, with mmap off in the innfeed.conf, and the corresponding option also given to innfeed, this error still occurs. I work around it by killing my innfeeds when memory usage explodes, and running them in multiple. But is it good? Definitely not. If it happens for single articles for you only, it must be a different problem. Thomas
Re: CNFS-sm: could not mmap token
Author: Russ Allbery
Date: Sat, 03 Jan 2004 21:57
Date: Sat, 03 Jan 2004 21:57
19 lines
2088 bytes
2088 bytes
Zak <spam@jutezak.invalid> writes:
> I see the same - on Linux. Memory usage for innfeed explodes to 2 or 3
> GB when this happens (VSZ column in ps aux, top or ps -ef do not show
> the memory usage) (2 or 3 GB depending on memory settings in the kernel)
> and innfeed gets stuck in this mode until it is killed.
> Strangely enough, with mmap off in the innfeed.conf, and the
> corresponding option also given to innfeed, this error still occurs. I
> work around it by killing my innfeeds when memory usage explodes, and
> running them in multiple.
I'm not seeing this happen at all on Solaris. I wonder what's different.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: CNFS-sm: could not mmap token
Author: Jarle Aase
Date: Sat, 03 Jan 2004 22:10
Date: Sat, 03 Jan 2004 22:10
40 lines
2725 bytes
2725 bytes
Zak wrote:
> I see the same - on Linux.
I get lots of those messages here, under Linux (Single CPU P4 2.6 GHz, 1 GB
RAM).
Jan 3 23:21:52 news innfeed[32524]: CNFS-sm: could not mmap token
@030542494E3033300000002FDAD700000030@ BIN030:0x5fb5ae0c:48:
Cannot allocate memory
Jan 3 23:21:52 news innfeed[32524]:
Could not retrieve @030542494E3033300000002FDAD700000030@:
mmap failed
top:
top - 23:22:27 up 87 days, 18:46, 6 users, load average: 0.70, 0.58, 0.49
Tasks: 52 total, 1 running, 51 sleeping, 0 stopped, 0 zombie
Cpu(s): 1.8% user, 3.4% system, 0.8% nice, 94.0% idle
Mem: 900012k total, 895548k used, 4464k free, 4k buffers
Swap: 488368k total, 33496k used, 454872k free, 753132k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
32524 news 14 4 9728 5992 5356 S 6.0 0.7 2:25.55 innfeed
23598 root 11 0 848 796 656 S 4.0 0.1 751:54.55 iptraf
14793 news 14 0 175m 170m 158m S 2.0 19.5 450:39.96 innd
1 root 8 0 472 444 420 S 0.0 0.0 0:49.87 init
news:/etc/news# grep mmap *
inn.conf:articlemmap: true
innfeed.conf:use-mmap: false
Jarle
--
Jarle Aase http://www.jgaa.com
mailto:jgaa@jgaa.com http://www.fuck-the-law.org
<<< no need to argue - just kill'em all! >>>
Re: CNFS-sm: could not mmap token
Author: Petri Turunen
Date: Sun, 04 Jan 2004 12:16
Date: Sun, 04 Jan 2004 12:16
21 lines
1809 bytes
1809 bytes
Petri Turunen <petri.turunen@newsant.com> wrote in news:Xns9465962FD4BBBnewsant@213.28.99.109: > Russ Allbery <rra@stanford.edu> wrote in > news:874qveb2ys.fsf@windlord.stanford.edu: > >> Somewhat. It does mean that you accepted a message that you're >> failing to propagate out to your peers. I wonder how big that >> message is. What's your maximum article size set to, and how much >> memory does your system have? >> That wasnt the only article but i think i got the error fixed. in innfeed.conf i but use-mmap to true and now those errors stoped. Thanks for help. Pete
Re: CNFS-sm: could not mmap token
Author: Francois Petillon
Date: Tue, 06 Jan 2004 16:00
Date: Tue, 06 Jan 2004 16:00
21 lines
2015 bytes
2015 bytes
On Fri, 02 Jan 2004 15:10:19 +0200, Petri Turunen wrote:
> Jan 2 14:59:15 pete innfeed[27527]: CNFS-sm: could not mmap token
> @030353464E45543700000004F8FB00000001@ SFNET7:0x9f1f60c:1: Cannot
> allocate memory
I had a similar problem which was related to stack size (seems to be linux
related problem). Can you try with something like this :
--- inn-STABLE-20031030/innfeed/startinnfeed.c 2003-01-19
02:15:32.000000000 +0100 +++ inn-STABLE-fanch/innfeed/startinnfeed.c
2003-11-14 13:29:07.000000000 +0100 @@ -92,6 +92,8 @@
setrlimit(RLIMIT_DATA, &rl);
# endif
# ifdef RLIMIT_STACK
+ rl.rlim_cur = 8388608;
+ rl.rlim_max = 8388608;
setrlimit(RLIMIT_STACK, &rl);
# endif
#endif /* HAVE_SETRLIMIT */
----
François
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