Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jun 2014 04:37:37 -0700
From:      Stefan Stere <icetor.is@bitmessage.ro>
To:        Eduardo Morras <emorrasg@yahoo.es>, "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: kern.ipc.nmbclusters limit reached makes a server go down, please help
Message-ID:  <1403696257.14362.YahooMailNeo@web162502.mail.bf1.yahoo.com>
In-Reply-To: <20140624180757.0f9f0310af1a201a6cf403c0@yahoo.es>
References:  <1403617939.95369.YahooMailNeo@web162504.mail.bf1.yahoo.com> <20140624180757.0f9f0310af1a201a6cf403c0@yahoo.es>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks Eduardo=0A=0Awhat values do you recommend ? i have 1 gb of ram and r=
arely use more than 20%, as it's a tor box only.=0Ashould i add those value=
s to ensure they enforce at boot in /etc/sysctl.conf ?=0A=0A=0AOn Tuesday, =
June 24, 2014 7:08 PM, Eduardo Morras <emorrasg@yahoo.es> wrote:=0A =0A=0A=
=0AOn Tue, 24 Jun 2014 06:52:19 -0700=0AStefan Stere <icetor.is@bitmessage.=
ro> wrote:=0A=0A> Hi,=0A> =0A> I have a vmware virtual server running FreeB=
SD 10.0 STABLE=0A> The virtual server has 100mbps port.=0A> =0A> It is runn=
ing a Tor router, consuming an average of 6-7 TB of monthly=0A> traffic. It=
s the only purpose of the server.=0A> =0A> Last night it went down, and vmw=
are console log was saying:=0A> [zone: Mbuf_cluster] kern.ipc.nmbclusters l=
imit reached=0A> =0A=0Anmbclusters shows/sets the number of network buffers=
 the system has. Each connection needs one buffer, if you get a connection =
peak, it can be exhasuted.=0A=0A=0A> =0A> I don't know what this means - th=
e traffic of the server is unlimited=0A> and nothing is capped in any way. =
What can I do to fix this? I have=0A> read on freebsd wiki that I might nee=
d to add some lines to sysctl ?=0A> can you please confirm? Thank you in ad=
vance.=0A=0AShow us the values of:=0A=0A#sysctl kern.ipc.nmbclusters=0Akern=
.ipc.nmbclusters: 25600=0A=0A#sysctl kern.ipc.somaxconn=0Akern.ipc.somaxcon=
n: 128=0A=0AI put mine as example, but those values are for desktop use. Yo=
urs should be bigger (131072, 512, f.ex.), don't set an arbitrarly high val=
ue because increasing both values increase the memory needed by the kernel.=
=0A=0AHTH=0A=0A=0A---=A0  ---=0AEduardo Morras <emorrasg@yahoo.es>=0A______=
_________________________________________=0Afreebsd-questions@freebsd.org m=
ailing list=0Ahttp://lists.freebsd.org/mailman/listinfo/freebsd-questions=
=0ATo unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.=
org=0A"
From owner-freebsd-questions@FreeBSD.ORG  Wed Jun 25 12:24:22 2014
Return-Path: <owner-freebsd-questions@FreeBSD.ORG>
Delivered-To: freebsd-questions@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id EE762B73
 for <freebsd-questions@freebsd.org>; Wed, 25 Jun 2014 12:24:22 +0000 (UTC)
Received: from plane.gmane.org (plane.gmane.org [80.91.229.3])
 (using TLSv1 with cipher AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id AAFC52174
 for <freebsd-questions@freebsd.org>; Wed, 25 Jun 2014 12:24:21 +0000 (UTC)
Received: from list by plane.gmane.org with local (Exim 4.69)
 (envelope-from <freebsd-questions@m.gmane.org>) id 1WzmFN-0006eJ-S3
 for freebsd-questions@freebsd.org; Wed, 25 Jun 2014 14:24:18 +0200
Received: from vps.jonz.net ([216.17.42.59])
 by main.gmane.org with esmtp (Gmexim 0.1 (Debian))
 id 1AlnuQ-0007hv-00
 for <freebsd-questions@freebsd.org>; Wed, 25 Jun 2014 14:24:17 +0200
Received: from SPAM_TRAP_gmane by vps.jonz.net with local (Gmexim 0.1 (Debian))
 id 1AlnuQ-0007hv-00
 for <freebsd-questions@freebsd.org>; Wed, 25 Jun 2014 14:24:17 +0200
X-Injected-Via-Gmane: http://gmane.org/
To: freebsd-questions@freebsd.org
From: Jonesy <SPAM_TRAP_gmane@jonz.net>
Subject: Re: server funding
Date: Wed, 25 Jun 2014 12:24:05 +0000 (UTC)
Lines: 5
Message-ID: <slrnlqlfrg.2lc7.SPAM_TRAP_gmane@vps.jonz.net>
References: <53A994C7.7080308@tysdomain.com>
 <20140625073142.GA60979@admin.sibptus.tomsk.ru>
 <53AA7D95.7050707@arnold.se> <loe0vu$54a$1@ger.gmane.org>
X-Complaints-To: usenet@ger.gmane.org
X-Gmane-NNTP-Posting-Host: vps.jonz.net
User-Agent: slrn/1.0.1 (FreeBSD)
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/>;
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 25 Jun 2014 12:24:23 -0000

On Wed, 25 Jun 2014 04:24:29 -0400, Michael Powell wrote:
> 
> Poorly written javascript in other words.

 *That* is doubly redundant.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1403696257.14362.YahooMailNeo>