From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754052AbWKGFxd (ORCPT ); Tue, 7 Nov 2006 00:53:33 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754050AbWKGFxd (ORCPT ); Tue, 7 Nov 2006 00:53:33 -0500 Received: from sp604005mt.neufgp.fr ([84.96.92.11]:4844 "EHLO smtp.Neuf.fr") by vger.kernel.org with ESMTP id S1754049AbWKGFxc (ORCPT ); Tue, 7 Nov 2006 00:53:32 -0500 Date: Tue, 07 Nov 2006 06:53:36 +0100 From: Eric Dumazet Subject: Re: ZONE_NORMAL memory exhausted by 4000 TCP sockets In-reply-to: To: Zhao Xiaoming Cc: linux-kernel@vger.kernel.org, Linux Netdev List Message-id: <45501F60.4070606@cosmosbay.com> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 8BIT References: <200611061022.57840.dada1@cosmosbay.com> <200611061433.50912.dada1@cosmosbay.com> User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Zhao Xiaoming a écrit : > On 11/6/06, Eric Dumazet wrote: >> In fact, your kernel has CONFIG_4KSTACKS, kernel thread stacks use 4K >> instead >> of 8K. >> >> If you want to increase LOWMEM, (and keep 32bits kernel), you can chose a >> 2G/2G user/kernel split, instead of the 3G/1G default split. >> (see config : CONFIG_VMSPLIT_2G) >> >> Eric > Thank you for your advice. I know increase LOMEM could be help, but > now my concern is why I lose my 500M bytes memory after excluding all > known memory cost. Unfortunatly you dont provide very much details. AFAIK you didnt even gave whcih version of linux you run, which programs you run... You keep answering where you 'lost' your mem, it's quite buging. Maybe some Oracles on this list will see the light for you, before exchanging 100 mails with you ?