[Web10g-user] web10g 2.0.9 and kernel 3.17.4 does not work for me

Sebastian Zander szander at swin.edu.au
Thu Nov 27 23:20:10 EST 2014


Problem solved. I missed the fact that there is now 
/proc/sys/net/ipv4/tcp_estats and ESTATS is turned off by default.

I would suggest to mention this in the README, as coming from version 
0.7 this was unexpected and I had to look through the code to find it.

Cheers,

Sebastian

On 27/11/2014 6:08 PM, Sebastian Zander wrote:
> Hi Chris,
>
> I tried the latest web10g version with kernel 3.17.4 and my problem is I
> seem to be unable to get any TCP statistics. I never see any TCP
> connections even if there are established connections.
>
> I downloaded kernel 3.17.4 from kernel.org and applied the web10g kernel
> patch (did apply cleanly). I then enabled estats in the kernel config,
> checked the timestamp option and set the estats_nl to build as module.
>
> The module build didn't actually work, because some symbols are not
> exported. I modified tcp_input.c to export sysctl_tcp_timestamps and
> sysctl_tcp_sack:
>
> int sysctl_tcp_timestamps __read_mostly = 1;
> EXPORT_SYMBOL(sysctl_tcp_timestamps);
> int sysctl_tcp_window_scaling __read_mostly = 1;
> int sysctl_tcp_sack __read_mostly = 1;
> EXPORT_SYMBOL(sysctl_tcp_sack);
>
> Then the kernel+modules built without problems. The userland code also
> built without problems.
>
> The new kernel runs fine and I can load the module, e.g. lsmod shows:
>   > lsmod | grep stats
>
> tcp_estats_nl          22713  0
> tcp_estats_mib_var     18516  1 tcp_estats_nl
>
> And kernel log shows:
> 2014-11-27T17:41:18.164573+11:00 newtcp33 kernel: [   33.073585]
> tcp_estats netlink module initialized.
>
> The problem is I never see any connections with web10g-listconns etc.
> Instead of building the web10g module I also compiled it into the main
> kernel but still the same issue.
>
> Am I missing something or does web10g have an issue with this kernel
> version? Any help would be greatly appreciated.
>
> Cheers,
>
> Sebastian
>


-- 
Sebastian Zander
http://caia.swin.edu.au/cv/szander/


More information about the Web10g-user mailing list