plenty of "/proc/mm map failed" in syslog
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 [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Sven" == Sven Köhler <[email protected]> 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
Signature · 13 lines
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_id70&alloc_id638&opÌk _______________________________________________ User-mode-linux-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Quoted 2 lines
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 [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Quoted 2 lines
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 [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel