pcp
[Top] [All Lists]

[performancecopilot/pcp] reported pmDestroyContext: pthread_mutex_destro

To: performancecopilot/pcp <pcp@xxxxxxxxxxxxxxxxxx>
Subject: [performancecopilot/pcp] reported pmDestroyContext: pthread_mutex_destroy(c_lock) failed: Device or resource busy, failed second try as well (#118)
From: "Frank Ch. Eigler" <notifications@xxxxxxxxxx>
Date: Tue, 04 Oct 2016 05:12:59 -0700
Delivered-to: pcp@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1475583179; bh=6DMbuyp4wimPg6ZFvuKRPkaWUu/2HZkPQRccllAMgy0=; h=From:Reply-To:To:Subject:List-ID:List-Archive:List-Post: List-Unsubscribe:From; b=POHKcGsV35OY4rLybQIfOk7BRNJ7Xr/icLjLMo3N/BH0HYgh220fkcVzpm3Ua/0s+ z7t/XUrjc414HltNFweh44BSpDk8WBQKbG8lZu4SiEmDKGi1fxPdu+k0mgu8l6bV0n ShBgX0srGoz8QAaai21LGPV9dIDOAUxFM2UJgf6g=
List-archive: https://github.com/performancecopilot/pcp
List-id: performancecopilot/pcp <pcp.performancecopilot.github.com>
List-post: <mailto:reply+00bd08b6592d359294310067abd684caa0f5fa1d4685cd1592cf00000001140b5ecb92a169ce0ac7f396@reply.github.com>
List-unsubscribe: <mailto:unsub+00bd08b6592d359294310067abd684caa0f5fa1d4685cd1592cf00000001140b5ecb92a169ce0ac7f396@reply.github.com>, <https://github.com/notifications/unsubscribe/AL0ItpbMQYtouyxN30QUn1qZyQGQHuV5ks5qwkLLgaJpZM4KNmlk>
Reply-to: performancecopilot/pcp <reply+00bd08b6592d359294310067abd684caa0f5fa1d4685cd1592cf00000001140b5ecb92a169ce0ac7f396@xxxxxxxxxxxxxxxx>

Filing here with incomplete information, so issue is not forgotten:

hc000 on irc reported an instance where, using pcp 3.11.5, possibly two copies of vector talking to the same pmwebd & same remote pmcd, occasionally suffering 1.8s latencies for queries.

pmwebd logs indicate this, running with pmwebd -Dpdu, and maybe also pmcd -t1 to induce timeout errors for those 1.8s requests.

pmwebd(14086): context web103761=pm2) expired. pmDestroyContext: 
pthread_mutex_destroy(c_lock) failed: Device or resource busy, failed second try as well

Given that this part of pmwebd is strictly single-threaded, this seems to implicate libpcp remote/pdu error handling, and/or the sharing of sockets within libpcp toward the same remote pmcd. It may be worth finally dropping the latter functionality, as a prophylactic.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

<Prev in Thread] Current Thread [Next in Thread>
  • [performancecopilot/pcp] reported pmDestroyContext: pthread_mutex_destroy(c_lock) failed: Device or resource busy, failed second try as well (#118), Frank Ch. Eigler <=