From owner-freebsd-net@FreeBSD.ORG Thu Jan 5 18:36:24 2012 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 385A4106567B; Thu, 5 Jan 2012 18:36:24 +0000 (UTC) (envelope-from sodynet1@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id C2F208FC23; Thu, 5 Jan 2012 18:36:23 +0000 (UTC) Received: by iadj38 with SMTP id j38so1840653iad.13 for ; Thu, 05 Jan 2012 10:36:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=eK0AglfGyey1bm9qPSUp9XzlV9MzqlEyU6YFOdYNvYM=; b=DUVuc5C/0xuqFUqNvbyVF1YkrIUsp0D5WfNt6VX9mCsDmJtz35Fxfjnd+sup06faLM VgZ/wmkM1PeQJIPimBSTg5vFBcJTtBMEqasqVu6SZCJMbBsWlhkjdcUwtNdXpf0/F9jn LxMII7sRKgXI6rCrnXtNUCWLzYJCOhGRQm+sI= MIME-Version: 1.0 Received: by 10.42.161.132 with SMTP id t4mr3116428icx.16.1325788583201; Thu, 05 Jan 2012 10:36:23 -0800 (PST) Received: by 10.231.41.206 with HTTP; Thu, 5 Jan 2012 10:36:23 -0800 (PST) In-Reply-To: <20120105150317.GA74071@rdtc.ru> References: <20111227044754.GK8035@FreeBSD.org> <20111227083503.GP8035@glebius.int.ru> <20120105095855.GI34721@glebius.int.ru> <20120105110116.GK34721@glebius.int.ru> <20120105113427.GL34721@glebius.int.ru> <20120105150317.GA74071@rdtc.ru> Date: Thu, 5 Jan 2012 20:36:23 +0200 Message-ID: From: Sami Halabi To: Eugene Grosbein Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-net@freebsd.org, Alexander Motin Subject: Re: ng_mppc_decompress: too many (4094) packets dropped, disabling node X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jan 2012 18:36:24 -0000 where i can find explanation for these sysctls, the manual has some of the sysctls but not all... are these values in bits or bytes? Sami On Thu, Jan 5, 2012 at 5:03 PM, Eugene Grosbein wrote: > On Thu, Jan 05, 2012 at 03:43:45PM +0200, Sami Halabi wrote: > > > Somthing strange, i did: > > net.graph.recvspace=8388608 > > net.graph.maxdgram=8388608 > > > > and i suddenly got disconnections and logs like: > > Jan 5 16:10:01 mpd2 mpd: L2TP: ppp_l2tp_ctrl_create: No buffer space > > available > > Jan 5 16:10:11 mpd2 mpd: PPTP: NgMkSockNode: No buffer space available > > You should bot increase these setting without increase > of kern.ipc.maxsockbuf. First greatly increase kern.ipc.maxsockbuf > (I use 80M for it) and only then increase net.graph.recvspace > and net.graph.maxdgram. > > Eugene Grosbein > -- Sami Halabi Information Systems Engineer NMS Projects Expert