From owner-freebsd-net@FreeBSD.ORG Fri Jan 20 18:57:32 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 58E0016A41F for ; Fri, 20 Jan 2006 18:57:32 +0000 (GMT) (envelope-from jhall@vandaliamo.net) Received: from trueband.net (director.trueband.net [216.163.120.8]) by mx1.FreeBSD.org (Postfix) with SMTP id 01C3D43D45 for ; Fri, 20 Jan 2006 18:57:30 +0000 (GMT) (envelope-from jhall@vandaliamo.net) Received: (qmail 15497 invoked by uid 1006); 20 Jan 2006 18:57:30 -0000 Received: from jhall@vandaliamo.net by rs0 by uid 1003 with qmail-scanner-1.16 (spamassassin: 2.64. Clear:SA:0(-0.8/100.0):. Processed in 5.477012 secs); 20 Jan 2006 18:57:30 -0000 X-Spam-Status: No, hits=-0.8 required=100.0 X-Spam-Level: Received: from unknown (HELO trueband.net) (172.16.0.11) by -v with SMTP; 20 Jan 2006 18:57:24 -0000 Received: (qmail 1456 invoked from network); 20 Jan 2006 18:57:23 -0000 Received: from unknown (HELO admintool.trueband.net) (127.0.0.1) by -v with SMTP; 20 Jan 2006 18:57:23 -0000 Received: from 199.223.158.225 (SquirrelMail authenticated user jhall@vandaliamo.net) by admintool.trueband.net with HTTP; Fri, 20 Jan 2006 18:57:23 -0000 (GMT) Message-ID: <1406.199.223.158.225.1137783443.squirrel@admintool.trueband.net> In-Reply-To: <20060120150415.GU83922@FreeBSD.org> References: <1302.199.223.158.225.1137685960.squirrel@admintool.trueband.net> <20060120150415.GU83922@FreeBSD.org> Date: Fri, 20 Jan 2006 18:57:23 -0000 (GMT) From: jhall@vandaliamo.net To: "Gleb Smirnoff" User-Agent: SquirrelMail/1.4.4 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-net@freebsd.org, jhall@vandaliamo.net Subject: Re: mpd 3.18 and FreeBSD 6.0 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: Fri, 20 Jan 2006 18:57:32 -0000 > On Thu, Jan 19, 2006 at 03:52:40PM -0000, jhall@vandaliamo.net wrote: > j> Recently, I tried to upgrade my firewall from FreeBSD 4.8 to 6.0 and > from > j> mpd 3.17 to mpd 3.18. > j> > j> Initially, everything works. However, after a few hours (4 to 5) users > j> start complaining about slow connection speeds, and eventually they are > j> not able to connect to the Exchange server, or network drives shared > over > j> the WAN at all. If I put the FreeBSD 4.8 server and mpd 3.17 back on > j> line, everything will start working properly almost immediately. To > me, > j> it sounds like a memory leak, or the operating system is running out of > j> stack space. > j> > j> My network is configured in a star configuration. 5 offices connect to > j> the corporate network using an mpd to mpd configuration. The corporate > j> office has a dedicated T-1 and the other offices all have DSL > connections. > j> > j> Nothing out of the ordinary is showing up in the mpd logs. And, > nothing > j> out of the ordinary is showing up in the syslog. > j> > j> In my mpd.conf file, I have 34 pptp connections defined, and at most 10 > j> are in use at one time. The server is a Celeron processor with 128 MB > of > j> RAM. And, during peak usage times, I am showing approximately 1% usage > on > j> the processor. > j> > j> If needed, I would be happy to post my configuration files and log > files. > j> I have checked the log files around the times users report problems, > and > j> do not see anything out of the ordinary (no dropped connections, new > j> connections, missed replies, etc). And, checking the T-1 usage at the > j> time, approximately 500K of a full T-1 was in use. > j> > j> Any suggestions would be greatly appreciated. > > I guess you are using PPTP, although this word is absent in your mail. mpd > can support different protocols, so reporting what you are actually using > is important. > > The PPTP protocol has a terrible idea - windowing, that degradates tunnel > performance a lot. In FreeBSD 4.8-RELEASE ng_pptpgre(4) didn't support > windowing at all. In modern FreeBSD ng_pptpgre(4) supports windowing. In > mpd windowing is turned on by default. This is done because some modern > MS Windows versions will refuse to connect if windowing is disabled. I > think, that if you disable windowing in mpd config, your performance will > come back. > > -- > Totus tuus, Glebius. > GLEBIUS-RIPN GLEB-RIPE > Yes, you are correct, I am using PPTP and I should have specified that in my initial e-mail. Since I am using FreeBSD with mpd at both ends of the link is preferred to disable windowing on the client side, or the server side? If possible, I would prefer to disable it on the client side since I have several Windows users who also connect to this server. Thanks for all your help. Jay