lkml.org 
[lkml]   [2006]   [Oct]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: to many sockets ?
Date
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-10-05 10:01    [W:1.145 / U:1.368 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site