summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorjschauma <jschauma>2005-04-03 19:13:50 +0000
committerjschauma <jschauma>2005-04-03 19:13:50 +0000
commit9fe447d4d91354ddb0a0a82c4689cf9baca64a67 (patch)
tree12486b1e1393bb11255ad2b093582b11189b89c0 /www
parent7ada204785738288530efd1b0a7dff9ff35bd28d (diff)
downloadpkgsrc-9fe447d4d91354ddb0a0a82c4689cf9baca64a67.tar.gz
Update to 3.0.1 and switch to .tar.bz2 distfile.
Changes (mostly bugfixes):: * srclib/libmetrics/freebsd/metrics.c (1.6): Many bug fixes and cleanups: - Make cpu_state act like get_netbw and get new values only if called more than 1/2 second from the last value update. This causing obviously weird results from the CPU metrics on sparc64 (where the counters seem to be very course) and bogus, but more subtlety broken results on other architectures. This has always been broken. - Implement cpu_intr_func (one line!) - Make the logic for handling bad returns from sysctl make sense. It should never be triggered in most cases, but at least this way it won't return bogus values when it happens. - Prefer sysctlbyname() to sysctl(). It's much easier to read. - Reduce the use of pointless temporary variables. - Comment/white space fixes, include more comments of metrics we are unlikely to actually implement and comments on other rather bogus metrics, mostly memory related ones. * lib/libgmond.c (1.17): Set the default time for tcp_accept_channels to be -1 (blocking io) * srclib/libmetrics/linux/metrics.c (1.5): Fixed a bug in pkts_in/out bytes_in/out on for some Linux 2.6.x kernels http://bugzilla.ganglia.info/cgi-bin/bugzilla/show_bug.cgi?id=21 * gmond/: g25_config.c (1.3), gmond.c (1.102): Patched two bugs in gmond. The first bug causes gmond to occasionally stop reporting occasionally when there is a network failure. The second bug in gmond relates to the host mask being set to 24 instead of 32 when converting old gmond.conf configuration files. * srclib/libmetrics/freebsd/metrics.c (1.5): Fix a number of bugs of varying severity: - makenetvfslist had some nasty uninitilized variable bugs under FreeBSD 4.x, fix those. - general reorganization and logic clarity improvements in makenetvfslist. - Make machine_type_func, os_name_func, and os_release_func and correct their error handling code to actually do something useful (not that it should ever be triggered). * srclib/libmetrics/freebsd/metrics.c (1.4): - Fix a memory leak in find_disk_space() as reported by Glen Beane. - Overhaul makenetvfslist() a bit to fix a leak in low memory situations, reduce duplicated code, and streamline error handling. - Fix a few compiler warnings.
Diffstat (limited to 'www')
0 files changed, 0 insertions, 0 deletions