@Martin: Would be helpful for my case, especially that I don't have to use an extra program (Rumpctrl)
I tried to change the number of available # of File Descriptors with sysctl without any luck. It seems that i have to adjust them with ulimit (which has to be pulled from the NetBSD sources) or is there another workaround ? Here as reference for anyone interested / searching the mailing list how to adjust # of available ports and how long connections are kept alive: sysctl -w net.inet.ip.anonportmin=1024 sysctl -w net.inet.ip.anonportmax=65535 sysctl -w net.inet.tcp.keepinit=10 sysctl -w net.inet.tcp.keepintvl=10 Explanation for network config options: http://netbsd.gw.com/cgi-bin/man-cgi?tcp+4+NetBSD-6.0 2016-01-25 14:43 GMT+01:00 Martin Lucina <[email protected]>: > On Monday, 25.01.2016 at 10:57, Antti Kantee wrote: > > On 25/01/16 10:49, Vincent Schwarzer wrote: > > >Hey, > > > > > >is it possible and what do I have to look for / search to tweak the > network > > >config in Rumprun?Especially things like: > > > > > > > > > - # of file descriptors (MAXFILES in Freebsd) > > > - # of Available ports (e.g. net.ipv4.ip_local_port_range in Linux / > > > portrange in FreeBSD) > > > - TCP Timeout (tcp_fin_timeout in Linux / tcp.msl in FreeBSD) > > > - Reuse TIME_WAIT sockets (tcp_tw_reuse in Linux) > > > > > >I searched in the Rumprun sources and didn't find anything similar. > > >Any hints where I have to look / what to look for are highly > appreciated. > > >:) > > > > Currently you'll have to use sysctl from rumpctrl. See the "getting > > started" tutorial for info. I can't remember where the Rumprun side of > > rumpctrl is documented, but at least in the list archives if nowhere > else, > > see "rumprun sysproxy off by default (finally)". > > > > Probably not hard to add it to be a part of config so that you don't need > > external programs. > > Perhaps I should extend the config spec with a generic mapping to sysctl? > >
