All of lore.kernel.org
 help / color / mirror / Atom feed
* [uml-devel] plenty of "/proc/mm map failed" in syslog
@ 2004-03-14 15:11 Sven Köhler
  2004-03-14 19:10 ` Adrian Phillips
  0 siblings, 1 reply; 4+ messages in thread
From: Sven Köhler @ 2004-03-14 15:11 UTC (permalink / raw)
  To: user-mode-linux-devel

Hi,

i wrote a simple test-program to stress-test UML.

#!/usr/bin/perl
while (true)
{
   push @a, "a";
}

While executing it, i got plenty of thos messages in syslog:
Mar 14 15:59:01 localhost kernel:  12
Mar 14 15:59:01 localhost kernel: map : /proc/mm map failed, err = 12
Mar 14 15:59:02 localhost last message repeated 1321 times
Mar 14 15:59:02 localhost kernel:  12
Mar 14 15:59:02 localhost kernel: map : /proc/mm map failed, err = 12
Mar 14 15:59:02 localhost last message repeated 3216 times
Mar 14 15:59:02 localhost kernel:  12
Mar 14 15:59:02 localhost kernel: map : /proc/mm map failed, err = 12
Mar 14 15:59:02 localhost last message repeated 786 times
Mar 14 15:59:03 localhost kernel:  12
Mar 14 15:59:03 localhost kernel: map : /proc/mm map failed, err = 12

I expected perl to get killed or get an "out of memory"-error, cause the 
UML didn't have swap and only 128MB memory.

So are those errors normal?
I'm using 2.6.4-um1 in SKAS-mode running on 2.6.4 host patched with 
BlaisorBlades's 2.6.3-skas3 patch.

If i run the script on the host-machine, perl get's killed as expected.
(the new "kill best process"-stuff is not turned on in the host's 
kernel-config)

Thx
   Sven



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [uml-devel] plenty of "/proc/mm map failed" in syslog
  2004-03-14 15:11 [uml-devel] plenty of "/proc/mm map failed" in syslog Sven Köhler
@ 2004-03-14 19:10 ` Adrian Phillips
  2004-03-14 22:25   ` [uml-devel] " Sven Köhler
  2004-03-14 22:46   ` Sven Köhler
  0 siblings, 2 replies; 4+ messages in thread
From: Adrian Phillips @ 2004-03-14 19:10 UTC (permalink / raw)
  To: Sven Köhler; +Cc: user-mode-linux-devel

>>>>> "Sven" == Sven Köhler <skoehler@upb.de> writes:

    Sven> While executing it, i got plenty of thos messages in syslog:
    Sven> Mar 14 15:59:01 localhost kernel: 12 Mar 14 15:59:01
    Sven> localhost kernel: map : /proc/mm map failed, err = 12 Mar 14
    Sven> 15:59:02 localhost last message repeated 1321 times Mar 14
    Sven> 15:59:02 localhost kernel: 12 Mar 14 15:59:02 localhost
    Sven> kernel: map : /proc/mm map failed, err = 12 Mar 14 15:59:02
    Sven> localhost last message repeated 3216 times Mar 14 15:59:02
    Sven> localhost kernel: 12 Mar 14 15:59:02 localhost kernel: map :
    Sven> /proc/mm map failed, err = 12 Mar 14 15:59:02 localhost last
    Sven> message repeated 786 times Mar 14 15:59:03 localhost kernel:
    Sven> 12 Mar 14 15:59:03 localhost kernel: map : /proc/mm map
    Sven> failed, err = 12

    Sven> I expected perl to get killed or get an "out of
    Sven> memory"-error, cause the UML didn't have swap and only 128MB
    Sven> memory.

Please check the user archives for the last 3 months or google for mm
map failed.

Sincerely,

Adrian Phillips

-- 
Who really wrote the works of William Shakespeare ?
http://www.pbs.org/wgbh/pages/frontline/shakespeare/


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id\x1470&alloc_id638&opÌk
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [uml-devel] Re: plenty of "/proc/mm map failed" in syslog
  2004-03-14 19:10 ` Adrian Phillips
@ 2004-03-14 22:25   ` Sven Köhler
  2004-03-14 22:46   ` Sven Köhler
  1 sibling, 0 replies; 4+ messages in thread
From: Sven Köhler @ 2004-03-14 22:25 UTC (permalink / raw)
  To: user-mode-linux-devel

> Please check the user archives for the last 3 months or google for mm
> map failed.

so i guess the UML kernel couldn't allocate more memory, but why wasn't 
the perl-process killed like it should?



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [uml-devel] Re: plenty of "/proc/mm map failed" in syslog
  2004-03-14 19:10 ` Adrian Phillips
  2004-03-14 22:25   ` [uml-devel] " Sven Köhler
@ 2004-03-14 22:46   ` Sven Köhler
  1 sibling, 0 replies; 4+ messages in thread
From: Sven Köhler @ 2004-03-14 22:46 UTC (permalink / raw)
  To: user-mode-linux-devel

> Please check the user archives for the last 3 months or google for mm
> map failed.

http://usermodelinux.org/modules.php?name=News&file=article&sid=154

the page says, that i should use /proc/sys/vm/max_map_count but it 
doesn't seem to exist on my 2.6 host.



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-03-14 22:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-14 15:11 [uml-devel] plenty of "/proc/mm map failed" in syslog Sven Köhler
2004-03-14 19:10 ` Adrian Phillips
2004-03-14 22:25   ` [uml-devel] " Sven Köhler
2004-03-14 22:46   ` Sven Köhler

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.