Date: Thu, 20 Feb 2020 11:29:59 +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-jvh2Kvi2Qx@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=3D187835 Aleksandr Fedorov <aleksandr.fedorov@itglobal.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aleksandr.fedorov@itglobal. | |com --- Comment #6 from Aleksandr Fedorov <aleksandr.fedorov@itglobal.com> --- (In reply to Vladislav V. Prodan from comment #4) > # ngctl list > ngctl: send msg: No buffer space available Socket limit exceeded here. You can increase this limit using sysctls: net.graph.recvspace=3D2048000 net.graph.maxdgram=3D2048000 But, it also can't exceed kern.ipc.maxsockbuf Quick, example: mk_ngeth.sh: #!/bin/sh for i in `jot 1000` do ngctl mkpeer . eiface test ether done # sh mk_ngeth.sh # ifconfig |grep ngeth|wc -l 1000 # sysctl net.graph.recvspace net.graph.recvspace: 20480 # sysctl net.graph.maxdgram net.graph.maxdgram: 20480 # sysctl kern.ipc.maxsockbuf kern.ipc.maxsockbuf: 2097152 # ngctl ls ngctl: send msg: No buffer space available # sysctl kern.ipc.maxsockbuf=3D32000000 kern.ipc.maxsockbuf: 2097152 -> 32000000 # sysctl net.graph.recvspace=3D24000000 net.graph.recvspace: 30000 -> 24000000 # ngctl ls | wc -l 1002 --=20 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-jvh2Kvi2Qx>