Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Feb 2020 21:16:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 187835] ngctl(8) strange behavior when adding more than 530 vlan through nethraph
Message-ID:  <bug-187835-7501-2L0rTCI7Tp@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-187835-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-187835-7501@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=187835

--- Comment #4 from Vladislav V. Prodan <admin@support.od.ua> ---
In FreeBSD 12.1, after adding 300 vlans, the memory runs out to display the
`ngctl list`.

# ngctl list
ngctl: send msg: No buffer space available

# netstat -m
4220/1100/5320 mbufs in use (current/cache/total)
4103/504/4607/62482 mbuf clusters in use (current/cache/total/max)
10/496 mbuf+clusters out of packet secondary zone in use (current/cache)
0/0/0/62482 4k (page size) jumbo clusters in use (current/cache/total/max)
0/0/0/18513 9k jumbo clusters in use (current/cache/total/max)
0/0/0/10413 16k jumbo clusters in use (current/cache/total/max)
18522K/2566K/21088K bytes allocated to network (current/cache/total)
0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters)
0/0/0 requests for mbufs delayed (mbufs/clusters/mbuf+clusters)
0/0/0 requests for jumbo clusters delayed (4k/9k/16k)
0/0/0 requests for jumbo clusters denied (4k/9k/16k)
0 sendfile syscalls
0 sendfile syscalls completed without I/O request
0 requests for I/O initiated by sendfile
0 pages read by sendfile as part of a request
0 pages were valid at time of a sendfile request
0 pages were valid and substituted to bogus page
0 pages were requested for read ahead by applications
0 pages were read ahead by sendfile
0 times sendfile encountered an already busy page
0 requests for sfbufs denied
0 requests for sfbufs delayed

# sysctl net.graph.recvspace net.graph.maxdgram kern.ipc.nmbclusters
net.graph.recvspace: 20480
net.graph.maxdgram: 20480
kern.ipc.nmbclusters: 62482

# ngctl msg em2:lower gettable
...
 { hook="vlan386" vlan=386 vid=386 } { hook="vlan387" vlan=387 vid=387 } {
hook="vlan388" vlan=388 vid=388 } { hook="vlan389" vlan=389 vid=389 } {
hook="vlan390" vlan=390 vid=390 } { hook="vlan391" vlan=391 vid=391 } {
hook="vlan392" vlan=392 vid=392 } { hook="vlan393" vlan=393 vid=393 } {
hook="vlan394" vlan=394 vid=394 } { hook="vlan395" vlan=395 vid=395 } {
hook="vlan396" vlan=396 vid=396 } { hook="vlan397" vlan=397 vid=397 } {
hook="vlan398" vlan=398 vid=398 } { hook="vlan399" vlan=399 vid=399 } ] }

-- 
You are receiving this mail because:
You are the assignee for the bug.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-187835-7501-2L0rTCI7Tp>