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>

index | next in thread | previous in thread | raw e-mail

Thanks Eduardo

what values do you recommend ? i have 1 gb of ram and rarely use more than 20%, as it's a tor box only.
should i add those values to ensure they enforce at boot in /etc/sysctl.conf ?


On Tuesday, June 24, 2014 7:08 PM, Eduardo Morras <emorrasg@yahoo.es> wrote:
 


On Tue, 24 Jun 2014 06:52:19 -0700
Stefan Stere <icetor.is@bitmessage.ro> wrote:

> Hi,
> 
> I have a vmware virtual server running FreeBSD 10.0 STABLE
> The virtual server has 100mbps port.
> 
> It is running a Tor router, consuming an average of 6-7 TB of monthly
> traffic. Its the only purpose of the server.
> 
> Last night it went down, and vmware console log was saying:
> [zone: Mbuf_cluster] kern.ipc.nmbclusters limit reached
> 

nmbclusters 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.


> 
> I don't know what this means - the traffic of the server is unlimited
> and nothing is capped in any way. What can I do to fix this? I have
> read on freebsd wiki that I might need to add some lines to sysctl ?
> can you please confirm? Thank you in advance.

Show us the values of:

#sysctl kern.ipc.nmbclusters
kern.ipc.nmbclusters: 25600

#sysctl kern.ipc.somaxconn
kern.ipc.somaxconn: 128

I put mine as example, but those values are for desktop use. Yours should be bigger (131072, 512, f.ex.), don't set an arbitrarly high value because increasing both values increase the memory needed by the kernel.

HTH


---   ---
Eduardo Morras <emorrasg@yahoo.es>
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org
"
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.



help

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