From owner-freebsd-ports@FreeBSD.ORG Fri Dec 23 12:25:10 2005 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8FFDB16A41F for ; Fri, 23 Dec 2005 12:25:10 +0000 (GMT) (envelope-from infofarmer@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC83C43D5F for ; Fri, 23 Dec 2005 12:25:04 +0000 (GMT) (envelope-from infofarmer@gmail.com) Received: by zproxy.gmail.com with SMTP id 8so622582nzo for ; Fri, 23 Dec 2005 04:25:04 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=DiYbLdniWB0BDAgYvEQiNR/40UsTVJ1iFsvIgnbluStx2//4l+BIZiV5rx4RFD7OVL/TlXhOSK06o5+fyDq7EAps5NmW52hw0DahOtyjhloJ6dUaE2Wpv6fkwxH9IBlXSWOHHBWqfhaAB6NB6iATLbakBGXasrr1wqTNvjJI1Gc= Received: by 10.36.250.48 with SMTP id x48mr2083nzh; Fri, 23 Dec 2005 04:25:03 -0800 (PST) Received: by 10.37.20.33 with HTTP; Fri, 23 Dec 2005 04:25:03 -0800 (PST) Message-ID: Date: Fri, 23 Dec 2005 15:25:03 +0300 From: "Andrew P." To: mpd-users@lists.sourceforge.net, FreeBSD Ports MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Cc: Subject: Tuning kernel for mpd X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2005 12:25:10 -0000 I've googled for a few days - and I couldn't get any clear info on the subj. I've never had to recompile or tune kernel before, when I only had to deal with 20- 30 PPPoE clients. Now I need to implement a solution that will support up to 3000 PPPoE/PPTP clients in the long run, and I've already got problems when trying to create only 200 ng interfaces. I'm running latest mpd4 from ports on FreeBSD 6.0 i386 box. Whenever I try to create more than 200 bundles I get this: Dec 16 16:06:00 gw mpd: [Bhq] ppp node is "mpd99407-Bhq" Dec 16 16:06:00 gw mpd: [Bhq] using interface ng199 Dec 16 16:06:00 gw mpd: [Bhr] ppp node is "mpd99407-Bhr" Dec 16 16:06:00 gw mpd: [Bhr] using interface ng200 Dec 16 16:06:00 gw mpd: [Bhs] ppp node is "mpd99407-Bhs" Dec 16 16:06:00 gw mpd: mpd: pipe: Too many open files in system Dec 16 16:06:00 gw mpd: mpd: fatal error, exiting I also sometimes get this under different circumstances: Dec 13 17:27:04 gw mpd: [bptp1] created 128 interfaces, that's too many! Dec 13 17:27:04 gw mpd: [bptp1] can't create interface "ng301" Dec 13 17:27:04 gw mpd: [bptp1] netgraph initialization failed There are different sysctl tunables in examples scattered all around mpd-users mailing list - but there's no description whatsoever. Can someone share his experience on this? Thanks, Andrew P.