Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jul 2007 04:39:19 -0700 (PDT)
From:      Martha Pasikatan <magpasikat@yahoo.com>
To:        freebsd-net@freebsd.org
Subject:   Computer hangs after creating 30,000 one2many netgraph nodes
Message-ID:  <716032.41995.qm@web44911.mail.sp1.yahoo.com>

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



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