Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Jan 2012 22:03:17 +0700
From:      Eugene Grosbein <eugen@grosbein.net>
To:        Sami Halabi <sodynet1@gmail.com>
Cc:        freebsd-net@freebsd.org, Alexander Motin <mav@freebsd.org>
Subject:   Re: ng_mppc_decompress: too many (4094) packets dropped, disabling node
Message-ID:  <20120105150317.GA74071@rdtc.ru>
In-Reply-To: <CAEW%2BogaXqHss41LCMCp5nXz3rBTpw4mEijy6h_XSgyCwcSBNUQ@mail.gmail.com>
References:  <20111227044754.GK8035@FreeBSD.org> <CAEW%2BogY_iHUb=n=G45d5U_r5XfD39YDwgNkowu1QN%2BeWL5K5Fw@mail.gmail.com> <20111227083503.GP8035@glebius.int.ru> <CAEW%2BogYHtvPFqMAM17_fHWzvKAiSqEOyQ3dtQRwmD6DJSHsrEA@mail.gmail.com> <20120105095855.GI34721@glebius.int.ru> <CAEW%2BogYLToV4dtW=Y-yQvY1C_YdbqQfEnr87F8dt%2BF57FxZgkw@mail.gmail.com> <20120105110116.GK34721@glebius.int.ru> <CAEW%2BogYQXRbWCwx41rwUMSoh5hDM6eAZcG=-BjzqZj6rBzWGRg@mail.gmail.com> <20120105113427.GL34721@glebius.int.ru> <CAEW%2BogaXqHss41LCMCp5nXz3rBTpw4mEijy6h_XSgyCwcSBNUQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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