[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200610050958.38036.dada1@cosmosbay.com>
Date: Thu, 5 Oct 2006 09:58:37 +0200
From: Eric Dumazet <dada1@...mosbay.com>
To: Markus Wenke <M.Wenke@....de>
Cc: Alan Cox <alan@...rguk.ukuu.org.uk>, linux-kernel@...r.kernel.org
Subject: Re: to many sockets ?
On Thursday 05 October 2006 09:14, Markus Wenke wrote:
> I tried the same scenario with SO_SNDBUF = SO_RCVBUF = 8k, so that the
> max memory is ca. 2G
> and the oom-killer kills my application at the same time (at 140000
> connections).
>
> I can not see in the messages that the system is out of memory,
> there is also no swap space used
>
> You can download my /var/log/messages at
> http://hemaho.mine.nu/~biber/messages
>
> May you can give me a hint which line/value in the log shows me,
> that the system is out of memory?
I think you lack of LOWMEM, since you use a 32bits kernel.
Could you post here the result of these commands when your system is using
more than 100.000 connections (and before the OOM :) )
cat /proc/meminfo
cat /proc/slabinfo
cat /proc/net/sockstat
cat /proc/net/stat/rt_cache
cat /proc/buddyinfo
grep . /proc/sys/net/ipv4/*
grep . /proc/sys/net/ipv4/route/*
Eric
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists