On Sat, Dec 4, 2010 at 3:48 PM, Eric Wong <[email protected]> wrote: > [email protected] wrote: >> On Fri, Dec 3, 2010 at 1:49 PM, Eric Wong <[email protected]> wrote: >> > [email protected] wrote: >> >> Using "modprobe inet_diag" made the script spit out a new error: >> >> >> >> address active queued >> >> linux-tcp-listener-stats.rb:42:in `tcp_listener_stats': NLMSG_ERROR >> >> (RuntimeError) >> >> from linux-tcp-listener-stats.rb:42 >> > >> > I don't think I've ever seen NLMSG_ERROR before. Are you running >> > this as the same user that originally bound the listener (the user >> > of the Unicorn master process)? >> >> Yes. I also tried as root, same error. >> >> >> $ sudo modprobe -l inet_diag >> >> /lib/modules/2.6.21.7-2.fc8xen/kernel/net/ipv4/inet_diag.ko >> >> >> >> I dug in to raindrops a little bit, and it seems the error associated >> >> with the NLMSG_ERROR is -2, >> >> "No such file or directory". >> > >> > Are you bound to 0.0.0.0:9000 and not 127.0.0.1:9000? Use >> > 0.0.0.0:9000 if you're bound to that (I had another user on the >> > raindrops mailing list with that problem). >> >> My unicorn.rb says 127.0.0.1. But just to test I tried fetching stats >> for 0.0.0.0:9000 but got the same error. > > Ah, can you try "modprobe tcp_diag", too? I can't remember what other > quirks there were for ancient kernels. Hopefully that works, because > I'd be at a loss otherwise :x
Ah! That worked. Thanks! -Greg _______________________________________________ Unicorn mailing list - [email protected] http://rubyforge.org/mailman/listinfo/mongrel-unicorn Do not quote signatures (like this one) or top post when replying
