Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 681934

Summary: app-metrics/collectd: apache plugin regression with >=www-servers/apache-2.4.35 mod_status
Product: Gentoo Linux Reporter: Christian Zuckschwerdt <zany>
Component: Current packagesAssignee: Thomas Deutschmann (RETIRED) <whissi>
Status: RESOLVED OBSOLETE    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: collectd-5.8.1 fix for compatibility with apache-2.4.38-r1

Description Christian Zuckschwerdt 2019-03-28 16:46:10 UTC
Created attachment 571052 [details, diff]
collectd-5.8.1 fix for compatibility with apache-2.4.38-r1

Overview:

Recently stablized www-servers/apache-2.4.38-r1 introduced a bug in app-metrics/collectd-5.8.1
Apache httpds mod_status server-status?auto with 2.4.35+ lists the keys BusyWorkers and IdleWorkers twice.
collectd needs a patch for the apache plugin to work.
app-metrics/collectd-5.8.1 should be patched to work with current apache.

Additional Information:

The change was introduced with "mod_status: Complete the data shown for async" ( https://github.com/apache/httpd/commit/6befc1893bea72320388b84fd879a4533e29b244 ) from 2018-08-07 released with apache httpd 2.4.35.

S.a. issue at Apache Bugzilla: https://bz.apache.org/bugzilla/show_bug.cgi?id=63300

Going from www-servers/apache-2.4.34-r2 to www-servers/apache-2.4.38-r1 will fill the log with
- apache_connections.rrd: illegal attempt to update
- apache_idle_workers.rrd: illegal attempt to update

when running app-metrics/collectd-5.8.1 with the apache plugin active (and RRD backend).

This patch adds a guard to only submit one value per update. Upstream is aware, a -r1 with patch will be needed until a solution is found.
Comment 1 Christian Zuckschwerdt 2020-03-03 13:06:02 UTC
Upstream now includes this patch.