1 Feb 2004 16:59
Re: [uml-user] limits?
Sven 'Darkman' Michels <sven <at> darkman.de>
2004-02-01 15:59:22 GMT
2004-02-01 15:59:22 GMT
BlaisorBlade wrote: > About the specific question: > - you don't get an inode /file descriptors on the host for every inode on the > guest (and you can ulimit only open files, i.e. file descriptors); that > happens only with hostfs. And if you put a server inside your UML, you must > avoid using hostfs, as it's not secure at all (and you must also chroot your > UML to avoid that some user loads a hostfs module). I don't want to use hostfs, you know why ;) > - you get, in SKAS mode, one open file for each process inside the guest: look > at /proc/≤UML pid>/fd to see that there are many descriptors referring to > /proc/mm. > > - so, a person who used to ulimit to 1024 the open files got problems when a > lot of threads started. IIRC he got a kernel panic (it will be fixed at some > time, so that the process creation should just fail), so if you ulimit > processes inside UML be sure to reduce also the maximum number of processes > inside UML (via /proc/sys/kernel/threads-max inside the guest). okay, about the kernel panic, is there a patch avaiable right now? About the limits, i just thought about limits outside the uml, on the Host (to avoid such things like panics by mistake or just to restrictive default configs). So your tipps are very welcome and usefull, thanks a lot. Regards, Sven ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn
RSS Feed