lkml.org 
[lkml]   [2007]   [Sep]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Out of socket memory
Ilya Eremin wrote:
> Hello,
>
> I am running a P2P related server, which has many connections to it at one time (about 100,000 at peak times). But I have been getting
> eserver invoked oom-killer: gfp_mask=0xd0, order=0, oomkilladj=0 errors followed by
> Out of socket memory
> I believe this is related to rmem, but I am not sure. Here's my current net related sysctl settings
>
> net.core.wmem_max = 8388608
> net.core.rmem_max = 8388608
> net.core.wmem_default = 104448
> net.core.rmem_default = 104448

..

>
> I am not sure if I should increase rmem further or not

Increasing that will likely make things worse, not better, as it allows
more memory to be allocated for each socket. I should think you want to
adjust those values down, not up..

--
Robert Hancock Saskatoon, SK, Canada
To email, remove "nospam" from hancockr@nospamshaw.ca
Home Page: http://www.roberthancock.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/

\
 
 \ /
  Last update: 2007-09-20 02:55    [W:0.016 / U:1.332 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site