pcp
[Top] [All Lists]

PCP Updates: fche: libpcp probe-discovery stacks (RHBZ 1319288)

To: PCP Mailing List <pcp@xxxxxxxxxxx>
Subject: PCP Updates: fche: libpcp probe-discovery stacks (RHBZ 1319288)
From: Dave Brolley <brolley@xxxxxxxxxx>
Date: Thu, 31 Mar 2016 14:54:16 -0400
Delivered-to: pcp@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0
Changes committed to git://git.pcp.io/pcp master

Frank Ch. Eigler (1):
      libpcp discovery probe: increase thread stack sizes

 qa/766                 |   13 +++++++++++++
 qa/766.out             |    3 +++
 src/libpcp/src/probe.c |    9 ++++++---
 3 files changed, 22 insertions(+), 3 deletions(-)

Details ...

commit 77755462f768415fb8833b6c77473df73faacea0
Author: Frank Ch. Eigler <fche@xxxxxxxxxx>
Date:   Wed Mar 30 18:36:56 2016 -0400

    libpcp discovery probe: increase thread stack sizes

    In case pmDiscoverServices probe mode detects errors, pmNotifyErr() is
    called.  Its child pmprintf eats too many syscalls, and its grandchild
    pmGetConfig eats too much stack.  We cure the second gluttony by
    enlarging the thread stacks with a couple of MAXPATHLEN's, avoiding
    stack-overflow crashes.  qa/766 extended with "ulimit -n" based fault
    injection.

<Prev in Thread] Current Thread [Next in Thread>
  • PCP Updates: fche: libpcp probe-discovery stacks (RHBZ 1319288), Dave Brolley <=