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 [EMAIL PROTECTED]
Home Page: http://www.roberthancock.com/

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

Reply via email to