Computer hangs after creating 30,000 one2many netgraph nodes

Martha Pasikatan magpasikat at yahoo.com
Fri Jul 27 11:39:20 UTC 2007


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. 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: create_5000_one2many.sh
Type: application/octet-stream
Size: 253 bytes
Desc: 2095498312-create_5000_one2many.sh
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20070727/3d3f01f7/create_5000_one2many.obj


More information about the freebsd-net mailing list