From owner-freebsd-net@FreeBSD.ORG Fri Jul 27 11:39:20 2007 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 1B47D16A50C for ; Fri, 27 Jul 2007 11:39:20 +0000 (UTC) (envelope-from magpasikat@yahoo.com) Received: from web44911.mail.sp1.yahoo.com (web44911.mail.sp1.yahoo.com [68.180.197.137]) by mx1.freebsd.org (Postfix) with SMTP id 03DBB13C467 for ; Fri, 27 Jul 2007 11:39:19 +0000 (UTC) (envelope-from magpasikat@yahoo.com) Received: (qmail 42156 invoked by uid 60001); 27 Jul 2007 11:39:19 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=cztQTPOUll6tgqqKQhuA4MJYayVnm0H0iY74IMWk012r6emZfAr6fgBP/xelCqSj7WpK1aKgs1U9VsrSq72NQ6d/pdX0tBhhdpJ/QKwKIR5dYpVERrt/ab1dUZ3awtrfGKM7CH8lOr16GM/em4Tv28gx6cUITpJY3xdntJNGQBs=; X-YMail-OSG: .ECi1sYVM1mKCS0vDamGEIZ.zveouVZMOYeGWG4Wz2xofwX0QY8L.4oqJ_KsNNKhE4Odxi9SWMBk4ytZkNI0pt4re3aMF7uLIBE- Received: from [58.71.34.137] by web44911.mail.sp1.yahoo.com via HTTP; Fri, 27 Jul 2007 04:39:19 PDT Date: Fri, 27 Jul 2007 04:39:19 -0700 (PDT) From: Martha Pasikatan To: freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="0-1815166390-1185536359=:41995" Content-Transfer-Encoding: 8bit Message-ID: <716032.41995.qm@web44911.mail.sp1.yahoo.com> X-Mailman-Approved-At: Fri, 27 Jul 2007 12:20:08 +0000 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Computer hangs after creating 30,000 one2many netgraph nodes 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, 27 Jul 2007 11:39:20 -0000 --0-1815166390-1185536359=:41995 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi, I tried running a script that does nothing but create 50,000 netgraph nodes. After creating about 30,000 netgraph nodes, the computer crashes. I tried this with the tee node but it was able to successfully create 50,000 nodes. Can I know what the limits of each netgraph nodes are? How to identify when the limit has been reached? I'm using an application that makes use of the netgraph library and during stress testing it keeps hanging because of this. If anyone can give me a solution to prevent the system from hanging out of using too many netgraph nodes, that would be appreciated. I'm attaching the script I used for creating 50,000 netgraph nodes. Before running a script I created one one2many node named node0. Any help, ideas, corrections are appreciated. matt --------------------------------- Get the free Yahoo! toolbar and rest assured with the added security of spyware protection. --0-1815166390-1185536359=:41995 Content-Type: application/octet-stream; name="create_5000_one2many.sh" Content-Transfer-Encoding: base64 Content-Description: 2095498312-create_5000_one2many.sh Content-Disposition: attachment; filename="create_5000_one2many.sh" IyEvYmluL3NoCgppPScwJwoKd2hpbGUgWyAkaSAtbGUgNTAwMDAgXQpkbwog IGVjaG8gIm5nY3RsIG1rcGVlciBub2RlJGk6IG9uZTJtYW55IG1hbnkwIG9u ZSIKICBuZ2N0bCBta3BlZXIgbm9kZSRpOiBvbmUybWFueSBtYW55MCBvbmUK ICBpMj1gZXhwciAkaSArIDFgCiAgZWNobyAibmdjdGwgbmFtZSBub2RlJGk6 bWFueTAgbm9kZSRpMiIKICBuZ2N0bCBuYW1lIG5vZGUkaTptYW55MCBub2Rl JGkyCiAgaT1gZXhwciAkaSArIDFgCmRvbmUKCg== --0-1815166390-1185536359=:41995--