From owner-freebsd-net@FreeBSD.ORG Sun Jul 3 20:04:19 2011 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 741CF1065672 for ; Sun, 3 Jul 2011 20:04:19 +0000 (UTC) (envelope-from jamesbrandongooch@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 0E3C88FC0A for ; Sun, 3 Jul 2011 20:04:18 +0000 (UTC) Received: by wyg24 with SMTP id 24so4248069wyg.13 for ; Sun, 03 Jul 2011 13:04:17 -0700 (PDT) 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:content-transfer-encoding; bh=Ln/EDW9gGvYWuba1kUjIyPulNvIouVF8hWEx+DmbdXM=; b=hEIX9AXZXcT8GQeEkcC6W7JnDKM36UITmOxVWh71B2MWmh8OKO30uOxjg4AlGrYd7L MDU1vT6mQi/7NKwff2hjvBqFSd2uNGix3ePuk01HJTFVa/hlIt1JztIbmkj2MLLi7zZS htCR+QC7jGlctM45fpB52HVoeBMHfATk6ei+0= MIME-Version: 1.0 Received: by 10.216.55.196 with SMTP id k46mr2873597wec.91.1309722013795; Sun, 03 Jul 2011 12:40:13 -0700 (PDT) Received: by 10.216.237.210 with HTTP; Sun, 3 Jul 2011 12:40:13 -0700 (PDT) In-Reply-To: References: Date: Sun, 3 Jul 2011 14:40:13 -0500 Message-ID: From: Brandon Gooch To: Adrian Minta Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-net@freebsd.org Subject: Re: FreeBSD 8.2 and MPD5 stability issues - update 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: Sun, 03 Jul 2011 20:04:19 -0000 On Sun, Jul 3, 2011 at 2:15 PM, Adrian Minta wrote: > After looking in the mpd log file I found out that this message appear > when calls are dropped: > Jul =A03 21:21:21 lns mpd: Daemon overloaded, ignoring request. > Jul =A03 21:21:22 lns mpd: Daemon overloaded, ignoring request. > Jul =A03 21:21:23 lns mpd: Daemon overloaded, ignoring request. > Jul =A03 21:21:23 lns mpd: Daemon overloaded, ignoring request. > Jul =A03 21:21:24 lns mpd: Daemon overloaded, ignoring request. > Jul =A03 21:21:24 lns mpd: Daemon overloaded, ignoring request. > > Does anybody knows where this limit is set in mpd5 ? > > -- > Best regards, > Adrian Minta =A0 =A0MA3173-RIPE So it seems that the concept of overloading is set and controlled by a couple of macros, SETOVERLOAD and OVERLOAD defined in the mpd5 ppp.h source file. Read through the source and see if you can determine where you're hitting the error message and work back from there: brandon@m6500:/usr/ports/net/mpd5/work/mpd-5.5/src$ grep "Daemon overloaded= " * l2tp.c: Log(LG_PHYS, ("Daemon overloaded, ignoring request.")); pppoe.c: Log(LG_PHYS, ("Daemon overloaded, ignoring request.= ")); pptp.c: Log(LG_PHYS, ("Daemon overloaded, ignoring request.")); tcp.c: Log(LG_PHYS, ("Daemon overloaded, ignoring request.")); udp.c: Log(LG_PHYS, ("Daemon overloaded, ignoring request.")); You may have to mess around with setting values defined in the source, for example in the mpd5 source file msg.c, there is defined: #define MSG_QUEUE_LEN 8192 ...of course you should understand where and how this is applied before setting it to some arbitrary number -- it may not even be the correct value to change. That's not much help, but maybe it will point you in the direction... -Brandon