From: Robert Hancock <hancockr@shaw.ca>
To: Ilya Eremin <che_guevara_3@bk.ru>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Out of socket memory
Date: Wed, 19 Sep 2007 18:51:11 -0600 [thread overview]
Message-ID: <46F1C3FF.4030706@shaw.ca> (raw)
In-Reply-To: <fa.3CwoTTQ1S/AhXEODsNaySgEYmWc@ifi.uio.no>
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/
next parent reply other threads:[~2007-09-20 0:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <fa.3CwoTTQ1S/AhXEODsNaySgEYmWc@ifi.uio.no>
2007-09-20 0:51 ` Robert Hancock [this message]
2007-09-19 23:26 Ilya Eremin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46F1C3FF.4030706@shaw.ca \
--to=hancockr@shaw.ca \
--cc=che_guevara_3@bk.ru \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome