pcp
[Top] [All Lists]

Re: [pcp] pcp updates: containers, qa

To: Nathan Scott <nathans@xxxxxxxxxx>
Subject: Re: [pcp] pcp updates: containers, qa
From: Mark Goodwin <mgoodwin@xxxxxxxxxx>
Date: Wed, 13 May 2015 15:29:17 +1000
Cc: PCP <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <1662044263.18277261.1431491325842.JavaMail.zimbra@xxxxxxxxxx>
References: <1009828124.17466209.1431416607069.JavaMail.zimbra@xxxxxxxxxx> <5552B428.2010604@xxxxxxxxxx> <1582823694.18245416.1431484897421.JavaMail.zimbra@xxxxxxxxxx> <1662044263.18277261.1431491325842.JavaMail.zimbra@xxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0
On 05/13/2015 02:28 PM, Nathan Scott wrote:


----- Original Message -----
----- Original Message -----
On 05/12/2015 05:43 PM, Nathan Scott wrote:
Changes committed to git://git.pcp.io/nathans/pcp.git master


Ah - this looks like a different problem to PR1106.  I can see what it is
likely to be though.

Can you try attached patch, see how it fares?  Lightly sanity tested only
at this stage.

OK, that patch fixes the reported segfault.


Also noticed containers.state.running was showing way too many instances.
Should be zero or at most one ("docker ps" shows none running).

The indom is "all containers".  The metric value shows whether its running
or not (0/1), so I suspect this is probably operating as designed - or are
you saying they have value "1" when they shouldn't?

no, you are right - I was confused about what "all containers" means - it
includes containers that have exited but have not had their image/overlay
removed, which is the default when a container exits. docker run --rm
will remove it when the container exits, which seems backwards to me!


 From our chat, sounds like its fine as-is and "docker ps -a" output indeed
matches what we have.  Looking forward to hearing more about the profiling
run for pmdaroot with 1000s of containers too - thanks!


still getting the pmdaroot timeout - tweaking this in pmcd.options works
around it, so we can capture a profile.


Lemme know if time is short & I'll prep something for qa from your earlier
recipe (tomorrow).

time is short (have to head out for an appointment). So I'll pick this up
again tonight. In the mean-time might as well commit that patch to your
tree and I'll merge to master tonight. (and craft a qa test from the
recipe)

Cheers

<Prev in Thread] Current Thread [Next in Thread>