User sees below warnings:
[warn 2026/03/03 01:59:24.237 <timezone> <StatSampler> tid=##] File not found or not readable: /proc/net/snmp6
Any GemFire runs on Linux system with statistics enabled.
In VMware/Broadcom Tanzu GemFire 10.2, GemFire underwent an important under-the-hood modernization: the OSHI (Operating System and Hardware Information) open-source library officially replaced the legacy internal classes LinuxSystemStats and LinuxProcessStats.
Any time sampler runs to collect stats, will scan all such files and if the file does not exist GemFire will log the warning once. So the line will appear log every second or so, depending on the sampling rate.
It is happening from OSHI when it fetches the udPv6Stats in OshiStatisticsProvider.sampleSystem.
final UdpStats udPv6Stats = internetProtocolStats.getUDPv6Stats();
It seems like it would happen when IPv6 disabled so the file doesn't exist. Then OSHI prints out the warning every time it is sampled. There is a fix that exists for other files that prevents a similar warning being printed out multiple times. I could apply the same fix to this one.
When the OshiStatisticsProvider is initialized it parses the statistics to see if it actually gets something back. If it does get something back for that file it sets a variable that is then used when it tries to parse it again.
Users can use below command to verify if IPv6 is disabled: `sysctl net.ipv6.conf.all.disable_ipv6`.
If it is the case, can enable ipv6 to eliminate the warnings, as a workaround. To clarify, the warning is harmless, can safely ignore.
Meanwhile, R&D has improvement plan already which makes GemFire prints the warning couple of times only after verifying the existance of the file.
The sampler behavior will be improved in 10.3.0 and 10.2.4, no ETA yet.