pcp
[Top] [All Lists]

pcp updates: fix shping timeouts

To: pcp@xxxxxxxxxxx
Subject: pcp updates: fix shping timeouts
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Wed, 21 Nov 2012 04:34:48 -0500 (EST)
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Changes committed to git://oss.sgi.com/pcp/pcp.git dev

 src/pmdas/shping/shping.c |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

commit b0114990a968407c5ae39eb7546fe45d69d43107
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Wed Nov 21 20:33:02 2012 +1100

    Fix issues with pmdashping timeouts observed on multi-core x86_64
    
    Test qa/323 has been failing frequently for some time here.  Root
    cause turned out to be signal related again, this time interacting
    poorly with pthreads.  A race existed between the calls to signal()
    in the main() thread vs the refresh() thread - in reality, signals
    are process-wide and cannot be directed to specific threads.  So,
    whether timeouts were applied at all or not depended on the order
    of calls to signal(), which could go either way but often ended up
    not being applied.

<Prev in Thread] Current Thread [Next in Thread>
  • pcp updates: fix shping timeouts, Nathan Scott <=