Revise default limit for maximum of netgraph data items.

With modern internet speeds the limit can be reached even
on a single L2TP link.
This commit is contained in:
Gleb Smirnoff 2015-02-12 22:20:34 +00:00
parent 18f4d1079e
commit 8d8e595eb0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=278640

View File

@ -2952,7 +2952,7 @@ uma_zone_t ng_qzone;
uma_zone_t ng_qdzone;
static int numthreads = 0; /* number of queue threads */
static int maxalloc = 4096;/* limit the damage of a leak */
static int maxdata = 512; /* limit the damage of a DoS */
static int maxdata = 4096; /* limit the damage of a DoS */
SYSCTL_INT(_net_graph, OID_AUTO, threads, CTLFLAG_RDTUN, &numthreads,
0, "Number of queue processing threads");