> [EMAIL PROTECTED] said:
> > I have 4go on my server. Only 800 mo are use. When I launch a uml
> > instance with mem=256M param that work fine.  But when launch a uml
> > instance with mem=512M, I get this message : SegFault .... 

Oops, in my first answer to this posting I made a mistake, and my 
correction got eaten (on a new machine I had a permission problem when 
mounting the encrypted partition with the TLS host cert used by the MTA...)
So here's my "mea culpa" again.

I said to divide the mem= size of the largest guest (512M for you, or 2^29 
bytes) by 65536 (2^16), but this was wrong.  UML's map zone size is 4096 
bytes (2^12).  Divide by that.  In your case you get 131072 (2^17), 
compared to the default value of 65536 (2^16) in /proc/sys/vm/max_map_count.
echo 131072 > max_map_count (or a convenient slightly larger number) and
you should have no problems.


James F. Carter          Voice 310 825 2897    FAX 310 206 6673
UCLA-Mathnet;  6115 MSA; 405 Hilgard Ave.; Los Angeles, CA, USA 90095-1555
Email: [EMAIL PROTECTED]  http://www.math.ucla.edu/~jimc (q.v. for PGP key)


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to