On Tue, 25 Sep 2007 18:18:57 -0400, Francis Giraldeau wrote > Hi Jim, > > I did test the code provided to limit the memory of X, but I'm not able > to reproduce the behavior, in which Firefox dies instead of X, in the > event where Firefox blow up the memory. > > I did force the terminal to boot with mem=32M. The ratio used is 90% > (XRAMPERC), so ulimit is launched as follow : > > ulimit -m 1166 > > I suppose that it means the current process and all children will not be > able to use more than 1166 kb of resident size each. If it was the case, > then de X server wouldn't even start, because the idle X process uses > 4712 kb. > > In this situation, Firefox still causes the out of memory killer to be > called. > > Any idea?
Hello Francis. I ran this under Edubuntu Feisty and with XRAMPERC set to 80% it is working. I don't exactly understand how this works, Scott Balnaeves is the one who ported the old XRAMPERC option from LTSP 4 to LTSP 5 for Edubuntu. If you contact him I'm sure he'll be able to help you out. I assume you followed the directions I posted a few weeks back, so I don't know what could be causing your problems. Scott would probably be able to figure it out fairly quick. I have noticed that if I set the XRAMPERC to higher percentages, it doesn't always work. This may be due to other apps using a larger amount of RAM already and simply not having 90% left to use. Maybe just try a lower percentage quick such as 50% and see if firefox will die, then work up to a larger number. Jim -- This message has been scanned for viruses and dangerous content by the Cotter Technology Department, and is believed to be clean. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _____________________________________________________________________ Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: https://lists.sourceforge.net/lists/listinfo/ltsp-discuss For additional LTSP help, try #ltsp channel on irc.freenode.net
