On 07/03/15 22:57, Aaron B. wrote:
Hello all: I hope this the right list.
Yes, it is. If there is something else than politeness that lead you to suspect this isn't, please let me know if I can adjust some wordings somewhere.
I'm trying to run an unmodified nginx
binary under a rump kernel, using librumphijack, 'socket=all'. 2015/03/07 22:41:24 [alert] 2063#0: kevent() failed (86: Not supported) This is on stock NetBSD 6.1.5 using the as-provided rump_server binary, with this as my startup line: rump_server -v -s -lrumpnet -lrumpnet_net -lrumpnet_netinet -lrumpnet_virtif -lrumpdev_bpf -lrumpfs_kernfs -lrumpvfs tcp://127.0.0.1:2500 Am I missing an -l option, or is this simply not implemented right now?
the latter. After spending quite a bit of effort on select/poll in hijack.c, and since kqueue was seemingly even more difficult, I took the "wait until someone complains" approach. IIRC you're the first to complain in 4 years, so that approach paid off.
Is there any reason you want to hijack nginx itself (slow)? If your goal is using nginx at decent speeds against a userlevel tcp/ip stack, you are probably happier with the "rumprun" approach, i.e. building everything into one bundle. ISTR that Mato already built nginx as a rumprun stack on Xen, so technically it should be possible, but I'm not 100% up to speed on the location for the tools required. But we can figure it out, if that's what you're after (mmmm, free guinea pigs).
