Re: Memory Problem

From: Dave Hansen (haveblue@us.ibm.com)
Date: Mon Oct 07 2002 - 10:52:27 EST


Rik van Riel wrote:
> On Mon, 7 Oct 2002, Philipp Steinkrueger wrote:
>
>
>>The Problem appears with the mysql database server. here is the error
>>message:
>>
>>Can't create a new thread (errno 11). If you are not out of available
>>memory, you can consult the manual for a possible OS-dependent bug
>
>
>>2) what else does the kernel do when a programm spawns a new thread ? if
>>memory is not the problem, what else could go wrong when creating a
>>thread ?
>
> 2) memory fragmentation, there is no area of 2 contiguous free pages

If you're running current 2.5, you can check /proc/buddyinfo to detect
fragmentation. If there are any non-zero numbers in columns after the
first one in ZONE_NORMAL or ZONE_DMA, you should be all right

-- 
Dave Hansen
haveblue@us.ibm.com

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Oct 07 2002 - 22:00:59 EST