From owner-freebsd-questions@FreeBSD.ORG Wed Jun 25 11:40:43 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0DB64107 for ; Wed, 25 Jun 2014 11:40:43 +0000 (UTC) Received: from nm32.bullet.mail.ne1.yahoo.com (nm32.bullet.mail.ne1.yahoo.com [98.138.229.25]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BF0892C1F for ; Wed, 25 Jun 2014 11:40:42 +0000 (UTC) Received: from [127.0.0.1] by nm32.bullet.mail.ne1.yahoo.com with NNFMP; 25 Jun 2014 11:40:36 -0000 Received: from [98.138.100.118] by nm32.bullet.mail.ne1.yahoo.com with NNFMP; 25 Jun 2014 11:37:37 -0000 Received: from [98.139.215.142] by tm109.bullet.mail.ne1.yahoo.com with NNFMP; 25 Jun 2014 11:37:37 -0000 Received: from [98.139.212.235] by tm13.bullet.mail.bf1.yahoo.com with NNFMP; 25 Jun 2014 11:37:37 -0000 Received: from [127.0.0.1] by omp1044.mail.bf1.yahoo.com with NNFMP; 25 Jun 2014 11:37:37 -0000 X-Yahoo-Newman-Property: ymail-4 X-Yahoo-Newman-Id: 387007.15130.bm@omp1044.mail.bf1.yahoo.com Received: (qmail 16695 invoked by uid 60001); 25 Jun 2014 11:37:37 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1403696257; bh=3/Bdt3+VYuhzxM7bUW5nMhzxuHIHnXCGsHg2qKWhcyk=; h=References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=voVZQ03ULuESaalQgeO6tCIfPJwphOVV5Wieqe2cRJSbmdGCImPRlQ+T7NO4YJt7PyhOYBykp+7KOcO/nL+sG2uvQF1W9+ilFDmjapKxCTmoWK03uJrr4VoPsrS8F40q68VBDyFV2OJBLvSRKl3/522wxOGrBmkStDn36ebo4aQ= X-YMail-OSG: 7Fw4hb4VM1lrMBojNzNICdxvguDvcbhZvlafEdX_vcTzYUo apeVlDTYINSrNwgxHzfg7JqfrmlwK1sposoT52fAy9LAxZJg.Bwn8X8CPE84 DSLSCfRyiECHbsNNa9iy9M3U3FGfyhn1jYqUATKN2JbGeBqAKc_XOQk7Bb0r kwio3uGtHK7B55lXRnhWydwTaRoZcmdjawpOioPZ9KlffR3LDT_Vx2OGD9b9 tJzyxWWPjC7MEdiDBSQGWGZcltULWTtcvKoudS0F3pwIQQIEbYCd0gnDw0Xd MR.Ea4yvczEQC3qYVzHEMc1MAgxZqSbB0..TyE3ShSR8rberRKIxugT5z0YX FmssIV859c88v9iL_MlmZxfWZDCnDt3VLCuUy6g0RKkBa0J.Q2H5E0ualcc. YBK2LDWV_qwUE4AVDljGRD1spNJryrrsMjKhiwELoo9X.SBV7oW2s5h26V8A xI0TStRbgILYQKMbZDTk2dNkr3VfQz.E2JKGWMKe0A0RYcXfxup70wdzsVJ_ fOHveaHdJifByIV3P5eNACI.ZgIq0kSQ- Received: from [89.122.203.240] by web162502.mail.bf1.yahoo.com via HTTP; Wed, 25 Jun 2014 04:37:37 PDT X-Rocket-MIMEInfo: 002.001, VGhhbmtzIEVkdWFyZG8KCndoYXQgdmFsdWVzIGRvIHlvdSByZWNvbW1lbmQgPyBpIGhhdmUgMSBnYiBvZiByYW0gYW5kIHJhcmVseSB1c2UgbW9yZSB0aGFuIDIwJSwgYXMgaXQncyBhIHRvciBib3ggb25seS4Kc2hvdWxkIGkgYWRkIHRob3NlIHZhbHVlcyB0byBlbnN1cmUgdGhleSBlbmZvcmNlIGF0IGJvb3QgaW4gL2V0Yy9zeXNjdGwuY29uZiA_CgoKT24gVHVlc2RheSwgSnVuZSAyNCwgMjAxNCA3OjA4IFBNLCBFZHVhcmRvIE1vcnJhcyA8ZW1vcnJhc2dAeWFob28uZXM.IHdyb3RlOgogCgoKT24gVHVlLCABMAEBAQE- X-RocketYMMF: stere01 X-Mailer: YahooMailWebService/0.8.191.1 References: <1403617939.95369.YahooMailNeo@web162504.mail.bf1.yahoo.com> <20140624180757.0f9f0310af1a201a6cf403c0@yahoo.es> Message-ID: <1403696257.14362.YahooMailNeo@web162502.mail.bf1.yahoo.com> Date: Wed, 25 Jun 2014 04:37:37 -0700 From: Stefan Stere Reply-To: : ; Subject: Re: kern.ipc.nmbclusters limit reached makes a server go down, please help To: Eduardo Morras , "freebsd-questions@freebsd.org" In-Reply-To: <20140624180757.0f9f0310af1a201a6cf403c0@yahoo.es> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jun 2014 11:40:43 -0000 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 wrote:=0A =0A=0A= =0AOn Tue, 24 Jun 2014 06:52:19 -0700=0AStefan Stere 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 =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: 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 ; 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 ; Wed, 25 Jun 2014 12:24:21 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) 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 ; 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 ; Wed, 25 Jun 2014 14:24:17 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Jonesy Subject: Re: server funding Date: Wed, 25 Jun 2014 12:24:05 +0000 (UTC) Lines: 5 Message-ID: References: <53A994C7.7080308@tysdomain.com> <20140625073142.GA60979@admin.sibptus.tomsk.ru> <53AA7D95.7050707@arnold.se> 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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.