pcp
[Top] [All Lists]

[Bug 1141] New: linux pmda does too much work for process queries

To: pcp@xxxxxxxxxxx
Subject: [Bug 1141] New: linux pmda does too much work for process queries
From: bugzilla-daemon@xxxxxxxxxxx
Date: Fri, 08 Apr 2016 11:22:28 +0000
Auto-submitted: auto-generated
Delivered-to: pcp@xxxxxxxxxxx
Bug ID 1141
Summary linux pmda does too much work for process queries
Product pcp
Version unspecified
Hardware All
OS Linux
Status NEW
Severity major
Priority P5
Component pcp
Assignee pcp@kenj.com.au
Reporter fche@redhat.com
CC cltorrespr@gmail.com, hc3249@att.com, michele@acksyn.org, nathans@debian.org, pcp@oss.sgi.com
Depends on 1067
Classification Unclassified

+++ This bug was initially created as a clone of Bug #1067 +++

The analogous issue has long existed and been long reported in the proc pmda. 
A large amount of extra /proc scanning work is done for queries related to
individual metrics / individual processes.  This makes it more likely that the
pmda interferes with the kernel (competing for process-table locks), and times
out.  That in turn in effect kills the pmda.  (See also bug #1036, bug #1079).

The phenomenon is easily observed with strace.

For example: a % pmval -i $$ proc.psinfo.ppid 
involves reads to /proc/$$/stat, /wchan, /environ, only one of which was
needed.

For example: an active hotproc pmda scans multiple proc files for every
process, even if hotproc metrics are not being fetched; even involving files
not necessary to evaluate the hotproc selection criteria.


You are receiving this mail because:
  • You are on the CC list for the bug.
<Prev in Thread] Current Thread [Next in Thread>