Hello Wim, Am Dienstag, den 25.11.2008, 15:53 +0100 schrieb Wim Dumon: > 2008/11/25 Jakov af Wallby <[EMAIL PROTECTED]>: > > > > On Mon, Nov 24, 2008 at 08:38:18PM +0100, Koen Deforche wrote: > >> > >> The way I understand it, linux overcommits memory: malloc() will > > > > It depends. On uclinux, or with uclinuxish software stacks, it does > > not overcommit. > > There are probably a few places where this 'overcommit' pops up. For > sure, it is a property of the virtual memory manager in the linux > kernel. You can configure it in the proc filesystem: > /proc/sys/vm/overcommit_memory > This is not a kernel VM mailing list, so there are better places to > discuss this. But setting this parameter to '1' will allow > overcommitting, and that may solve Goetz's problems. But would that be > a good thing to do in the end?
Our problem was that it was turned on, allowing overcommit, so our programs happily requested RAM. At some time all RAM was used and the system tried to swap. unfortunately our system has no swap, oups... After some analysis we found that our data collecting script had an error, it added the used stack to the heap. And with over 15 threads and their stacks (each 2 MBytes) this is something that adds... (especially if the system has only 32 MB available) > In this case, the good solution is to find out why the Wt process > consumes that amount of memory (it shouldn't) and fix the problem. It primarily seem to be the threads. Reducing their number drastically reduced the needed RAM... Bye Goetz -- Goetz Babin-Ebell <[EMAIL PROTECTED]> 4G Systems GmbH & Co KG ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
