From nscott@aconex.com Sun Mar 1 17:16:55 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n21NGsPS182768 for ; Sun, 1 Mar 2009 17:16:55 -0600 X-ASG-Debug-ID: 1235949385-6f7201890000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 11BE11C0B90D for ; Sun, 1 Mar 2009 15:16:25 -0800 (PST) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id SaFUtWQsNcbZYftC for ; Sun, 01 Mar 2009 15:16:25 -0800 (PST) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 8E386246AC1; Mon, 2 Mar 2009 10:16:22 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id ZnperDdupts2uqD7; Mon, 02 Mar 2009 10:16:22 +1100 (EST) Received: from [192.168.5.24] (melho0.aconex.com [203.89.192.141]) by postoffice.aconex.com (Postfix) with ESMTP id 79B1892C2F8; Mon, 2 Mar 2009 10:16:22 +1100 (EST) X-ASG-Orig-Subj: Re: [pcp] pcp-2.7.8-20081117 sig 11 in AcceptNewClient Subject: Re: [pcp] pcp-2.7.8-20081117 sig 11 in AcceptNewClient From: Nathan Scott To: Scott Emery Cc: Scott Emery , pcp@oss.sgi.com In-Reply-To: <200902271714.n1RHEPHi27678690@zion.americas.sgi.com> References: <200902271714.n1RHEPHi27678690@zion.americas.sgi.com> Content-Type: text/plain Date: Mon, 02 Mar 2009 10:11:30 +1100 Message-Id: <1235949090.4257.5.camel@verge.scott.net.au> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1235949387 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0005 1.0000 -2.0177 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.19207 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean On Fri, 2009-02-27 at 11:14 -0600, Scott Emery wrote: > If you hand me some recipes, I might be able to use the original > machine to help. a verbose dump of the stack... any particular variables > you want to look at? First thing to check is the source line which caused SIGSEGV. I don't understand how "client[i].fd = fd" could cause it, as we wrote into "client[i].addr" twenty three lines above... it seems as if that line _should_ have caused a SIGSEGV first. Would be handy to know things like how many clients, contents and addresses of the "client" array (and is client[i] near a page boundary), did we just realloc this in NewClient(), etc. cheers. -- Nathan From nscott@aconex.com Sun Mar 1 18:10:11 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n220AAsk185110 for ; Sun, 1 Mar 2009 18:10:11 -0600 X-ASG-Debug-ID: 1235952581-3a6e009b0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id AE8A11C0B8A8 for ; Sun, 1 Mar 2009 16:09:41 -0800 (PST) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id ex1gKHqrQcFmCXck for ; Sun, 01 Mar 2009 16:09:41 -0800 (PST) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 0B56D63F27E for ; Mon, 2 Mar 2009 11:09:39 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id OIAt504vEvC9k6zA for ; Mon, 02 Mar 2009 11:09:39 +1100 (EST) Received: from [192.168.5.24] (melho0.aconex.com [203.89.192.141]) by postoffice.aconex.com (Postfix) with ESMTP id E819B92C285 for ; Mon, 2 Mar 2009 11:09:38 +1100 (EST) X-ASG-Orig-Subj: pcp updates Subject: pcp updates From: Nathan Scott To: pcp@oss.sgi.com Content-Type: text/plain Date: Mon, 02 Mar 2009 11:04:47 +1100 Message-Id: <1235952287.4257.27.camel@verge.scott.net.au> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1235952582 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.52 X-Barracuda-Spam-Status: No, SCORE=-1.52 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=BSF_RULE7568M X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.19211 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.50 BSF_RULE7568M Custom Rule 7568M X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Changes committed to git://oss.sgi.com/nathans/pcp.git src/include/buildrules | 6 +--- src/pmdas/apache/GNUmakefile | 4 -- src/pmdas/apache/GNUmakefile.install | 28 -------------------- src/pmdas/cisco/GNUmakefile | 3 -- src/pmdas/cisco/Makefile.install | 13 --------- src/pmdas/hotproc/GNUmakefile | 3 -- src/pmdas/hotproc/Makefile.install | 13 --------- src/pmdas/jstat/GNUmakefile | 3 -- src/pmdas/jstat/Makefile.install | 13 --------- src/pmdas/lmsensors/GNUmakefile | 3 -- src/pmdas/lmsensors/GNUmakefile.install | 30 --------------------- src/pmdas/mailq/GNUmakefile | 3 -- src/pmdas/mailq/GNUmakefile.install | 28 -------------------- src/pmdas/mounts/GNUmakefile | 4 -- src/pmdas/mounts/GNUmakefile.install | 31 ---------------------- src/pmdas/news/GNUmakefile | 4 -- src/pmdas/news/GNUmakefile.install | 28 -------------------- src/pmdas/pmcd/GNUmakefile | 3 -- src/pmdas/pmcd/GNUmakefile.install | 28 -------------------- src/pmdas/process/GNUmakefile | 4 -- src/pmdas/process/GNUmakefile.install | 31 ---------------------- src/pmdas/roomtemp/GNUmakefile | 3 -- src/pmdas/roomtemp/GNUmakefile.install | 28 -------------------- src/pmdas/sample/GNUmakefile | 4 -- src/pmdas/sample/GNUmakefile.install | 29 --------------------- src/pmdas/sendmail/GNUmakefile | 4 -- src/pmdas/sendmail/GNUmakefile.install | 28 -------------------- src/pmdas/shping/GNUmakefile | 3 -- src/pmdas/shping/GNUmakefile.install | 28 -------------------- src/pmdas/simple/GNUmakefile.install | 36 +++----------------------- src/pmdas/summary/GNUmakefile | 3 -- src/pmdas/summary/Makefile.install | 13 --------- src/pmdas/trace/GNUmakefile | 4 -- src/pmdas/trace/GNUmakefile.install | 28 -------------------- src/pmdas/trivial/GNUmakefile.install | 36 +++----------------------- src/pmdas/txmon/GNUmakefile.install | 44 ++++++++++++++------------------ src/pmdas/weblog/GNUmakefile | 4 -- src/pmdas/weblog/GNUmakefile.install | 28 -------------------- 38 files changed, 49 insertions(+), 557 deletions(-) commit 50686f0639d2c4a9c02aa8470c83f34592073ebf Author: Nathan Scott Date: Fri Feb 27 18:36:34 2009 +1100 Many PMDAs were installing makefiles that did nothing. There's no good reason to do so, it just adds extra files to the set we install - removed. commit d57f217123fce94d65034c123b0ba3f0e3ce4ba7 Author: Nathan Scott Date: Fri Feb 27 17:15:41 2009 +1100 In order to get cross-platform PMDA installs working, for PMDAs that have installed makefiles, we need to know about: - how shared libraries are built - shared library suffix - executable suffix ... this is a solved problem in the PCP build, but the PMDA installed makefiles do not use this. Instead of attempting to reinvent the wheel one platform at a time, just make use of the already installed $PCP_INC_DIR/build{rules,defs}. From nscott@aconex.com Sun Mar 1 19:20:14 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_35, J_CHICKENPOX_62,J_CHICKENPOX_65,J_CHICKENPOX_66 autolearn=no version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n221KDPC187795 for ; Sun, 1 Mar 2009 19:20:14 -0600 X-ASG-Debug-ID: 1235956778-7e2e00830000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id C0A7A1C0BA57 for ; Sun, 1 Mar 2009 17:19:38 -0800 (PST) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id G9s0Rbe16UFpgDzz for ; Sun, 01 Mar 2009 17:19:38 -0800 (PST) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 7D245707924 for ; Mon, 2 Mar 2009 12:19:37 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id HAMvTww3KaTfuzDY for ; Mon, 02 Mar 2009 12:19:37 +1100 (EST) Received: from [192.168.5.24] (melho0.aconex.com [203.89.192.141]) by postoffice.aconex.com (Postfix) with ESMTP id 6CD9B92C285 for ; Mon, 2 Mar 2009 12:19:37 +1100 (EST) X-ASG-Orig-Subj: pcpqa updates Subject: pcpqa updates From: Nathan Scott To: pcp@oss.sgi.com Content-Type: text/plain Date: Mon, 02 Mar 2009 12:14:46 +1100 Message-Id: <1235956486.4257.29.camel@verge.scott.net.au> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1235956785 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.52 X-Barracuda-Spam-Status: No, SCORE=-1.52 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=BSF_RULE7568M X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.19217 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.50 BSF_RULE7568M Custom Rule 7568M X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Changes committed to git://oss.sgi.com/nathans/pcpqa.git 075.out.7 | 2 +- 169 | 3 --- 276 | 8 ++------ GNUmakefile | 2 -- check | 2 -- chk.setup | 2 -- common | 2 -- common.check | 2 -- common.config | 2 -- common.filter | 12 ++++++++++-- common.install.cisco | 2 -- common.pcpweb | 2 -- common.product | 2 -- common.rc | 2 -- common.setup | 2 -- getpmcdhosts | 2 -- group | 5 ----- mk.localconfig | 2 -- mk.qa_hosts | 2 -- new | 2 -- owner | 1 - remake | 2 -- show-me | 2 -- src-oss/GNUmakefile | 39 --------------------------------------- src-oss/broken_Install | 2 -- src-oss/broken_Remove | 2 -- src-oss/broken_help | 1 - src-oss/broken_pmns | 2 -- src-oss/config.foo | 2 -- src-oss/ipcs_clear | 2 -- src-oss/make.dodgey | 1 - src-oss/pminfo.c | 2 -- src-oss/pmval.c | 2 -- src-oss/read-bf.c | 2 +- src-oss/tiny.pmns | 1 - src-oss/torture-eol.c | 2 -- src-oss/trace_dev.h | 9 --------- src-oss/uwrap.config | 1 - src-oss/versiondefs | 2 -- src-oss/wrap.config | 1 - src-oss/write-bf.c | 4 +++- sudo.c | 2 -- xlate_2_new_pmns | 2 -- 43 files changed, 17 insertions(+), 129 deletions(-) commit 82fef3749b5c97f1781d0bdc9817d457591e0509 Author: Nathan Scott Date: Mon Mar 2 12:12:20 2009 +1100 Add several missing optional PMDAs to the filtered set. commit 285d40f8cb4498a7def121c91973336567410df2 Author: Nathan Scott Date: Mon Mar 2 12:12:01 2009 +1100 Update recent pmval usage message output slightly. commit 07f3dda8718f7de16e5dcae33937e2938401684b Author: Nathan Scott Date: Mon Mar 2 12:00:53 2009 +1100 Remove $Id: lines from sources, no longer useful under git. commit 274f15aa1f1e43fd0ec98e9b3e6a33f77db434dc Author: Nathan Scott Date: Mon Mar 2 11:51:29 2009 +1100 Fix compiler warnings on big/little endian test programs. commit 1fc113caa375a12201d0db7496d709a0f56ccf72 Author: Nathan Scott Date: Mon Mar 2 11:50:55 2009 +1100 grind-tools from PCP GUI QA is now the one producing chart/gadgets text. commit bf7695b9023db6589812cf648eeec6c49a716a3c Author: Nathan Scott Date: Mon Mar 2 11:49:50 2009 +1100 Test 230 is now test 021 in PCP GUI QA. From nscott@aconex.com Sun Mar 1 20:48:47 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_33 autolearn=no version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n222mfvh190292 for ; Sun, 1 Mar 2009 20:48:47 -0600 X-ASG-Debug-ID: 1235962092-2c3b03450000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 46C67163124 for ; Sun, 1 Mar 2009 18:48:13 -0800 (PST) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id bU6vrx8TZ0zPaRDE for ; Sun, 01 Mar 2009 18:48:13 -0800 (PST) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id A224C708202; Mon, 2 Mar 2009 13:48:11 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id VBKHRkKgBPR9AFdv; Mon, 02 Mar 2009 13:48:11 +1100 (EST) Received: from [192.168.5.24] (melho0.aconex.com [203.89.192.141]) by postoffice.aconex.com (Postfix) with ESMTP id 98D5B92C285; Mon, 2 Mar 2009 13:48:11 +1100 (EST) X-ASG-Orig-Subj: pmnewlog quirk Subject: pmnewlog quirk From: Nathan Scott To: Ken McDonell Cc: pcp@oss.sgi.com Content-Type: text/plain Date: Mon, 02 Mar 2009 13:43:20 +1100 Message-Id: <1235961800.4257.41.camel@verge.scott.net.au> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1235962094 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.19221 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Hi Ken, I came across a slight oddity in pmnewlog - it has code like this: ... # kill off existing pmlogger # $VERBOSE && $PCP_ECHO_PROG $PCP_ECHO_N "Terminating $myname ...""$PCP_ECHO_C" for sig in INT HUP KILL do $VERBOSE && $PCP_ECHO_PROG $PCP_ECHO_N " SIG$sig ...""$PCP_ECHO_C" eval $KILL -s $sig $pid sleep 5 [ "`_check_pid $pid`" = "" ] && break done Now SIGHUP is "start a new volume" in pmlogger, SIGINT is "exit". Is that SIGHUP supposed to be there? Seems pretty random as to whether it will ever get called. Should we flush first? (SIGUSR1) Was that the original intention there? SIGINT just unlinks control files and then exits... seems like maybe we should do an flush too? (IOW should I change the signal list to "flush, exit, force-exit"?) Thanks! -- Nathan From kenj@internode.on.net Mon Mar 2 01:55:06 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_33 autolearn=no version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n227t5Kx200500 for ; Mon, 2 Mar 2009 01:55:05 -0600 X-ASG-Debug-ID: 1235980475-698703bc0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail.internode.on.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id F34F11639E8 for ; Sun, 1 Mar 2009 23:54:35 -0800 (PST) Received: from mail.internode.on.net (bld-mail09.adl2.internode.on.net [203.16.214.73]) by cuda.sgi.com with ESMTP id CfjvgHx0zJYRTET8 for ; Sun, 01 Mar 2009 23:54:35 -0800 (PST) Received: from [192.168.1.65] (unverified [118.208.238.86]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 57029646-1927428 for multiple; Mon, 02 Mar 2009 17:08:06 +1030 (CDT) X-ASG-Orig-Subj: Re: pmnewlog quirk Subject: Re: pmnewlog quirk From: Ken McDonell Reply-To: kenj@internode.on.net To: Nathan Scott Cc: pcp@oss.sgi.com In-Reply-To: <1235961800.4257.41.camel@verge.scott.net.au> References: <1235961800.4257.41.camel@verge.scott.net.au> Content-Type: text/plain Date: Mon, 02 Mar 2009 17:38:04 +1100 Message-Id: <1235975884.8537.7.camel@bozo> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: bld-mail09.adl2.internode.on.net[203.16.214.73] X-Barracuda-Start-Time: 1235980477 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.19243 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean INT then HUP then KILL is sort of in order of increasing urgency for apps in general ... I don't think this was ever tailored for pmlogger. HUP should not be there for pmlogger. The only flushing is stdio buffer flushing ... if this will safely get done on exit in all environments, then you don't need USR1, as INT and KILL will suffice. If that is not the case, the order USR1, INT and KILL you suggest would be correct. On Mon, 2009-03-02 at 13:43 +1100, Nathan Scott wrote: > Hi Ken, > > I came across a slight oddity in pmnewlog - it has code like this: > > ... > # kill off existing pmlogger > # > $VERBOSE && $PCP_ECHO_PROG $PCP_ECHO_N "Terminating > $myname ...""$PCP_ECHO_C" > for sig in INT HUP KILL > do > $VERBOSE && $PCP_ECHO_PROG $PCP_ECHO_N " SIG$sig ...""$PCP_ECHO_C" > eval $KILL -s $sig $pid > sleep 5 > [ "`_check_pid $pid`" = "" ] && break > done > > > Now SIGHUP is "start a new volume" in pmlogger, SIGINT is "exit". > Is that SIGHUP supposed to be there? Seems pretty random as to > whether it will ever get called. Should we flush first? (SIGUSR1) > Was that the original intention there? SIGINT just unlinks control > files and then exits... seems like maybe we should do an flush too? > (IOW should I change the signal list to "flush, exit, force-exit"?) > > Thanks! > > -- > Nathan > From nscott@aconex.com Mon Mar 2 05:36:44 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n22Bah0v209211 for ; Mon, 2 Mar 2009 05:36:44 -0600 X-ASG-Debug-ID: 1235993774-1aaa01060000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id DA4A31C0CD52 for ; Mon, 2 Mar 2009 03:36:14 -0800 (PST) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id 8knc5l7Ht1oebBTC for ; Mon, 02 Mar 2009 03:36:14 -0800 (PST) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 4BB1D25847B for ; Mon, 2 Mar 2009 22:36:13 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id Gk0O4xoH984h5BmW for ; Mon, 02 Mar 2009 22:36:13 +1100 (EST) Received: from [192.168.0.105] (c210-49-186-156.fernt2.vic.optusnet.com.au [210.49.186.156]) by postoffice.aconex.com (Postfix) with ESMTP id 2D9AC92C285 for ; Mon, 2 Mar 2009 22:36:13 +1100 (EST) X-ASG-Orig-Subj: pcp updates Subject: pcp updates From: Nathan Scott To: pcp@oss.sgi.com Content-Type: text/plain Date: Mon, 02 Mar 2009 22:31:20 +1100 Message-Id: <1235993480.4149.2.camel@verge.scott.net.au> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1235993775 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.19257 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Changes committed to git://oss.sgi.com/nathans/pcp.git src/pmcd/pmdaproc.sh | 64 +++++++++++++++++++---------------------------- src/pmcd/src/pmcd.c | 2 - src/pmlogctl/GNUmakefile | 2 - src/pmlogctl/pmnewlog.sh | 2 - 4 files changed, 30 insertions(+), 40 deletions(-) commit acf621640721439442ede638fc2300f9cf8db9b9 Author: Nathan Scott Date: Mon Mar 2 22:30:22 2009 +1100 Change pmnewlog pmlogger-shutdown sequence to flush/exit/kill instead of inadvertant earlier exit/newvol/kill sequence. commit 69f31b96bdc15e7098b7ebb671ec344b9b809558 Author: Nathan Scott Date: Mon Mar 2 22:29:24 2009 +1100 Add missing dependency on install target for pmlogctl makefile. commit e081f3d5b653e91ab6a459c5c3783f098dd4ea7f Author: Nathan Scott Date: Mon Mar 2 22:28:40 2009 +1100 Only create pmcd PID file when in daemon mode (not -f option). commit 7f4506bc4b92ff13a5321637ed642d1b0474c0a7 Author: Nathan Scott Date: Mon Mar 2 22:27:59 2009 +1100 Use a common routine for checking and installing GUI config files in pmdaproc.sh - only warn if files could've been installed that were not. From nscott@aconex.com Mon Mar 2 05:47:56 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n22Blt74209728 for ; Mon, 2 Mar 2009 05:47:56 -0600 X-ASG-Debug-ID: 1235994445-767503480000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 07408164532 for ; Mon, 2 Mar 2009 03:47:26 -0800 (PST) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id orvrJDvEfEGaZ0a5 for ; Mon, 02 Mar 2009 03:47:26 -0800 (PST) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 7D361254BD4; Mon, 2 Mar 2009 22:30:22 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id 2BSyxdYTSJhz511O; Mon, 02 Mar 2009 22:30:22 +1100 (EST) Received: from [192.168.0.105] (c210-49-186-156.fernt2.vic.optusnet.com.au [210.49.186.156]) by postoffice.aconex.com (Postfix) with ESMTP id 6131792C285; Mon, 2 Mar 2009 22:30:22 +1100 (EST) X-ASG-Orig-Subj: Re: pmnewlog quirk Subject: Re: pmnewlog quirk From: Nathan Scott To: kenj@internode.on.net Cc: pcp@oss.sgi.com In-Reply-To: <1235975884.8537.7.camel@bozo> References: <1235961800.4257.41.camel@verge.scott.net.au> <1235975884.8537.7.camel@bozo> Content-Type: text/plain Date: Mon, 02 Mar 2009 22:25:29 +1100 Message-Id: <1235993129.4149.1.camel@verge.scott.net.au> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1235994448 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0014 1.0000 -2.0118 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.01 X-Barracuda-Spam-Status: No, SCORE=-2.01 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.19257 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean On Mon, 2009-03-02 at 17:38 +1100, Ken McDonell wrote: > INT then HUP then KILL is sort of in order of increasing urgency for > apps in general ... I don't think this was ever tailored for pmlogger. > > HUP should not be there for pmlogger. OK, thanks. > The only flushing is stdio buffer flushing ... if this will safely get > done on exit in all environments, then you don't need USR1, as INT and > KILL will suffice. If that is not the case, the order USR1, INT and > KILL you suggest would be correct. I'll go with that then - better to be safe than sorry. cheers. -- Nathan From emery@zion.americas.sgi.com Mon Mar 2 17:41:02 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n22Nf1hh242043 for ; Mon, 2 Mar 2009 17:41:02 -0600 Received: from zion.americas.sgi.com (zion.americas.sgi.com [128.162.236.17]) by relay2.corp.sgi.com (Postfix) with ESMTP id CDFCD304082; Mon, 2 Mar 2009 15:40:31 -0800 (PST) Received: from zion.americas.sgi.com (localhost [127.0.0.1]) by zion.americas.sgi.com (8.12.9/ASC-news-1.4) with ESMTP id n22NeUHi27354999; Mon, 2 Mar 2009 17:40:31 -0600 (CST) Message-Id: <200903022340.n22NeUHi27354999@zion.americas.sgi.com> To: Nathan Scott cc: pcp@oss.sgi.com Subject: Re: [pcp] pcp-2.7.8-20081117 sig 11 in AcceptNewClient In-reply-to: Your message of "Mon, 02 Mar 2009 10:11:30 +1100." <1235949090.4257.5.camel@verge.scott.net.au> Date: Mon, 02 Mar 2009 17:40:30 -0600 From: Scott Emery X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean In message <1235949090.4257.5.camel@verge.scott.net.au>, Nathan Scott writes: >On Fri, 2009-02-27 at 11:14 -0600, Scott Emery wrote: >> If you hand me some recipes, I might be able to use the original >> machine to help. a verbose dump of the stack... any particular variables >> you want to look at? > >First thing to check is the source line which caused SIGSEGV. >I don't understand how "client[i].fd = fd" could cause it, as >we wrote into "client[i].addr" twenty three lines above... it >seems as if that line _should_ have caused a SIGSEGV first. > >Would be handy to know things like how many clients, contents >and addresses of the "client" array (and is client[i] near a >page boundary), did we just realloc this in NewClient(), etc. > >cheers. > >-- >Nathan > The pmcd is probably not built debug with symbols. I wonder if that is messing up the stack trace and all. I'm going to grab the pcp-2.7.8 release when it is avialable and build it debug, install and wait for another instance. The current build seems to fail pretty often, so it may continue to fail with a debug build. From emery@sgi.com Tue Mar 3 18:56:16 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from relay.sgi.com (relay3.corp.sgi.com [198.149.34.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n240uFAG043627 for ; Tue, 3 Mar 2009 18:56:16 -0600 Received: from zion.americas.sgi.com (zion.americas.sgi.com [128.162.236.17]) by relay3.corp.sgi.com (Postfix) with ESMTP id 27A0BAC014 for ; Tue, 3 Mar 2009 16:55:46 -0800 (PST) Received: (from emery@localhost) by zion.americas.sgi.com (8.12.9/ASC-news-1.4) id n240tjSE26519952 for pcp@oss.sgi.com; Tue, 3 Mar 2009 18:55:45 -0600 (CST) Date: Tue, 3 Mar 2009 18:55:45 -0600 (CST) From: Scott Emery Message-Id: <200903040055.n240tjSE26519952@zion.americas.sgi.com> To: pcp@oss.sgi.com Subject: more pcp-2.7.8-20081117 sig 11 in AcceptNewClient X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean It may be that the default optimization caused the pmcd core to be confusing. I have rebuilt pmcd with "-g -O0". I await a similar failure to test my hypothesis. Scott Emery emery@sgi.com From nscott@aconex.com Tue Mar 3 19:25:18 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n241PIao044630 for ; Tue, 3 Mar 2009 19:25:18 -0600 X-ASG-Debug-ID: 1236129889-34e203390000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 39F8E1C15B81 for ; Tue, 3 Mar 2009 17:24:49 -0800 (PST) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id ODAWAXxhNM0nfcIh for ; Tue, 03 Mar 2009 17:24:49 -0800 (PST) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id C51E96004FE; Wed, 4 Mar 2009 12:05:41 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id JFPb8tyze77VWYfz; Wed, 04 Mar 2009 12:05:41 +1100 (EST) Received: from [192.168.5.24] (melho0.aconex.com [203.89.192.141]) by postoffice.aconex.com (Postfix) with ESMTP id A964692C285; Wed, 4 Mar 2009 12:05:41 +1100 (EST) X-ASG-Orig-Subj: Re: [pcp] more pcp-2.7.8-20081117 sig 11 in AcceptNewClient Subject: Re: [pcp] more pcp-2.7.8-20081117 sig 11 in AcceptNewClient From: Nathan Scott To: Scott Emery Cc: pcp@oss.sgi.com In-Reply-To: <200903040055.n240tjSE26519952@zion.americas.sgi.com> References: <200903040055.n240tjSE26519952@zion.americas.sgi.com> Content-Type: text/plain Date: Wed, 04 Mar 2009 12:00:48 +1100 Message-Id: <1236128448.4142.42.camel@verge.scott.net.au> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1236129891 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0013 1.0000 -2.0126 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.01 X-Barracuda-Spam-Status: No, SCORE=-2.01 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.19370 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean On Tue, 2009-03-03 at 18:55 -0600, Scott Emery wrote: > It may be that the default optimization caused the pmcd > core to be confusing. I have rebuilt pmcd with "-g -O0". I await > a similar failure to test my hypothesis. Could be. Also, I should point out that we have many many pmcd's running here, for many years now, on both i386 and x86_64 and I've never observed a pmcd core in all that time. I do, however, know of one other person on an SGI Altix platform who has had a similar issue (wouldn't let me take a closer look though, even though they're here in Melbourne, and pretty sure they never reported it to SGI customer support either). So, it could be something SGI/SuSE-specific? (I'm on Debian and RHEL4/5). Compiler version, optimisation level, libc version ... something like that, perhaps, could be root cause here. Ken had a dazzling array of spectacular failures that were toolchain related too, in the past, but that was on Ubuntu. cheers. -- Nathan From nscott@aconex.com Tue Mar 3 19:41:43 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_56 autolearn=no version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n241fg0x045158 for ; Tue, 3 Mar 2009 19:41:43 -0600 X-ASG-Debug-ID: 1236130874-348803540000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id DF2C71C1586F for ; Tue, 3 Mar 2009 17:41:15 -0800 (PST) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id lw7t9vRglkMBlIM6 for ; Tue, 03 Mar 2009 17:41:15 -0800 (PST) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id B2204600A88; Wed, 4 Mar 2009 12:41:13 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id upLIoTjTmji77YIH; Wed, 04 Mar 2009 12:41:13 +1100 (EST) Received: from [192.168.5.24] (melho0.aconex.com [203.89.192.141]) by postoffice.aconex.com (Postfix) with ESMTP id 975BC92C34B; Wed, 4 Mar 2009 12:41:13 +1100 (EST) X-ASG-Orig-Subj: Long QA test Subject: Long QA test From: Nathan Scott To: kenj@internode.on.net Cc: pcp@oss.sgi.com Content-Type: text/plain Date: Wed, 04 Mar 2009 12:36:20 +1100 Message-Id: <1236130580.4142.50.camel@verge.scott.net.au> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1236130875 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0003 1.0000 -2.0188 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.19370 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Hi Ken, Can test 163 be shortened in terms of runtime? ... 161 0s ... 162 32s ... 163 826s ... ^^^^ Thats well over 10 minutes. Its a "pmdanasavg SEGVs in pmGetArchiveEnd" test with owner=kenmcd. :) thanks! -- Nathan From nscott@aconex.com Tue Mar 3 19:49:12 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n241nBj7045633 for ; Tue, 3 Mar 2009 19:49:12 -0600 X-ASG-Debug-ID: 1236131323-348b03a10000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 8BDE71C15CDE for ; Tue, 3 Mar 2009 17:48:43 -0800 (PST) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id yZ4VugE7CRIwvNa8 for ; Tue, 03 Mar 2009 17:48:43 -0800 (PST) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 75618272DB4 for ; Wed, 4 Mar 2009 12:48:42 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id na6r7hj0jFYHPTOl for ; Wed, 04 Mar 2009 12:48:42 +1100 (EST) Received: from [192.168.5.24] (melho0.aconex.com [203.89.192.141]) by postoffice.aconex.com (Postfix) with ESMTP id 6420292C2F8 for ; Wed, 4 Mar 2009 12:48:42 +1100 (EST) X-ASG-Orig-Subj: pcp-gui updates (1.3.3) Subject: pcp-gui updates (1.3.3) From: Nathan Scott To: pcp@oss.sgi.com Content-Type: text/plain Date: Wed, 04 Mar 2009 12:43:49 +1100 Message-Id: <1236131029.4142.52.camel@verge.scott.net.au> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1236131324 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.19370 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Changes committed to git://oss.sgi.com/nathans/pcp-gui.git VERSION | 4 ++-- debian/changelog | 6 ++++++ doc/CHANGES | 4 ++++ src/chart/openviewdialog.cpp | 31 ++++++++++++++++++------------- 4 files changed, 30 insertions(+), 15 deletions(-) commit 7fae88b58606efc54829c0a7be255b1186cdbd70 Author: Ken McDonell Date: Wed Mar 4 12:43:06 2009 +1100 Bump version. commit 7930c1bdace2b1e6a767df7d5d515e389a0c1eec Author: Ken McDonell Date: Wed Mar 4 12:32:10 2009 +1100 Rework search order for view directories. Look for the old kmchart directories if the exist, add 'em. Make the pmchart directories the default. Repeat for both the user and system locations. From makc@iinet.net.au Tue Mar 3 21:56:27 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_56 autolearn=no version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n243uP7N050860 for ; Tue, 3 Mar 2009 21:56:27 -0600 X-ASG-Debug-ID: 1236138957-364803e30000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from outbound.icp-qv1-irony-out4.iinet.net.au (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 6F12516CFA2 for ; Tue, 3 Mar 2009 19:55:57 -0800 (PST) Received: from outbound.icp-qv1-irony-out4.iinet.net.au (outbound.icp-qv1-irony-out4.iinet.net.au [203.59.1.150]) by cuda.sgi.com with ESMTP id LWCMe3Gg7nc5huDr for ; Tue, 03 Mar 2009 19:55:57 -0800 (PST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEAGOKrUnL2Rwk/2dsb2JhbADWSIQIBg X-IronPort-AV: E=Sophos;i="4.38,298,1233500400"; d="scan'208";a="320328548" Received: from unknown (HELO aldan.crabbed.net) ([203.217.28.36]) by outbound.icp-qv1-irony-out4.iinet.net.au with ESMTP; 04 Mar 2009 12:55:56 +0900 Received: from aldan.crabbed.net (localhost [127.0.0.1]) by aldan.crabbed.net (SGI-8.12.11.20060308/8.12.11) with ESMTP id n243tsLo014738; Wed, 4 Mar 2009 14:55:54 +1100 (EST) Received: (from makc@localhost) by aldan.crabbed.net (SGI-8.12.11.20060308/8.12.11/Submit) id n243tr7H014731; Wed, 4 Mar 2009 14:55:53 +1100 (EST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18861.64457.477824.834229@aldan.crabbed.net> Date: Wed, 4 Mar 2009 14:55:53 +1100 From: Max Matveev To: Nathan Scott Cc: kenj@internode.on.net, pcp@oss.sgi.com X-ASG-Orig-Subj: Re: [pcp] Long QA test Subject: Re: [pcp] Long QA test In-Reply-To: <1236130580.4142.50.camel@verge.scott.net.au> References: <1236130580.4142.50.camel@verge.scott.net.au> X-Mailer: VM 7.17 under 21.4 (patch 15) "Security Through Obscurity" XEmacs Lucid X-Barracuda-Connect: outbound.icp-qv1-irony-out4.iinet.net.au[203.59.1.150] X-Barracuda-Start-Time: 1236138959 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.19379 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean On Wed, 04 Mar 2009 12:36:20 +1100, Nathan Scott wrote: nscott> Thats well over 10 minutes. Its a "pmdanasavg SEGVs in nscott> pmGetArchiveEnd" test with owner=kenmcd. :) pmdanasavg was since re-written to use HUTA mode and not do archive tailing. The test is still sort of useful. max From nscott@aconex.com Tue Mar 3 22:05:45 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_56 autolearn=no version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2445iKm051164 for ; Tue, 3 Mar 2009 22:05:45 -0600 X-ASG-Debug-ID: 1236139515-56d003000000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 08DBB1C15F20 for ; Tue, 3 Mar 2009 20:05:16 -0800 (PST) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id gRn0eVVwTWqtbaKl for ; Tue, 03 Mar 2009 20:05:16 -0800 (PST) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id C09EB273F88; Wed, 4 Mar 2009 15:05:14 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id InCqHGqra7lqAsZD; Wed, 04 Mar 2009 15:05:14 +1100 (EST) Received: from [192.168.5.24] (melho0.aconex.com [203.89.192.141]) by postoffice.aconex.com (Postfix) with ESMTP id A86F092C285; Wed, 4 Mar 2009 15:05:14 +1100 (EST) X-ASG-Orig-Subj: Re: [pcp] Long QA test Subject: Re: [pcp] Long QA test From: Nathan Scott To: Max Matveev Cc: kenj@internode.on.net, pcp@oss.sgi.com In-Reply-To: <18861.64457.477824.834229@aldan.crabbed.net> References: <1236130580.4142.50.camel@verge.scott.net.au> <18861.64457.477824.834229@aldan.crabbed.net> Content-Type: text/plain Date: Wed, 04 Mar 2009 15:00:21 +1100 Message-Id: <1236139221.4142.62.camel@verge.scott.net.au> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1236139518 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.19379 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean On Wed, 2009-03-04 at 14:55 +1100, Max Matveev wrote: > On Wed, 04 Mar 2009 12:36:20 +1100, Nathan Scott wrote: > > nscott> Thats well over 10 minutes. Its a "pmdanasavg SEGVs in > nscott> pmGetArchiveEnd" test with owner=kenmcd. :) > > pmdanasavg was since re-written to use HUTA mode and not do archive > tailing. The test is still sort of useful. Yep, no disagreement that it looks useful ... it just takes far too long. There must be a way to cut it down to, say, a minute or less like most other tests. cheers. -- Nathan From kenj@internode.on.net Wed Mar 4 11:42:00 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_56 autolearn=no version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n24HfxTE098608 for ; Wed, 4 Mar 2009 11:42:00 -0600 X-ASG-Debug-ID: 1236188491-7ad301d00000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail.internode.on.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 38E551C18BC4 for ; Wed, 4 Mar 2009 09:41:31 -0800 (PST) Received: from mail.internode.on.net (bld-mail05.adl2.internode.on.net [203.16.214.69]) by cuda.sgi.com with ESMTP id mxw8NuUCh4cDtD52 for ; Wed, 04 Mar 2009 09:41:31 -0800 (PST) Received: from [192.168.1.65] (unverified [118.208.196.75]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 42808007-1927428 for multiple; Thu, 05 Mar 2009 04:11:29 +1030 (CDT) X-ASG-Orig-Subj: Re: [pcp] Long QA test Subject: Re: [pcp] Long QA test From: Ken McDonell Reply-To: kenj@internode.on.net To: Nathan Scott Cc: Max Matveev , pcp@oss.sgi.com In-Reply-To: <1236139221.4142.62.camel@verge.scott.net.au> References: <1236130580.4142.50.camel@verge.scott.net.au> <18861.64457.477824.834229@aldan.crabbed.net> <1236139221.4142.62.camel@verge.scott.net.au> Content-Type: text/plain Date: Thu, 05 Mar 2009 04:41:28 +1100 Message-Id: <1236188488.6848.5.camel@bozo> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: bld-mail05.adl2.internode.on.net[203.16.214.69] X-Barracuda-Start-Time: 1236188493 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.19432 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean This one is totally CPU bound ... it used to run for 220-odd seconds on my clunker workstation (I've no idea what Nathan's using to stretch that to 800+ seconds), and I can get it down to 70-odd seconds with a couple of quick optimizations ... but it is exploring 4096 cases (considering each word-aligned truncation of the last 16K bytes of the archive to mimic what might happen with aborted stdio buffering of the output from pmlogger) for each of 3 archives, and without remembering exactly what triggered the problem in the past, I'm not sure I can make it do less work without changing the test coverage. On Wed, 2009-03-04 at 15:00 +1100, Nathan Scott wrote: > On Wed, 2009-03-04 at 14:55 +1100, Max Matveev wrote: > > On Wed, 04 Mar 2009 12:36:20 +1100, Nathan Scott wrote: > > > > nscott> Thats well over 10 minutes. Its a "pmdanasavg SEGVs in > > nscott> pmGetArchiveEnd" test with owner=kenmcd. :) > > > > pmdanasavg was since re-written to use HUTA mode and not do archive > > tailing. The test is still sort of useful. > > Yep, no disagreement that it looks useful ... it just takes far > too long. There must be a way to cut it down to, say, a minute > or less like most other tests. > > cheers. > > -- > Nathan > From nscott@aconex.com Wed Mar 4 16:55:18 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n24MtHfp109595 for ; Wed, 4 Mar 2009 16:55:17 -0600 X-ASG-Debug-ID: 1236207288-5d6b002c0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id DAC7A1711BA for ; Wed, 4 Mar 2009 14:54:49 -0800 (PST) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id rz2a5R77XLWmZG47 for ; Wed, 04 Mar 2009 14:54:49 -0800 (PST) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id E79D327F3F6; Thu, 5 Mar 2009 09:40:16 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id yUbu5Z5q20uxbYVi; Thu, 05 Mar 2009 09:40:16 +1100 (EST) Received: from [192.168.5.24] (melho0.aconex.com [203.89.192.141]) by postoffice.aconex.com (Postfix) with ESMTP id D80B092C34B; Thu, 5 Mar 2009 09:40:16 +1100 (EST) X-ASG-Orig-Subj: Re: [pcp] Long QA test Subject: Re: [pcp] Long QA test From: Nathan Scott To: kenj@internode.on.net Cc: Max Matveev , pcp@oss.sgi.com In-Reply-To: <1236188488.6848.5.camel@bozo> References: <1236130580.4142.50.camel@verge.scott.net.au> <18861.64457.477824.834229@aldan.crabbed.net> <1236139221.4142.62.camel@verge.scott.net.au> <1236188488.6848.5.camel@bozo> Content-Type: text/plain Date: Thu, 05 Mar 2009 09:35:23 +1100 Message-Id: <1236206123.4210.4.camel@verge.scott.net.au> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1236207290 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.19455 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean On Thu, 2009-03-05 at 04:41 +1100, Ken McDonell wrote: > This one is totally CPU bound ... it used to run for 220-odd seconds on > my clunker workstation (I've no idea what Nathan's using to stretch that > to 800+ seconds), and I can get it down to 70-odd seconds with a couple > of quick optimizations ... but it is exploring 4096 cases (considering > each word-aligned truncation of the last 16K bytes of the archive to > mimic what might happen with aborted stdio buffering of the output from > pmlogger) for each of 3 archives, and without remembering exactly what > triggered the problem in the past, I'm not sure I can make it do less > work without changing the test coverage. S'okay - knowing now its meant to be cpu bound, I looked closer and found it was spending alot of time in I/O wait (possibly due to the truncates) ... a few tweaks to my system and its CPU bound here too now, and runs in 2mins on my (single cpu) pentium4. thanks. -- Nathan From nscott@aconex.com Thu Mar 5 17:29:43 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n25NTgNF174497 for ; Thu, 5 Mar 2009 17:29:42 -0600 X-ASG-Debug-ID: 1236295754-5ba102890000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 5C2811C1EDD4 for ; Thu, 5 Mar 2009 15:29:14 -0800 (PST) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id jiCg1QG7VZ0QE95a for ; Thu, 05 Mar 2009 15:29:14 -0800 (PST) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 91134649C51 for ; Fri, 6 Mar 2009 10:29:12 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id rU0likr7ohhkW5pA for ; Fri, 06 Mar 2009 10:29:12 +1100 (EST) Received: from [192.168.5.24] (melho0.aconex.com [203.89.192.141]) by postoffice.aconex.com (Postfix) with ESMTP id 8E56692C285 for ; Fri, 6 Mar 2009 10:29:12 +1100 (EST) X-ASG-Orig-Subj: pcp-gui updates Subject: pcp-gui updates From: Nathan Scott To: pcp@oss.sgi.com Content-Type: text/plain Date: Fri, 06 Mar 2009 10:24:19 +1100 Message-Id: <1236295459.4267.18.camel@verge.scott.net.au> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1236295756 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.19541 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Changes committed to git://oss.sgi.com/nathans/pcp-gui.git aclocal.m4 | 91 +++++++++++++++++++++++++++---------- configure.in | 22 -------- images/GNUmakefile | 8 +-- m4/package_utilies.m4 | 91 +++++++++++++++++++++++++++---------- qa/src/dynamic/GNUmakefile.install | 16 ------ src/GNUmakefile | 2 src/chart/GNUmakefile | 2 src/chart/pmafm/GNUmakefile | 13 ----- src/chart/pmafm/pmchart | 5 -- src/chart/pmchart.pro.in | 2 src/include/builddefs.in | 7 -- src/include/buildmacros | 6 -- src/pmafm/GNUmakefile | 13 +++++ src/pmafm/pcp-gui.pmafm | 5 ++ 14 files changed, 163 insertions(+), 120 deletions(-) commit 2d6a5b3b430dda3fc5c1dccd768203655b39bb8d Author: Nathan Scott Date: Fri Mar 6 10:22:40 2009 +1100 Remove some unused macros from the build system. commit b25121432af3d6872c60f35f955b3ee3c5bb5161 Author: Nathan Scott Date: Thu Mar 5 07:56:12 2009 +1100 Switch dynamic pmda in qa to use a cross-platform build. commit 3360c45beff879f288e97b5eb97f5bc132f4cc35 Author: Nathan Scott Date: Wed Mar 4 18:27:06 2009 +1100 Add autotools magic for lex and yacc. commit 2b55a1873f7fbe80994dd7fadba11f889984053b Author: Nathan Scott Date: Wed Mar 4 18:22:51 2009 +1100 Move pmafm config to src level, it covers all PCP GUI tools. From nscott@aconex.com Thu Mar 5 23:00:10 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_73 autolearn=no version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n26509Ld189552 for ; Thu, 5 Mar 2009 23:00:10 -0600 X-ASG-Debug-ID: 1236315581-345601d00000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id A51F51C20078 for ; Thu, 5 Mar 2009 20:59:41 -0800 (PST) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id TRvI8DVOX2QVtwW9 for ; Thu, 05 Mar 2009 20:59:41 -0800 (PST) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 13A202A3019 for ; Fri, 6 Mar 2009 15:59:38 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id lYJV8KUDFq3WDDgO for ; Fri, 06 Mar 2009 15:59:38 +1100 (EST) Received: from [192.168.5.24] (melho0.aconex.com [203.89.192.141]) by postoffice.aconex.com (Postfix) with ESMTP id E3E0B92C2F8 for ; Fri, 6 Mar 2009 15:59:37 +1100 (EST) X-ASG-Orig-Subj: pcp updates (pcp-2.7.8-20090306) Subject: pcp updates (pcp-2.7.8-20090306) From: Nathan Scott To: pcp@oss.sgi.com Content-Type: text/plain Date: Fri, 06 Mar 2009 15:54:44 +1100 Message-Id: <1236315284.4267.100.camel@verge.scott.net.au> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1236315583 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.52 X-Barracuda-Spam-Status: No, SCORE=-1.52 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=BSF_RULE7568M X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.19563 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.50 BSF_RULE7568M Custom Rule 7568M X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Changes committed to git://oss.sgi.com/nathans/pcp.git VERSION.pcp | 2 +- configure.in | 6 +++--- debian/changelog | 6 ++++++ src/GNUmakefile | 4 ++-- src/include/builddefs.in | 2 +- src/include/buildrules | 3 +-- src/include/pcp.env | 11 ++--------- src/libpcp/src/win32.c | 17 ++++++++--------- src/pmclient/GNUmakefile | 3 +-- src/pmdas/linux/help | 1 + src/pmdas/linux/pmda.c | 8 ++++++++ src/pmdas/linux/proc_net_dev.c | 6 ++++-- src/pmdas/linux/proc_net_dev.h | 1 + src/pmdas/linux/root_linux | 1 + src/pmsignal/pmsignal.sh | 15 +++++++++++---- 15 files changed, 51 insertions(+), 35 deletions(-) commit f178a94e1c8a157ea4daeafbbcc7cf40e02b7719 Author: Nathan Scott Date: Fri Mar 6 15:56:31 2009 +1100 Bump version number date stamp. commit 6aea8a5d0a4822ed6854fb3941599f8d34a4ab64 Author: Nathan Scott Date: Fri Mar 6 15:52:04 2009 +1100 Add network.interface.running metric to capture this Linux net iface state. commit 08db8fedb49e38717902a8a8dc285189f2069acd Author: Nathan Scott Date: Fri Mar 6 15:51:07 2009 +1100 Allow pmsignal to send signals to multiple PIDs at once. commit 85e5833f0d04968e5c63921dac3c400e765a380b Author: Nathan Scott Date: Fri Mar 6 15:50:25 2009 +1100 Use RUN_IN_BUILD macro for pmclient so all platforms settings picked up. commit 96e317976fa6d8c9ba3a63a02f16496b875df68a Author: Nathan Scott Date: Thu Mar 5 15:13:46 2009 +1100 Remove eol backquotes from AC_OUTPUT macro - confuses win32 autoconf. commit 32de42f4669f28b243eaf168c93b44b81999d7f0 Author: Nathan Scott Date: Thu Mar 5 15:04:32 2009 +1100 Put pmconfig earlier on the build path, so Win32 builds can use it. commit 5918abb80c86ee999a32290d3eee4cb3cbde5c28 Author: Nathan Scott Date: Wed Mar 4 16:27:18 2009 +1100 Tweak startup order of net vs sockets for windows. commit bd968132f5fad85d6f127aa296de086b4502dc62 Author: Nathan Scott Date: Wed Mar 4 16:25:13 2009 +1100 Make Windows process startup less chatty. commit 5583f66be26f72586c1ffae231d4da15c5123122 Author: Nathan Scott Date: Wed Mar 4 15:43:39 2009 +1100 Put library build options all on one line. This is so that we don't get spurious output in QA tests installing PMDAs, which currently filter these lines out (fails if they're split in the middle, over two lines). From mort@sgi.com Fri Mar 6 12:28:01 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n26IS0jS226540 for ; Fri, 6 Mar 2009 12:28:00 -0600 Received: from attica.americas.sgi.com (attica.americas.sgi.com [128.162.236.44]) by relay1.corp.sgi.com (Postfix) with ESMTP id 571618F80CE for ; Fri, 6 Mar 2009 10:27:32 -0800 (PST) Received: by attica.americas.sgi.com (Postfix, from userid 44682) id EC6DD14155A61; Fri, 6 Mar 2009 12:27:31 -0600 (CST) Date: Fri, 6 Mar 2009 12:27:31 -0600 From: Martin Hicks To: pcp@oss.sgi.com Subject: pcp updates Message-ID: <20090306182731.GM30461@alcatraz.americas.sgi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean I pulled Nathan's changes after taking a quick peek at them. I also added one fix for the IB PMDA and also merged the cluster PMDA and lustre PMDA (including nathan's fixes)> mh From makc@iinet.net.au Sat Mar 7 07:52:47 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n27DqkFr020421 for ; Sat, 7 Mar 2009 07:52:47 -0600 X-ASG-Debug-ID: 1236433939-419803c40000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from outbound.icp-qv1-irony-out4.iinet.net.au (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 1EC841C2547A for ; Sat, 7 Mar 2009 05:52:19 -0800 (PST) Received: from outbound.icp-qv1-irony-out4.iinet.net.au (outbound.icp-qv1-irony-out4.iinet.net.au [203.59.1.150]) by cuda.sgi.com with ESMTP id 5rxbWm0xFjZro0Fm for ; Sat, 07 Mar 2009 05:52:19 -0800 (PST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEAFcKsknL2Rwk/2dsb2JhbADUCYQFBg X-IronPort-AV: E=Sophos;i="4.38,318,1233500400"; d="scan'208";a="321667302" Received: from unknown (HELO aldan.crabbed.net) ([203.217.28.36]) by outbound.icp-qv1-irony-out4.iinet.net.au with ESMTP; 07 Mar 2009 22:50:41 +0900 Received: from aldan.crabbed.net (localhost [127.0.0.1]) by aldan.crabbed.net (SGI-8.12.11.20060308/8.12.11) with ESMTP id n27Doerj019187; Sun, 8 Mar 2009 00:50:40 +1100 (EST) Received: (from makc@localhost) by aldan.crabbed.net (SGI-8.12.11.20060308/8.12.11/Submit) id n27DoeWC019098; Sun, 8 Mar 2009 00:50:40 +1100 (EST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18866.31663.926735.91528@aldan.crabbed.net> Date: Sun, 8 Mar 2009 00:50:39 +1100 From: Max Matveev To: Martin Hicks Cc: pcp@oss.sgi.com X-ASG-Orig-Subj: Re: [pcp] pcp updates Subject: Re: [pcp] pcp updates In-Reply-To: <20090306182731.GM30461@alcatraz.americas.sgi.com> References: <20090306182731.GM30461@alcatraz.americas.sgi.com> X-Mailer: VM 7.17 under 21.4 (patch 15) "Security Through Obscurity" XEmacs Lucid X-Barracuda-Connect: outbound.icp-qv1-irony-out4.iinet.net.au[203.59.1.150] X-Barracuda-Start-Time: 1236433941 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0046 1.0000 -1.9911 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.99 X-Barracuda-Spam-Status: No, SCORE=-1.99 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.19691 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean On Fri, 6 Mar 2009 12:27:31 -0600, Martin Hicks wrote: mort> I also added one fix for the IB PMDA http://oss.sgi.com/cgi-bin/gitweb.cgi?p=mort/pcp.git;a=blobdiff;f=src/pmdas/ib/ib.c;h=cec36941419a53778226041ca9d8a90acf1ea24a;hp=ba053171277c01ebc10009e2d870beaed10ba055;hb=d1daf8b038a4e9c808fb09a37cf1ffe9687cc501;hpb=9d0d1715f06e0ca238f794c884a297baf7a8f9ca Strictly speaking you cannot rely on umad_release_port() not to stuff ca_name and portnum, the fact that it does not do it now, just like the fact that it didn't do any allocation at all in 1.2 timeframe, does not mean you're not going to get into some weird use-after-free next time OFED people change the library. max PS. And it's tabs, not spaces for indentation. From mort@bork.org Sat Mar 7 11:18:35 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n27HIYE2028817 for ; Sat, 7 Mar 2009 11:18:35 -0600 X-ASG-Debug-ID: 1236446288-5f5a00740000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from darwin.bork.org (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 0B3851C259B5 for ; Sat, 7 Mar 2009 09:18:08 -0800 (PST) Received: from darwin.bork.org (darwin.bork.org [65.49.60.145]) by cuda.sgi.com with ESMTP id 9Mq5Mc01Dx1dB0xC for ; Sat, 07 Mar 2009 09:18:08 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by darwin.bork.org (Postfix) with ESMTP id C8048194E9; Sat, 7 Mar 2009 12:17:40 -0500 (EST) Received: from darwin.bork.org ([127.0.0.1]) by localhost (darwin.bork.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id yU+zSHvg-zKP; Sat, 7 Mar 2009 12:17:40 -0500 (EST) Received: from socrates.bork.org (localhost [127.0.0.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "socrates.bork.org", Issuer "Bork Consulting CA" (verified OK)) by darwin.bork.org (Postfix) with ESMTPS id 8A17E192B5; Sat, 7 Mar 2009 12:17:40 -0500 (EST) Received: by socrates.bork.org (Postfix, from userid 1000) id 16A90CBB67; Sat, 7 Mar 2009 12:18:07 -0500 (EST) Date: Sat, 7 Mar 2009 12:18:07 -0500 From: Martin Hicks To: Max Matveev Cc: Martin Hicks , pcp@oss.sgi.com X-ASG-Orig-Subj: Re: [pcp] pcp updates Subject: Re: [pcp] pcp updates Message-ID: <20090307171807.GB6518@socrates.bork.org> References: <20090306182731.GM30461@alcatraz.americas.sgi.com> <18866.31663.926735.91528@aldan.crabbed.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <18866.31663.926735.91528@aldan.crabbed.net> User-Agent: Mutt/1.5.18 (2008-05-17) X-Barracuda-Connect: darwin.bork.org[65.49.60.145] X-Barracuda-Start-Time: 1236446290 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0022 1.0000 -2.0064 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.01 X-Barracuda-Spam-Status: No, SCORE=-2.01 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.19703 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean On Sun, Mar 08, 2009 at 12:50:39AM +1100, Max Matveev wrote: > On Fri, 6 Mar 2009 12:27:31 -0600, Martin Hicks wrote: > > Strictly speaking you cannot rely on umad_release_port() not to stuff > ca_name and portnum, the fact that it does not do it now, just like > the fact that it didn't do any allocation at all in 1.2 timeframe, > does not mean you're not going to get into some weird use-after-free > next time OFED people change the library. I realize that I'm exploiting a particular behaviour in the ibumad library. I've also filed a bug against the ibumad library and hopefully someone will fix that in a future release. As it stands now, I had a machine with about 300MB of leaked memory over 25 days due to this bug. > PS. And it's tabs, not spaces for indentation. It looks like the file is using a mix of tabs and spaces. mh From makc@iinet.net.au Sat Mar 7 16:54:35 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n27MsYDa042745 for ; Sat, 7 Mar 2009 16:54:35 -0600 X-ASG-Debug-ID: 1236466444-7da902540000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from outbound.icp-qv1-irony-out3.iinet.net.au (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id BF5EF17CF16 for ; Sat, 7 Mar 2009 14:54:05 -0800 (PST) Received: from outbound.icp-qv1-irony-out3.iinet.net.au (outbound.icp-qv1-irony-out3.iinet.net.au [203.59.1.148]) by cuda.sgi.com with ESMTP id 8I1LiC105K8fFcJY for ; Sat, 07 Mar 2009 14:54:05 -0800 (PST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEAJyJsknL2Rwk/2dsb2JhbADTMoQFBg X-IronPort-AV: E=Sophos;i="4.38,320,1233500400"; d="scan'208";a="398244680" Received: from unknown (HELO aldan.crabbed.net) ([203.217.28.36]) by outbound.icp-qv1-irony-out3.iinet.net.au with ESMTP; 08 Mar 2009 07:52:27 +0900 Received: from aldan.crabbed.net (localhost [127.0.0.1]) by aldan.crabbed.net (SGI-8.12.11.20060308/8.12.11) with ESMTP id n27MqQB4020583; Sun, 8 Mar 2009 09:52:26 +1100 (EST) Received: (from makc@localhost) by aldan.crabbed.net (SGI-8.12.11.20060308/8.12.11/Submit) id n27MqQmq020586; Sun, 8 Mar 2009 09:52:26 +1100 (EST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18866.64170.356813.611013@aldan.crabbed.net> Date: Sun, 8 Mar 2009 09:52:26 +1100 From: Max Matveev To: Martin Hicks Cc: pcp@oss.sgi.com X-ASG-Orig-Subj: Re: [pcp] pcp updates Subject: Re: [pcp] pcp updates In-Reply-To: <20090307171807.GB6518@socrates.bork.org> References: <20090306182731.GM30461@alcatraz.americas.sgi.com> <18866.31663.926735.91528@aldan.crabbed.net> <20090307171807.GB6518@socrates.bork.org> X-Mailer: VM 7.17 under 21.4 (patch 15) "Security Through Obscurity" XEmacs Lucid X-Barracuda-Connect: outbound.icp-qv1-irony-out3.iinet.net.au[203.59.1.148] X-Barracuda-Start-Time: 1236466449 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0790 1.0000 -1.5200 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.52 X-Barracuda-Spam-Status: No, SCORE=-1.52 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.19727 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean On Sat, 7 Mar 2009 12:18:07 -0500, Martin Hicks wrote: mort> On Sun, Mar 08, 2009 at 12:50:39AM +1100, Max Matveev wrote: >> On Fri, 6 Mar 2009 12:27:31 -0600, Martin Hicks wrote: >> >> Strictly speaking you cannot rely on umad_release_port() not to stuff >> ca_name and portnum, the fact that it does not do it now, just like >> the fact that it didn't do any allocation at all in 1.2 timeframe, >> does not mean you're not going to get into some weird use-after-free >> next time OFED people change the library. mort> I realize that I'm exploiting a particular behaviour in the ibumad mort> library. I've also filed a bug against the ibumad library and hopefully mort> someone will fix that in a future release. You can add ca_name and portnum into the local_port_t and make release/get independent of the shenanigans of libibumad. mort> As it stands now, I had a machine with about 300MB of leaked memory over mort> 25 days due to this bug. I agree that there is a bug, I just don't thing the fix is the right one. >> PS. And it's tabs, not spaces for indentation. mort> It looks like the file is using a mix of tabs and spaces. Basic offset (a unit of indentation) is 4 spaces, 2 basic units are converted to a tab. In vi it's set shiftwdith=4 set tabspace=8 max From aisha.hani@up-uk.com Sun Mar 8 11:06:06 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_50 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n28G653g088216 for ; Sun, 8 Mar 2009 11:06:06 -0500 X-ASG-Debug-ID: 1236528336-140c01bd0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from windows6.internet-webhosting.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 3FCF81C271E9; Sun, 8 Mar 2009 09:05:37 -0700 (PDT) Received: from windows6.internet-webhosting.com (Win6.internet-webhosting.com [202.75.36.46]) by cuda.sgi.com with ESMTP id KUrWjO55YfBTQAAv; Sun, 08 Mar 2009 09:05:37 -0700 (PDT) Received: from localhost ([127.0.0.1]) by windows6.internet-webhosting.com with MailEnable ESMTP; Mon, 09 Mar 2009 00:04:34 +0800 Received: from 60.52.97.78 ([60.52.97.78]) by webmail.up-uk.com (Horde MIME library) with HTTP; Mon, 09 Mar 2009 00:04:34 +0800 Message-ID: <20090309000434.de8qb8bo9c800swc@webmail.up-uk.com> Date: Mon, 09 Mar 2009 00:04:34 +0800 From: aisha.hani@up-uk.com To: undisclosed-recipients:; X-ASG-Orig-Subj: please reply Subject: please reply MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.6) X-Barracuda-Connect: Win6.internet-webhosting.com[202.75.36.46] X-Barracuda-Start-Time: 1236528341 X-Barracuda-Bayes: INNOCENT GLOBAL 0.6587 1.0000 1.0772 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: 1.08 X-Barracuda-Spam-Status: No, SCORE=1.08 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=NO_REAL_NAME X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.19774 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.00 NO_REAL_NAME From: does not include a real name X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean HI I know you will be surprise to read from someone relatively unknown to =20 you. My name is Miss. Aisha Hani Abdullah. Before now, I must say that =20 I am very uncomfortable sending this message to you without knowing =20 truly if you misconstrue the importance and secrecy of this deal and =20 decide to go public which will affect my carrier and the future of =20 this deal. I feel safe sending you this business proposal, having gone through =20 your contact on the Internet, even though this medium (Internet) has =20 been greatly abused, I choose to reach you through this medium =20 because it still remain the surest and above all, the most secured =20 medium of communication. My company wants a product called (SAPHIRE BLUE STONE). It's used for =20 jewelries, necklace, wrist watch, marble ties etc. The only original =20 supplier of these MINERAL is in Malaysia. As such; my company needs =20 not less than one hundred to two hundred kg. Since you are in =20 Malaysia, I would you to handle this business. Please contact me via email, should you accept this offer: =20 (aisha_hani@up-uk.com) Regards Aisha Hani ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. From aisha.hani@up-uk.com Sun Mar 8 12:05:57 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n28H5uKk091053 for ; Sun, 8 Mar 2009 12:05:56 -0500 X-ASG-Debug-ID: 1236531923-17f700440000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from windows6.internet-webhosting.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id DC86C1C272B3; Sun, 8 Mar 2009 10:05:24 -0700 (PDT) Received: from windows6.internet-webhosting.com (Win6.internet-webhosting.com [202.75.36.46]) by cuda.sgi.com with ESMTP id bGDHhHkG0o3mYu7D; Sun, 08 Mar 2009 10:05:24 -0700 (PDT) Received: from localhost ([127.0.0.1]) by windows6.internet-webhosting.com with MailEnable ESMTP; Mon, 09 Mar 2009 00:55:12 +0800 Received: from 60.52.97.78 ([60.52.97.78]) by webmail.up-uk.com (Horde MIME library) with HTTP; Mon, 09 Mar 2009 00:55:11 +0800 Message-ID: <20090309005511.62zqyj9btw0s88ow@webmail.up-uk.com> Date: Mon, 09 Mar 2009 00:55:11 +0800 From: aisha.hani@up-uk.com To: undisclosed-recipients:; X-ASG-Orig-Subj: please reply Subject: please reply MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.6) X-Barracuda-Connect: Win6.internet-webhosting.com[202.75.36.46] X-Barracuda-Start-Time: 1236531931 X-Barracuda-Bayes: INNOCENT GLOBAL 0.6587 1.0000 1.0772 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: 1.08 X-Barracuda-Spam-Status: No, SCORE=1.08 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=NO_REAL_NAME X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.19778 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.00 NO_REAL_NAME From: does not include a real name X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean HI I know you will be surprise to read from someone relatively unknown to =20 you. My name is Miss. Aisha Hani Abdullah. Before now, I must say that =20 I am very uncomfortable sending this message to you without knowing =20 truly if you misconstrue the importance and secrecy of this deal and =20 decide to go public which will affect my carrier and the future of =20 this deal. I feel safe sending you this business proposal, having gone through =20 your contact on the Internet, even though this medium (Internet) has =20 been greatly abused, I choose to reach you through this medium =20 because it still remain the surest and above all, the most secured =20 medium of communication. My company wants a product called (SAPHIRE BLUE STONE). It's used for =20 jewelries, necklace, wrist watch, marble ties etc. The only original =20 supplier of these MINERAL is in Malaysia. As such; my company needs =20 not less than one hundred to two hundred kg. Since you are in =20 Malaysia, I would you to handle this business. Please contact me via email, should you accept this offer: =20 (aisha_hani@up-uk.com) Regards Aisha Hani ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. From aisha.hani@up-uk.com Sun Mar 8 12:51:49 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n28HpnCL093588 for ; Sun, 8 Mar 2009 12:51:49 -0500 X-ASG-Debug-ID: 1236534680-3c2700550000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from windows6.internet-webhosting.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id A194F1C27847 for ; Sun, 8 Mar 2009 10:51:21 -0700 (PDT) Received: from windows6.internet-webhosting.com (Win6.internet-webhosting.com [202.75.36.46]) by cuda.sgi.com with ESMTP id i0XkY6yoYqUE5jt2 for ; Sun, 08 Mar 2009 10:51:21 -0700 (PDT) Received: from localhost ([127.0.0.1]) by windows6.internet-webhosting.com with MailEnable ESMTP; Mon, 09 Mar 2009 01:30:13 +0800 Received: from 60.52.97.78 ([60.52.97.78]) by webmail.up-uk.com (Horde MIME library) with HTTP; Mon, 09 Mar 2009 01:30:11 +0800 Message-ID: <20090309013011.obd34qicg0sckwkc@webmail.up-uk.com> Date: Mon, 09 Mar 2009 01:30:11 +0800 From: aisha.hani@up-uk.com To: undisclosed-recipients:; X-ASG-Orig-Subj: please reply Subject: please reply MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.6) X-Barracuda-Connect: Win6.internet-webhosting.com[202.75.36.46] X-Barracuda-Start-Time: 1236534684 X-Barracuda-Bayes: INNOCENT GLOBAL 0.6587 1.0000 1.0772 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: 1.08 X-Barracuda-Spam-Status: No, SCORE=1.08 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=NO_REAL_NAME X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.19778 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.00 NO_REAL_NAME From: does not include a real name X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean HI I know you will be surprise to read from someone relatively unknown to =20 you. My name is Miss. Aisha Hani Abdullah. Before now, I must say that =20 I am very uncomfortable sending this message to you without knowing =20 truly if you misconstrue the importance and secrecy of this deal and =20 decide to go public which will affect my carrier and the future of =20 this deal. I feel safe sending you this business proposal, having gone through =20 your contact on the Internet, even though this medium (Internet) has =20 been greatly abused, I choose to reach you through this medium =20 because it still remain the surest and above all, the most secured =20 medium of communication. My company wants a product called (SAPHIRE BLUE STONE). It's used for =20 jewelries, necklace, wrist watch, marble ties etc. The only original =20 supplier of these MINERAL is in Malaysia. As such; my company needs =20 not less than one hundred to two hundred kg. Since you are in =20 Malaysia, I would you to handle this business. Please contact me via email, should you accept this offer: =20 (aisha_hani@up-uk.com) Regards Aisha Hani ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. From mort@sgi.com Mon Mar 9 11:49:41 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n29GneBE148473 for ; Mon, 9 Mar 2009 11:49:40 -0500 Received: from attica.americas.sgi.com (attica.americas.sgi.com [128.162.236.44]) by relay2.corp.sgi.com (Postfix) with ESMTP id C2623304048; Mon, 9 Mar 2009 09:49:13 -0700 (PDT) Received: by attica.americas.sgi.com (Postfix, from userid 44682) id 91A071410E696; Mon, 9 Mar 2009 11:49:13 -0500 (CDT) Date: Mon, 9 Mar 2009 11:49:13 -0500 From: Martin Hicks To: Max Matveev Cc: pcp@oss.sgi.com Subject: Re: [pcp] pcp updates Message-ID: <20090309164913.GP30461@alcatraz.americas.sgi.com> References: <20090306182731.GM30461@alcatraz.americas.sgi.com> <18866.31663.926735.91528@aldan.crabbed.net> <20090307171807.GB6518@socrates.bork.org> <18866.64170.356813.611013@aldan.crabbed.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <18866.64170.356813.611013@aldan.crabbed.net> User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean On Sun, Mar 08, 2009 at 09:52:26AM +1100, Max Matveev wrote: > On Sat, 7 Mar 2009 12:18:07 -0500, Martin Hicks wrote: > > mort> On Sun, Mar 08, 2009 at 12:50:39AM +1100, Max Matveev wrote: > >> On Fri, 6 Mar 2009 12:27:31 -0600, Martin Hicks wrote: > >> > >> Strictly speaking you cannot rely on umad_release_port() not to stuff > >> ca_name and portnum, the fact that it does not do it now, just like > >> the fact that it didn't do any allocation at all in 1.2 timeframe, > >> does not mean you're not going to get into some weird use-after-free > >> next time OFED people change the library. > > mort> I realize that I'm exploiting a particular behaviour in the ibumad > mort> library. I've also filed a bug against the ibumad library and hopefully > mort> someone will fix that in a future release. > You can add ca_name and portnum into the local_port_t and make release/get > independent of the shenanigans of libibumad. > One thing that concerned me while fixing this up is that madrpc_init() is never called, but the mad_rpc_open_port() is used. The PMDA seems to do most of what madrpc_init() does except for registering the RPC mad_register_client() stuff. Here's the changes you requested. Does this look better? mh diff --git a/src/pmdas/ib/ib.c b/src/pmdas/ib/ib.c index cec3694..ccfb079 100644 --- a/src/pmdas/ib/ib.c +++ b/src/pmdas/ib/ib.c @@ -38,6 +38,16 @@ #define IBPMDA_MAX_HCAS (16) typedef struct local_port_s { + /* + * Cache the ca_name and portnum to avoid a bug in libibumad that + * leaks memory when umad_port_get() is called over and over. + * With ca_name and portnum we can safely do umad_port_release() + * first and then umad_port_get() without fear that some future + * version of release() will deallocate port->ca_name and + * port->portnum. + */ + char ca_name[UMAD_CA_NAME_LEN]; + int portnum; umad_port_t *ump; void * hndl; int needsupdate; @@ -172,15 +182,18 @@ static void openumadport (hca_state_t *hst, umad_port_t *port, void *arg) { void *hndl = arg; + local_port_t *lp; if ((hndl = mad_rpc_open_port(port->ca_name, port->portnum, mgmt_classes, ARRAYSZ(mgmt_classes))) == NULL) { __pmNotifyErr(LOG_ERR, "Cannot open port handle for %s:%d\n", port->ca_name, port->portnum); } - - hst->lports[port->portnum].hndl = hndl; - hst->lports[port->portnum].ump = port; + lp = &hst->lports[port->portnum]; + strcpy(lp->ca_name, port->ca_name); + lp->portnum = port->portnum; + lp->ump = port; + lp->hndl = hndl; } int @@ -504,9 +517,8 @@ ib_fetch_val(pmdaMetric *mdesc, unsigned int inst, pmAtomValue *atom) /* The state of the local port used for queries is checked * once per fetch request */ if (lp->needsupdate) { - umad_release_port(lp->ump); - if (umad_get_port (lp->ump->ca_name, lp->ump->portnum, - lp->ump) != 0) { + umad_release_port(lp->ump); + if (umad_get_port(lp->ca_name, lp->portnum, lp->ump) != 0) { __pmNotifyErr (LOG_ERR, "Cannot get state of the port %s:%d\n", lp->ump->ca_name, lp->ump->portnum); From aisha.hani@up-uk.com Mon Mar 9 15:23:17 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n29KNGi2159771 for ; Mon, 9 Mar 2009 15:23:17 -0500 X-ASG-Debug-ID: 1236630167-0c8802880000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from windows6.internet-webhosting.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 0243B1C2BAA7; Mon, 9 Mar 2009 13:22:48 -0700 (PDT) Received: from windows6.internet-webhosting.com (Win6.internet-webhosting.com [202.75.36.46]) by cuda.sgi.com with ESMTP id PVqEjyqSbe9745ND; Mon, 09 Mar 2009 13:22:48 -0700 (PDT) Received: from localhost ([127.0.0.1]) by windows6.internet-webhosting.com with MailEnable ESMTP; Mon, 09 Mar 2009 03:52:47 +0800 Received: from 60.52.97.78 ([60.52.97.78]) by webmail.up-uk.com (Horde MIME library) with HTTP; Mon, 09 Mar 2009 03:52:46 +0800 Message-ID: <20090309035246.6ti09igw00sk0k0s@webmail.up-uk.com> Date: Mon, 09 Mar 2009 03:52:46 +0800 From: aisha.hani@up-uk.com To: undisclosed-recipients:; X-ASG-Orig-Subj: please reply Subject: please reply MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.6) X-Barracuda-Connect: Win6.internet-webhosting.com[202.75.36.46] X-Barracuda-Start-Time: 1236630173 X-Barracuda-Bayes: INNOCENT GLOBAL 0.6587 1.0000 1.0772 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: 1.08 X-Barracuda-Spam-Status: No, SCORE=1.08 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=NO_REAL_NAME X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.19878 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.00 NO_REAL_NAME From: does not include a real name X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean HI I know you will be surprise to read from someone relatively unknown to =20 you. My name is Miss. Aisha Hani Abdullah. Before now, I must say that =20 I am very uncomfortable sending this message to you without knowing =20 truly if you misconstrue the importance and secrecy of this deal and =20 decide to go public which will affect my carrier and the future of =20 this deal. I feel safe sending you this business proposal, having gone through =20 your contact on the Internet, even though this medium (Internet) has =20 been greatly abused, I choose to reach you through this medium =20 because it still remain the surest and above all, the most secured =20 medium of communication. My company wants a product called (SAPHIRE BLUE STONE). It's used for =20 jewelries, necklace, wrist watch, marble ties etc. The only original =20 supplier of these MINERAL is in Malaysia. As such; my company needs =20 not less than one hundred to two hundred kg. Since you are in =20 Malaysia, I would you to handle this business. Please contact me via email, should you accept this offer: =20 (aisha_hani@up-uk.com) Regards Aisha Hani ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. From kenj@internode.on.net Mon Mar 9 16:24:26 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n29LOOIk161212 for ; Mon, 9 Mar 2009 16:24:25 -0500 X-ASG-Debug-ID: 1236633838-0cce01470000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail.internode.on.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 9B31A1C2BAA2 for ; Mon, 9 Mar 2009 14:23:59 -0700 (PDT) Received: from mail.internode.on.net (bld-mail05.adl2.internode.on.net [203.16.214.69]) by cuda.sgi.com with ESMTP id 6By6acrBjL5AS4ff for ; Mon, 09 Mar 2009 14:23:59 -0700 (PDT) Received: from [124.183.77.157] (unverified [124.183.77.157]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 43209188-1927428 for ; Tue, 10 Mar 2009 07:53:57 +1030 (CDT) X-ASG-Orig-Subj: pcpqa updates Subject: pcpqa updates From: Ken McDonell Reply-To: kenj@internode.on.net To: pcp@oss.sgi.com Content-Type: text/plain Date: Tue, 10 Mar 2009 07:25:13 +1100 Message-Id: <1236630313.16663.0.camel@bozo-laptop.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: bld-mail05.adl2.internode.on.net[203.16.214.69] X-Barracuda-Start-Time: 1236633840 X-Barracuda-Bayes: INNOCENT GLOBAL 0.4610 1.0000 0.0000 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: 0.50 X-Barracuda-Spam-Status: No, SCORE=0.50 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=BSF_RULE7568M X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.19882 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.50 BSF_RULE7568M Custom Rule 7568M X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Changes committed to git://oss.sgi.com/pcp/pcpqa.git 163 | 14 ++++++++------ src-oss/torture-eol.c | 32 +++++++++++++++++++++++++++----- 2 files changed, 35 insertions(+), 11 deletions(-) commit c3165483ed9c52032b4e3d0b17aa9b516ea935d6 Author: Ken McDonell Date: Thu Mar 5 05:44:34 2009 +1100 Reduce running time for 163 Add -q option to eol_torture so that forward scan starts from the third last record in the archive, not the start of the archive. Also changed the order of truncation testing from largest to smallest so input archive does not need to be copied at each iteration. From nscott@aconex.com Mon Mar 9 23:20:35 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2A4KXfP181327 for ; Mon, 9 Mar 2009 23:20:35 -0500 X-ASG-Debug-ID: 1236658808-3c7902660000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 16319183B1A for ; Mon, 9 Mar 2009 21:20:08 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id lM5zsp4vNSCOJBqy for ; Mon, 09 Mar 2009 21:20:08 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id D5D50718FDA; Tue, 10 Mar 2009 15:20:05 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id AAZvKr617IVu2WNt; Tue, 10 Mar 2009 15:20:05 +1100 (EST) Received: from gatekeeper.aconex.com (unknown [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id CB53992C2F6; Tue, 10 Mar 2009 15:20:05 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id BC075C7A30; Tue, 10 Mar 2009 15:20:05 +1100 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id N5uoKJv6+Pvd; Tue, 10 Mar 2009 15:20:05 +1100 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 01DD2C7A0C; Tue, 10 Mar 2009 15:20:05 +1100 (EST) Date: Tue, 10 Mar 2009 15:20:04 +1100 (EST) From: Nathan Scott To: kenj@internode.on.net Cc: pcp@oss.sgi.com Message-ID: <1106662132.213471236658804682.JavaMail.root@mail-au.aconex.com> In-Reply-To: <1236630313.16663.0.camel@bozo-laptop.localdomain> X-ASG-Orig-Subj: Re: [pcp] pcpqa updates Subject: Re: [pcp] pcpqa updates MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1236658810 X-Barracuda-Bayes: INNOCENT GLOBAL 0.4528 1.0000 0.0000 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.19908 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean Thanks! -- Nathan ----- "Ken McDonell" wrote: > Changes committed to git://oss.sgi.com/pcp/pcpqa.git > > 163 | 14 ++++++++------ > src-oss/torture-eol.c | 32 +++++++++++++++++++++++++++----- > 2 files changed, 35 insertions(+), 11 deletions(-) > From kenj@internode.on.net Tue Mar 10 00:28:57 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2A5SaMq197431 for ; Tue, 10 Mar 2009 00:28:56 -0500 X-ASG-Debug-ID: 1236662868-693200c40000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail.internode.on.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 521861C2D21B for ; Mon, 9 Mar 2009 22:27:49 -0700 (PDT) Received: from mail.internode.on.net (bld-mail08.adl2.internode.on.net [203.16.214.72]) by cuda.sgi.com with ESMTP id 1XljbkgbFpyD36Wa for ; Mon, 09 Mar 2009 22:27:49 -0700 (PDT) Received: from [192.168.1.65] (unverified [118.208.196.75]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 43733397-1927428 for ; Tue, 10 Mar 2009 15:57:39 +1030 (CDT) X-ASG-Orig-Subj: pcpqa.git updates Subject: pcpqa.git updates From: Ken McDonell Reply-To: kenj@internode.on.net To: pcp@oss.sgi.com Content-Type: text/plain Date: Tue, 10 Mar 2009 16:27:33 +1100 Message-Id: <1236662853.26165.17.camel@bozo> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: bld-mail08.adl2.internode.on.net[203.16.214.72] X-Barracuda-Start-Time: 1236662891 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0777 1.0000 -1.5278 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.53 X-Barracuda-Spam-Status: No, SCORE=-1.53 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.19911 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Changes committed to git://oss.sgi.com/pcp/pcpqa.git src-oss/proc_test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit d7dcc2663a399a23f3a79ee11cb0170a33e7926f Author: Ken McDonell Date: Tue Mar 10 16:26:20 2009 +1100 Clean up compilation warnings. From mort@sgi.com Tue Mar 10 12:34:38 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2AHYI1V220031 for ; Tue, 10 Mar 2009 12:34:38 -0500 Received: from attica.americas.sgi.com (attica.americas.sgi.com [128.162.236.44]) by relay2.corp.sgi.com (Postfix) with ESMTP id 166C4304071 for ; Tue, 10 Mar 2009 10:33:55 -0700 (PDT) Received: by attica.americas.sgi.com (Postfix, from userid 44682) id 81FC31410E696; Tue, 10 Mar 2009 12:28:25 -0500 (CDT) Date: Tue, 10 Mar 2009 12:28:25 -0500 From: Martin Hicks To: pcp@oss.sgi.com Subject: reserving a domain ID Message-ID: <20090310172825.GR30461@alcatraz.americas.sgi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean It looks like one of SGI's (few) remaining closed-source PMDAs has a domain conflict with one in the git tree. Can I just reserve one for this closed-source PMDA? r1lead:~ # /etc/init.d/pcp start Performance Co-Pilot rebuilding PMNS ... Make.stdpmid: Error: duplicate for domain number "88" ... stdpmid.pcp:SYSTEMTAP 88 stdpmid.propack:SDR 88 done Performance Co-Pilot starting PMCD (logfile is /var/log/pcp/pmcd/pmcd.done ... Performance Co-Pilot starting archive loggers ... done diff --git a/src/pmns/stdpmid.add-on b/src/pmns/stdpmid.add-on index bf32d8a..5c3203d 100644 --- a/src/pmns/stdpmid.add-on +++ b/src/pmns/stdpmid.add-on @@ -32,6 +32,7 @@ RPCBIND 86 IB 91 ISCSI 92 LUSTRECOMM 93 +# SDR 94 - Reserved for SGI DBPING 244 SYBPING 251 INFMXPING 252 Does anyone object to something like this? mh From mort@sgi.com Tue Mar 10 12:58:23 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2AHw3vl220691 for ; Tue, 10 Mar 2009 12:58:23 -0500 Received: from attica.americas.sgi.com (attica.americas.sgi.com [128.162.236.44]) by relay1.corp.sgi.com (Postfix) with ESMTP id CCD2B8F80B6 for ; Tue, 10 Mar 2009 10:57:39 -0700 (PDT) Received: by attica.americas.sgi.com (Postfix, from userid 44682) id 83A981410E696; Tue, 10 Mar 2009 12:57:39 -0500 (CDT) Date: Tue, 10 Mar 2009 12:57:39 -0500 From: Martin Hicks To: pcp@oss.sgi.com Subject: pcp updates Message-ID: <20090310175739.GT30461@alcatraz.americas.sgi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Hi, 2nd crack a fixing the IB memory leak. Also I think I fixed the problem with the clusterpmda and the IB metrics. I think this really highlights the fact that every PMDA that supports being loaded via a local context should use unique names for its variables, such as 'metrictab'. I'll send in a patch soon that addresses this problem with the ib PMDA. In git://oss.sgi.com/mort/pcp.git commit 8c9efdfbe56043037585c6492f7caec41967583d Author: Martin Hicks Date: Tue Mar 10 10:17:58 2009 -0500 Fix memory leak in IB pmda Calling umad_get_port() repeatedly leaks memory because the pkeys structures are re-allocated each time. This adds the ca_name and portnum to the local_port_t to guard against future versions of libibumad de-allocating either of those fields during umad_port_release(). commit ec0545b9e80dc1a411da74e5484ae834f09e126d Author: Martin Hicks Date: Tue Mar 10 11:33:20 2009 -0500 Rename metrictab variable in cluster PMDA This avoids a symbol name clash when loading the IB PMDA via a local context. The IB initialization routine was trodding over the cluster PMDA's metrictab. commit 1848149b0af224ba337e66aad2ffcc0fce6e97a4 Author: Martin Hicks Date: Tue Mar 10 11:35:48 2009 -0500 Don't modify domain in ibpmda_init() This is handled by pmdaInit() in the case where an alternate domain is specified via the commandline or dispatch->domain From mort@sgi.com Tue Mar 10 15:19:33 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from relay.sgi.com (relay3.corp.sgi.com [198.149.34.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2AKJC6d226590 for ; Tue, 10 Mar 2009 15:19:33 -0500 Received: from attica.americas.sgi.com (attica.americas.sgi.com [128.162.236.44]) by relay3.corp.sgi.com (Postfix) with ESMTP id 39D6CAC003 for ; Tue, 10 Mar 2009 13:18:49 -0700 (PDT) Received: by attica.americas.sgi.com (Postfix, from userid 44682) id BEF321410E696; Tue, 10 Mar 2009 15:10:01 -0500 (CDT) Date: Tue, 10 Mar 2009 15:10:01 -0500 From: Martin Hicks To: pcp@oss.sgi.com Subject: how to change domain ID on daemon PMDA? Message-ID: <20090310201001.GV30461@alcatraz.americas.sgi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean I was trying to test changing the domain ID on the infiniband PMDA, but I wasn't able to make it work. Should it be as easy as changing the "-d" argument in /var/lib/pcp/config/pmcd/pmcd.conf and changing the ID in stdpmid.add-on and rebuilding the NS? mh From nscott@aconex.com Tue Mar 10 18:13:40 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2ANDJhq234265 for ; Tue, 10 Mar 2009 18:13:40 -0500 X-ASG-Debug-ID: 1236726774-771a00cc0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id EF332187F9A for ; Tue, 10 Mar 2009 16:12:55 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id BQwllhvvmo31rh28 for ; Tue, 10 Mar 2009 16:12:55 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 5535A2DA427; Wed, 11 Mar 2009 10:12:53 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id s7otFTYLhUG68xsA; Wed, 11 Mar 2009 10:12:53 +1100 (EST) Received: from gatekeeper.aconex.com (unknown [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 4620792C2F8; Wed, 11 Mar 2009 10:12:53 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 38214C7ACB; Wed, 11 Mar 2009 10:12:53 +1100 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gGzB1CQx0SMb; Wed, 11 Mar 2009 10:12:48 +1100 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 81CB7C7A14; Wed, 11 Mar 2009 10:12:48 +1100 (EST) Date: Wed, 11 Mar 2009 10:12:48 +1100 (EST) From: Nathan Scott To: Martin Hicks Cc: pcp@oss.sgi.com Message-ID: <546879598.224801236726768425.JavaMail.root@mail-au.aconex.com> In-Reply-To: <20090310172825.GR30461@alcatraz.americas.sgi.com> X-ASG-Orig-Subj: Re: [pcp] reserving a domain ID Subject: Re: [pcp] reserving a domain ID MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1236726775 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0078 1.0000 -1.9700 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.47 X-Barracuda-Spam-Status: No, SCORE=-1.47 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=BSF_RULE_7582B X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.19980 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.50 BSF_RULE_7582B Custom Rule 7582B X-Virus-Status: Clean ----- "Martin Hicks" wrote: > It looks like one of SGI's (few) remaining closed-source PMDAs has a > domain conflict with one in the git tree. > > Can I just reserve one for this closed-source PMDA? There's plenty of precendent for doing so... > r1lead:~ # /etc/init.d/pcp start > Performance Co-Pilot rebuilding PMNS ... Make.stdpmid: Error: > duplicate > for domain number "88" ... > stdpmid.pcp:SYSTEMTAP 88 > stdpmid.propack:SDR 88 > ... > --- a/src/pmns/stdpmid.add-on > +++ b/src/pmns/stdpmid.add-on > @@ -32,6 +32,7 @@ RPCBIND 86 > IB 91 > ISCSI 92 > LUSTRECOMM 93 > +# SDR 94 - Reserved for SGI > DBPING 244 > SYBPING 251 > INFMXPING 252 But, add it without the comment - just like all the others. cheers. -- Nathan From goodwinos@gmail.com Tue Mar 10 18:39:31 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2ANdAcG235980 for ; Tue, 10 Mar 2009 18:39:31 -0500 X-ASG-Debug-ID: 1236728304-5a5101020000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail1.ains.net.au (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 52CF01C314D2 for ; Tue, 10 Mar 2009 16:38:25 -0700 (PDT) Received: from mail1.ains.net.au (mail1.ains.net.au [202.126.109.235]) by cuda.sgi.com with ESMTP id HEMiOpq0yjyCV0nG for ; Tue, 10 Mar 2009 16:38:25 -0700 (PDT) Received: (qmail 17161 invoked by uid 1010); 10 Mar 2009 23:38:22 -0000 Received: from 202.134.251.84 by mail1 (envelope-from , uid 1003) with qmail-scanner-2.01 (clamdscan: 0.88.2/1500. Clear:RC:1(202.134.251.84):. Processed in 0.077484 secs); 10 Mar 2009 23:38:22 -0000 Received: from unknown (HELO ?192.168.1.129?) (202.134.251.84) by mail1.ains.net.au with ESMTP; 10 Mar 2009 23:38:22 -0000 Message-ID: <49B6F9ED.8000000@gmail.com> Date: Wed, 11 Mar 2009 10:38:21 +1100 From: Mark Goodwin Reply-To: goodwinos@gmail.com User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: Nathan Scott CC: Martin Hicks , pcp@oss.sgi.com X-ASG-Orig-Subj: Re: [pcp] reserving a domain ID Subject: Re: [pcp] reserving a domain ID References: <546879598.224801236726768425.JavaMail.root@mail-au.aconex.com> In-Reply-To: <546879598.224801236726768425.JavaMail.root@mail-au.aconex.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Barracuda-Connect: mail1.ains.net.au[202.126.109.235] X-Barracuda-Start-Time: 1236728327 X-Barracuda-Bayes: INNOCENT GLOBAL 0.3523 1.0000 -0.1448 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -0.14 X-Barracuda-Spam-Status: No, SCORE=-0.14 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.19982 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Nathan Scott wrote: ... >> +# SDR 94 - Reserved for SGI >> DBPING 244 >> SYBPING 251 >> INFMXPING 252 > > But, add it without the comment - just like all the others. > yes I agree. IMO we really want just one stdpmid file (rather than try and unify stdpmid.* during the build) and keep it in sync between the internal and public trees. Cheers -- Mark From nscott@aconex.com Tue Mar 10 19:06:12 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2B05qSj237014 for ; Tue, 10 Mar 2009 19:06:12 -0500 X-ASG-Debug-ID: 1236729927-526002580000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 79EE31C314BF for ; Tue, 10 Mar 2009 17:05:27 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id FeV17rTgVFYHfZVR for ; Tue, 10 Mar 2009 17:05:27 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 85F7B2DA975; Wed, 11 Mar 2009 11:05:26 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id DLEY8kGlROP5QClI; Wed, 11 Mar 2009 11:05:26 +1100 (EST) Received: from gatekeeper.aconex.com (unknown [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 731DA92C34B; Wed, 11 Mar 2009 11:05:26 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 60A37C7B50; Wed, 11 Mar 2009 11:05:26 +1100 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NJ40Fu4syRNR; Wed, 11 Mar 2009 11:05:21 +1100 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 9D1ADC7A14; Wed, 11 Mar 2009 11:05:21 +1100 (EST) Date: Wed, 11 Mar 2009 11:05:21 +1100 (EST) From: Nathan Scott To: Martin Hicks Cc: pcp@oss.sgi.com Message-ID: <300099219.225301236729921659.JavaMail.root@mail-au.aconex.com> In-Reply-To: <1232160267.225281236729778296.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: Re: [pcp] how to change domain ID on daemon PMDA? Subject: Re: [pcp] how to change domain ID on daemon PMDA? MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1236729928 X-Barracuda-Bayes: INNOCENT GLOBAL 0.3293 1.0000 -0.2292 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -0.23 X-Barracuda-Spam-Status: No, SCORE=-0.23 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.19984 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean ----- "Martin Hicks" wrote: > I was trying to test changing the domain ID on the infiniband PMDA, > but I wasn't able to make it work. > > Should it be as easy as changing the "-d" argument in > /var/lib/pcp/config/pmcd/pmcd.conf and changing the ID in > stdpmid.add-on > and rebuilding the NS? I don't think its that easy - IIRC, you need to ./Remove the first version, obliterate any reference to it in the pmns directory, and then edit domain.h and re-run ./Install. cheers. -- Nathan From nscott@aconex.com Tue Mar 10 19:25:34 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2B0PDYi237925 for ; Tue, 10 Mar 2009 19:25:34 -0500 X-ASG-Debug-ID: 1236731089-771a033f0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 6983D1882A7 for ; Tue, 10 Mar 2009 17:24:49 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id yNiJVnjGyLTebr6y for ; Tue, 10 Mar 2009 17:24:49 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id D4BF12C0014; Wed, 11 Mar 2009 11:07:03 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id y1D0FVrCtKc99N6N; Wed, 11 Mar 2009 11:07:03 +1100 (EST) Received: from gatekeeper.aconex.com (unknown [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id F41B492C34C; Wed, 11 Mar 2009 11:07:02 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id E6D09C7B35; Wed, 11 Mar 2009 11:07:02 +1100 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VLWDU30J-WCr; Wed, 11 Mar 2009 11:06:58 +1100 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 3C771C7B4A; Wed, 11 Mar 2009 11:06:58 +1100 (EST) Date: Wed, 11 Mar 2009 11:06:58 +1100 (EST) From: Nathan Scott To: Martin Hicks Cc: pcp@oss.sgi.com Message-ID: <1487342882.225341236730018269.JavaMail.root@mail-au.aconex.com> In-Reply-To: <20090310175739.GT30461@alcatraz.americas.sgi.com> X-ASG-Orig-Subj: Re: [pcp] pcp updates Subject: Re: [pcp] pcp updates MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1236731090 X-Barracuda-Bayes: INNOCENT GLOBAL 0.2028 1.0000 -0.8130 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -0.81 X-Barracuda-Spam-Status: No, SCORE=-0.81 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.19986 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean ----- "Martin Hicks" wrote: > Hi, > > 2nd crack a fixing the IB memory leak. > Also I think I fixed the problem with the clusterpmda and the IB > metrics. > > I think this really highlights the fact that every PMDA that supports > being loaded via a local context should use unique names for its > variables, such as 'metrictab'. I'll send in a patch soon that > addresses this problem with the ib PMDA. Does making metrictab "static" fix the problem? That seems simpler, if so... cheers. -- Nathan From nscott@aconex.com Tue Mar 10 21:55:56 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2B2tZgP245213 for ; Tue, 10 Mar 2009 21:55:55 -0500 X-ASG-Debug-ID: 1236740089-0183022f0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id C69A81C31E16 for ; Tue, 10 Mar 2009 19:54:50 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id v35Ktrjt1koHZODh for ; Tue, 10 Mar 2009 19:54:50 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 1992E2DB9AE for ; Wed, 11 Mar 2009 13:36:15 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id OxSzOfPiMNRNPErK for ; Wed, 11 Mar 2009 13:36:15 +1100 (EST) Received: from gatekeeper.aconex.com (unknown [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 05BFD92C285 for ; Wed, 11 Mar 2009 13:36:15 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id ED5EE4FD81 for ; Wed, 11 Mar 2009 13:36:14 +1100 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SA2HSWn2CiWq for ; Wed, 11 Mar 2009 13:36:11 +1100 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 40DD34FD82 for ; Wed, 11 Mar 2009 13:36:11 +1100 (EST) Date: Wed, 11 Mar 2009 13:36:11 +1100 (EST) From: Nathan Scott To: pcp@oss.sgi.com Message-ID: <2098340394.227081236738971283.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: pcp updates Subject: pcp updates MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1236740111 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.19996 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean Changes committed to git://oss.sgi.com/nathans/pcp.git debian/rules | 2 +- man/man1/pcpintro.1 | 10 ---------- src/cpan/LogSummary/LogSummary.pm | 8 +++++--- src/pmgenmap/pmgenmap.sh | 3 ++- src/pmsignal/pmsignal.sh | 5 +++-- 5 files changed, 11 insertions(+), 17 deletions(-) commit 7383bff11f35d10d43dc37945b0330829e9af38c Author: Nathan Scott Date: Wed Mar 11 13:29:15 2009 +1100 Fix debian packaging issue with the Perl logsummary module (missing files). commit b111ed411127722a455060b5994ebd817527ece2 Author: Nathan Scott Date: Wed Mar 11 12:58:16 2009 +1100 Improve regex and diagnostics in logsummary perl module. commit 83f84d44a3fab11e1141b49f28ab5cf3d685ea82 Author: Nathan Scott Date: Wed Mar 11 08:09:52 2009 +1100 Clarify usage message emitted by pmsignal. commit 25b76d5028da89ac55349372b9eff1a90fcc1d06 Author: Nathan Scott Date: Wed Mar 11 08:09:16 2009 +1100 Fix the Win32 build after a fresh git checkout. Evidently the Win32 git port converts from *nix to DOS line endings on checkout. This confuses the awk use in pmgenmap.sh, causing the build to fail with a mysterious "syntax error" message. Fixed by converting back to *nix form (using tr) before awk encounters the unexpected line endings. Something to watch out for, will almost surely bite us again somewhere else. commit 8d700e85c7749e10f172e8610508a43fc8b0609e Author: Nathan Scott Date: Wed Mar 11 08:05:13 2009 +1100 Update pcpintro, removing reference to no-longer-used env var. From makc@iinet.net.au Wed Mar 11 05:59:16 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2BAwsxm004276 for ; Wed, 11 Mar 2009 05:59:15 -0500 X-ASG-Debug-ID: 1236769089-7463032a0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from outbound.icp-qv1-irony-out2.iinet.net.au (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id C2A07189630 for ; Wed, 11 Mar 2009 03:58:10 -0700 (PDT) Received: from outbound.icp-qv1-irony-out2.iinet.net.au (outbound.icp-qv1-irony-out2.iinet.net.au [203.59.1.107]) by cuda.sgi.com with ESMTP id 96xp6dIZTjq8Kw50 for ; Wed, 11 Mar 2009 03:58:10 -0700 (PDT) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEAFM2t0nL2Rwk/2dsb2JhbADRL4QNBg X-IronPort-AV: E=Sophos;i="4.38,342,1233500400"; d="scan'208";a="448547947" Received: from unknown (HELO aldan.crabbed.net) ([203.217.28.36]) by outbound.icp-qv1-irony-out2.iinet.net.au with ESMTP; 11 Mar 2009 19:58:07 +0900 Received: from aldan.crabbed.net (localhost [127.0.0.1]) by aldan.crabbed.net (SGI-8.12.11.20060308/8.12.11) with ESMTP id n2BAw7ea025062; Wed, 11 Mar 2009 21:58:07 +1100 (EST) Received: (from makc@localhost) by aldan.crabbed.net (SGI-8.12.11.20060308/8.12.11/Submit) id n2BAw7YS025056; Wed, 11 Mar 2009 21:58:07 +1100 (EST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18871.39231.253753.365787@aldan.crabbed.net> Date: Wed, 11 Mar 2009 21:58:07 +1100 From: Max Matveev To: Martin Hicks Cc: pcp@oss.sgi.com X-ASG-Orig-Subj: Re: [pcp] how to change domain ID on daemon PMDA? Subject: Re: [pcp] how to change domain ID on daemon PMDA? In-Reply-To: <20090310201001.GV30461@alcatraz.americas.sgi.com> References: <20090310201001.GV30461@alcatraz.americas.sgi.com> X-Mailer: VM 7.17 under 21.4 (patch 15) "Security Through Obscurity" XEmacs Lucid X-Barracuda-Connect: outbound.icp-qv1-irony-out2.iinet.net.au[203.59.1.107] X-Barracuda-Start-Time: 1236769111 X-Barracuda-Bayes: INNOCENT GLOBAL 0.1602 1.0000 -1.0439 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.04 X-Barracuda-Spam-Status: No, SCORE=-1.04 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.20027 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean On Tue, 10 Mar 2009 15:10:01 -0500, Martin Hicks wrote: mort> I was trying to test changing the domain ID on the infiniband PMDA, mort> but I wasn't able to make it work. mort> Should it be as easy as changing the "-d" argument in mort> /var/lib/pcp/config/pmcd/pmcd.conf and changing the ID in stdpmid.add-on mort> and rebuilding the NS? -d only changes the domain in the pmda itself. In isolation it's more likely to break things then to make them work. To really change the ID you'd need to rebuild pmns as well. The easiest way of doing that is by Removing and re-Installing pmda after you've addjusted the pmns file in the pmda's directory. max From makc@iinet.net.au Wed Mar 11 06:14:33 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2BBECkj004729 for ; Wed, 11 Mar 2009 06:14:32 -0500 X-ASG-Debug-ID: 1236770027-744c038d0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from outbound.icp-qv1-irony-out3.iinet.net.au (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 40696189730 for ; Wed, 11 Mar 2009 04:13:48 -0700 (PDT) Received: from outbound.icp-qv1-irony-out3.iinet.net.au (outbound.icp-qv1-irony-out3.iinet.net.au [203.59.1.148]) by cuda.sgi.com with ESMTP id wfHw4HKG6n1ZfSko for ; Wed, 11 Mar 2009 04:13:48 -0700 (PDT) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEANc5t0nL2Rwk/2dsb2JhbADRKoQNBg X-IronPort-AV: E=Sophos;i="4.38,342,1233500400"; d="scan'208";a="399829897" Received: from unknown (HELO aldan.crabbed.net) ([203.217.28.36]) by outbound.icp-qv1-irony-out3.iinet.net.au with ESMTP; 11 Mar 2009 20:13:46 +0900 Received: from aldan.crabbed.net (localhost [127.0.0.1]) by aldan.crabbed.net (SGI-8.12.11.20060308/8.12.11) with ESMTP id n2BBDjBR025101; Wed, 11 Mar 2009 22:13:45 +1100 (EST) Received: (from makc@localhost) by aldan.crabbed.net (SGI-8.12.11.20060308/8.12.11/Submit) id n2BBDjos025094; Wed, 11 Mar 2009 22:13:45 +1100 (EST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18871.40169.558229.351406@aldan.crabbed.net> Date: Wed, 11 Mar 2009 22:13:45 +1100 From: Max Matveev To: Martin Hicks Cc: pcp@oss.sgi.com X-ASG-Orig-Subj: Re: [pcp] pcp updates Subject: Re: [pcp] pcp updates In-Reply-To: <20090309164913.GP30461@alcatraz.americas.sgi.com> References: <20090306182731.GM30461@alcatraz.americas.sgi.com> <18866.31663.926735.91528@aldan.crabbed.net> <20090307171807.GB6518@socrates.bork.org> <18866.64170.356813.611013@aldan.crabbed.net> <20090309164913.GP30461@alcatraz.americas.sgi.com> X-Mailer: VM 7.17 under 21.4 (patch 15) "Security Through Obscurity" XEmacs Lucid X-Barracuda-Connect: outbound.icp-qv1-irony-out3.iinet.net.au[203.59.1.148] X-Barracuda-Start-Time: 1236770029 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0216 1.0000 -1.8808 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.88 X-Barracuda-Spam-Status: No, SCORE=-1.88 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.20027 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean On Mon, 9 Mar 2009 11:49:13 -0500, Martin Hicks wrote: mort> One thing that concerned me while fixing this up is that madrpc_init() mort> is never called, but the mad_rpc_open_port() is used. The PMDA seems to mort> do most of what madrpc_init() does except for registering the RPC mort> mad_register_client() stuff. I cannot remember why I didn't call it but I do remember that I used to call it and then decided that I didn't need to do that. You could get some info if you look at the old ptools pcp tree inside SGI. mort> Here's the changes you requested. Does this look better? Yes, much better. Thanks. max From mort@sgi.com Wed Mar 11 13:14:31 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2BIEAdm021533 for ; Wed, 11 Mar 2009 13:14:31 -0500 Received: from attica.americas.sgi.com (attica.americas.sgi.com [128.162.236.44]) by relay2.corp.sgi.com (Postfix) with ESMTP id 510C430408C for ; Wed, 11 Mar 2009 11:13:48 -0700 (PDT) Received: by attica.americas.sgi.com (Postfix, from userid 44682) id 2C67B14167101; Wed, 11 Mar 2009 13:06:58 -0500 (CDT) Date: Wed, 11 Mar 2009 13:06:58 -0500 From: Martin Hicks To: Nathan Scott Cc: pcp@oss.sgi.com Subject: Re: [pcp] pcp updates Message-ID: <20090311180658.GA30461@alcatraz.americas.sgi.com> References: <20090310175739.GT30461@alcatraz.americas.sgi.com> <1487342882.225341236730018269.JavaMail.root@mail-au.aconex.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1487342882.225341236730018269.JavaMail.root@mail-au.aconex.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean On Wed, Mar 11, 2009 at 11:06:58AM +1100, Nathan Scott wrote: > ----- "Martin Hicks" wrote: > > Hi, > > > > 2nd crack a fixing the IB memory leak. > > Also I think I fixed the problem with the clusterpmda and the IB > > metrics. > > > > I think this really highlights the fact that every PMDA that supports > > being loaded via a local context should use unique names for its > > variables, such as 'metrictab'. I'll send in a patch soon that > > addresses this problem with the ib PMDA. > > Does making metrictab "static" fix the problem? That seems simpler, > if so... I don't think so. We autogenerate a metric_table.c file by walking through the metrictabs from the linux and IB pmda, so the metrictab is in a separate file. mh From kenj@internode.on.net Wed Mar 11 16:12:21 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2BLC07Z029825 for ; Wed, 11 Mar 2009 16:12:21 -0500 X-ASG-Debug-ID: 1236805875-78f202bc0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail.internode.on.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id CC11618C5D3 for ; Wed, 11 Mar 2009 14:11:15 -0700 (PDT) Received: from mail.internode.on.net (bld-mail05.adl2.internode.on.net [203.16.214.69]) by cuda.sgi.com with ESMTP id OXnuJrzNiHQwLUDW for ; Wed, 11 Mar 2009 14:11:15 -0700 (PDT) Received: from [192.168.1.65] (unverified [118.208.196.75]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 43426195-1927428 for multiple; Thu, 12 Mar 2009 07:25:32 +1030 (CDT) X-ASG-Orig-Subj: Re: [pcp] how to change domain ID on daemon PMDA? Subject: Re: [pcp] how to change domain ID on daemon PMDA? From: Ken McDonell Reply-To: kenj@internode.on.net To: Martin Hicks Cc: pcp@oss.sgi.com In-Reply-To: <20090310201001.GV30461@alcatraz.americas.sgi.com> References: <20090310201001.GV30461@alcatraz.americas.sgi.com> Content-Type: text/plain Date: Thu, 12 Mar 2009 07:55:24 +1100 Message-Id: <1236804924.26165.27.camel@bozo> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: bld-mail05.adl2.internode.on.net[203.16.214.69] X-Barracuda-Start-Time: 1236805897 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0477 1.0000 -1.7143 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.71 X-Barracuda-Spam-Status: No, SCORE=-1.71 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.20055 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Martin, The plan you've outlined should work, with one provisio ... in pmcd.conf you have to make the second field (Id) match the domain number in the -d option to the daemon, _and_ rebuild the NS. The sequence - ./Remove - fiddle the number in domain.h - ./Install should have achieved the same result. If this is still not working, please add -Dall to the ib pmda's command line options in pmcd.conf, restart pmcd and send me 1. the output from pminfo -v ib 2. the /var/log/pcp/pmcd/ib.log log file after doing 1. Good luck. On Tue, 2009-03-10 at 15:10 -0500, Martin Hicks wrote: > I was trying to test changing the domain ID on the infiniband PMDA, > but I wasn't able to make it work. > > Should it be as easy as changing the "-d" argument in > /var/lib/pcp/config/pmcd/pmcd.conf and changing the ID in stdpmid.add-on > and rebuilding the NS? > > mh > > _______________________________________________ > pcp mailing list > pcp@oss.sgi.com > http://oss.sgi.com/mailman/listinfo/pcp From kenj@internode.on.net Wed Mar 11 16:42:34 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2BLgDEE031125 for ; Wed, 11 Mar 2009 16:42:34 -0500 X-ASG-Debug-ID: 1236807684-4395009d0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail.internode.on.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 583A51C3604F for ; Wed, 11 Mar 2009 14:41:28 -0700 (PDT) Received: from mail.internode.on.net (bld-mail05.adl2.internode.on.net [203.16.214.69]) by cuda.sgi.com with ESMTP id iPOX2zYcp1C5zDCh for ; Wed, 11 Mar 2009 14:41:28 -0700 (PDT) Received: from [192.168.1.65] (unverified [118.208.196.75]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 43429560-1927428 for multiple; Thu, 12 Mar 2009 08:11:23 +1030 (CDT) X-ASG-Orig-Subj: Re: [pcp] pcp updates Subject: Re: [pcp] pcp updates From: Ken McDonell Reply-To: kenj@internode.on.net To: Martin Hicks Cc: Nathan Scott , pcp@oss.sgi.com In-Reply-To: <20090311180658.GA30461@alcatraz.americas.sgi.com> References: <20090310175739.GT30461@alcatraz.americas.sgi.com> <1487342882.225341236730018269.JavaMail.root@mail-au.aconex.com> <20090311180658.GA30461@alcatraz.americas.sgi.com> Content-Type: text/plain Date: Thu, 12 Mar 2009 08:41:15 +1100 Message-Id: <1236807675.26165.68.camel@bozo> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: bld-mail05.adl2.internode.on.net[203.16.214.69] X-Barracuda-Start-Time: 1236807710 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.20053 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Just a short historical note ... PM_CONTEXT_LOCAL was invented in early 1994 to address a very specific need, namely Akmal Khan (my boss at the time) would not buy this whole pcp story unless we could collect performance data in something close to the overhead and costs of vmstat(1). PM_CONTEXT_LOCAL avoided a couple of context switches and some pipe traffic in the steady state and that was why it was invented ... it is a little surprising to see this ugly hack still being used 15 years on! The other remaining early and misguided optimization that survives is sample.sysinfo which was another attempt to achieve the same goal. I wonder if anyone other than the p76 pmda ... which is no longer required ... 8^(> ... is using the other pcp dinosaur in PDU_ASCII? On Wed, 2009-03-11 at 13:06 -0500, Martin Hicks wrote: > On Wed, Mar 11, 2009 at 11:06:58AM +1100, Nathan Scott wrote: > > ----- "Martin Hicks" wrote: > > > Hi, > > > > > > 2nd crack a fixing the IB memory leak. > > > Also I think I fixed the problem with the clusterpmda and the IB > > > metrics. > > > > > > I think this really highlights the fact that every PMDA that supports > > > being loaded via a local context should use unique names for its > > > variables, such as 'metrictab'. I'll send in a patch soon that > > > addresses this problem with the ib PMDA. > > > > Does making metrictab "static" fix the problem? That seems simpler, > > if so... > > I don't think so. We autogenerate a metric_table.c file by walking > through the metrictabs from the linux and IB pmda, so the metrictab is > in a separate file. > > mh > > _______________________________________________ > pcp mailing list > pcp@oss.sgi.com > http://oss.sgi.com/mailman/listinfo/pcp From mort@bork.org Wed Mar 11 17:19:38 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2BMJIeD033603 for ; Wed, 11 Mar 2009 17:19:38 -0500 X-ASG-Debug-ID: 1236809934-439a01680000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from darwin.bork.org (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 39E3D1C362CA for ; Wed, 11 Mar 2009 15:18:54 -0700 (PDT) Received: from darwin.bork.org (darwin.bork.org [65.49.60.145]) by cuda.sgi.com with ESMTP id I9OPxrT8O2azjwzT for ; Wed, 11 Mar 2009 15:18:54 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by darwin.bork.org (Postfix) with ESMTP id 33CB8194B7; Wed, 11 Mar 2009 18:17:48 -0400 (EDT) Received: from darwin.bork.org ([127.0.0.1]) by localhost (darwin.bork.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id J-kVZCLXl5Pb; Wed, 11 Mar 2009 18:17:48 -0400 (EDT) Received: from socrates.bork.org (localhost [127.0.0.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "socrates.bork.org", Issuer "Bork Consulting CA" (verified OK)) by darwin.bork.org (Postfix) with ESMTPS id E2CE219351; Wed, 11 Mar 2009 18:17:47 -0400 (EDT) Received: by socrates.bork.org (Postfix, from userid 1000) id 7031BCBC3E; Wed, 11 Mar 2009 18:18:22 -0400 (EDT) Date: Wed, 11 Mar 2009 18:18:22 -0400 From: Martin Hicks To: Ken McDonell Cc: Martin Hicks , pcp@oss.sgi.com X-ASG-Orig-Subj: Re: [pcp] how to change domain ID on daemon PMDA? Subject: Re: [pcp] how to change domain ID on daemon PMDA? Message-ID: <20090311221822.GD6568@socrates.bork.org> References: <20090310201001.GV30461@alcatraz.americas.sgi.com> <1236804924.26165.27.camel@bozo> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1236804924.26165.27.camel@bozo> User-Agent: Mutt/1.5.18 (2008-05-17) X-Barracuda-Connect: darwin.bork.org[65.49.60.145] X-Barracuda-Start-Time: 1236809935 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0532 1.0000 -1.6799 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.68 X-Barracuda-Spam-Status: No, SCORE=-1.68 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.20053 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean On Thu, Mar 12, 2009 at 07:55:24AM +1100, Ken McDonell wrote: > Martin, > > The sequence > - ./Remove > - fiddle the number in domain.h > - ./Install > should have achieved the same result. I was able to change the ID by doing this. Thanks! mh From nscott@aconex.com Thu Mar 12 00:31:10 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2C5UnOr054861 for ; Thu, 12 Mar 2009 00:31:10 -0500 X-ASG-Debug-ID: 1236835803-3fa8029a0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 24B9E1C37164 for ; Wed, 11 Mar 2009 22:30:04 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id HMZ49yt5MCfBHMTB for ; Wed, 11 Mar 2009 22:30:04 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 54F292E6753; Thu, 12 Mar 2009 16:30:00 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id OjgWfDTsW4BFliPB; Thu, 12 Mar 2009 16:30:00 +1100 (EST) Received: from gatekeeper.aconex.com (unknown [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 22A2592C285; Thu, 12 Mar 2009 16:30:00 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 2AD8F4FD81; Thu, 12 Mar 2009 16:29:58 +1100 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nVBvx6FojXFF; Thu, 12 Mar 2009 16:29:51 +1100 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 9BE8B4FD82; Thu, 12 Mar 2009 16:29:49 +1100 (EST) Date: Thu, 12 Mar 2009 16:29:49 +1100 (EST) From: Nathan Scott To: kenj@internode.on.net Cc: pcp@oss.sgi.com, Martin Hicks Message-ID: <1003378951.243921236835789652.JavaMail.root@mail-au.aconex.com> In-Reply-To: <117523664.243881236835667247.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: Re: [pcp] pcp updates Subject: Re: [pcp] pcp updates MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1236835826 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0018 1.0000 -2.0090 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.01 X-Barracuda-Spam-Status: No, SCORE=-2.01 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.20092 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean ----- "Ken McDonell" wrote: > ... > PM_CONTEXT_LOCAL avoided a couple of context switches and some pipe > traffic in the steady state and that was why it was invented ... it is > a little surprising to see this ugly hack still being used 15 years on! *shrug* ... although the interface is somewhat lacking (should be able to ask for specific PMDAs...) it still has uses IMO - other than those for which it was originally designed (still, more people issues than technical - like not needing a daemon, not needing anything running as root to use it, not needing networking to be up, no *gasp* open ports, etc, etc). > I wonder if anyone other than the p76 pmda ... which is no longer > required ... 8^(> ... is using the other pcp dinosaur in PDU_ASCII? I'm hoping not. The ASCII protocol is on my hitlist, I think we should aim to remove it in PCP 3.0 timeframe. The Perl PMDA interface is alot simpler, and achieves effectively the same thing (in 1/4 the code - see src/pmdas/news/{pmdanews.pl,news.agent} for example) from a rapid-PMDA- development-and-deployment POV. cheers. -- Nathan From nscott@aconex.com Fri Mar 13 00:45:36 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,SUBJ_FORWARDED autolearn=no version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2D5jE7M122456 for ; Fri, 13 Mar 2009 00:45:35 -0500 X-ASG-Debug-ID: 1236923091-6be7001b0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 8A8101C3C6BD for ; Thu, 12 Mar 2009 22:44:52 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id eZmMsuc4ZioFClfh for ; Thu, 12 Mar 2009 22:44:52 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 4B2022F705C for ; Fri, 13 Mar 2009 16:33:01 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id nDVKT0Vn8tn24xE2 for ; Fri, 13 Mar 2009 16:33:01 +1100 (EST) Received: from gatekeeper.aconex.com (unknown [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 408D692C285 for ; Fri, 13 Mar 2009 16:33:01 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 32D76C7B9D for ; Fri, 13 Mar 2009 16:33:01 +1100 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Rp8N85BuTgJT for ; Fri, 13 Mar 2009 16:32:56 +1100 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 7CFCCC7ADB for ; Fri, 13 Mar 2009 16:32:56 +1100 (EST) Date: Fri, 13 Mar 2009 16:32:56 +1100 (EST) From: Nathan Scott To: pcp@oss.sgi.com Message-ID: <522304333.298501236922376545.JavaMail.root@mail-au.aconex.com> In-Reply-To: <1329431404.224691236726361401.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: Fwd: pmchart trackers Subject: Fwd: pmchart trackers MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1236923092 X-Barracuda-Bayes: INNOCENT GLOBAL 0.1693 1.0000 -0.9932 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -0.99 X-Barracuda-Spam-Status: No, SCORE=-0.99 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.20181 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean ----- Forwarded Message ----- From: "Nathan Scott" To: "Olivier Tarnus" Sent: Wednesday, March 11, 2009 10:06:01 AM GMT +10:00 Canberra / Melbourne / Sydney Subject: Re: pmchart trackers This is great! There's a few cleanups here and there needed, and not sure about the timeout thing (I know, I started that!) ... it may be better with a click-to-enable, click-to-disable interaction? But, I _really_ like the idea - nice one! -- Nathan From nscott@aconex.com Fri Mar 13 00:45:58 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_210, J_CHICKENPOX_24,J_CHICKENPOX_25,J_CHICKENPOX_26,J_CHICKENPOX_27, J_CHICKENPOX_28,J_CHICKENPOX_42,SUBJ_FORWARDED autolearn=no version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2D5jb1E122482 for ; Fri, 13 Mar 2009 00:45:58 -0500 X-ASG-Debug-ID: 1236923092-4e3d022e0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 12BFA193002 for ; Thu, 12 Mar 2009 22:44:52 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id PqSxKyAS5xmKyu9H for ; Thu, 12 Mar 2009 22:44:52 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 513AC2F7019 for ; Fri, 13 Mar 2009 16:32:26 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id rBtTaTuWHGaHviB7 for ; Fri, 13 Mar 2009 16:32:26 +1100 (EST) Received: from gatekeeper.aconex.com (unknown [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 3FC9E92C34B for ; Fri, 13 Mar 2009 16:32:26 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 298D84FD83 for ; Fri, 13 Mar 2009 16:32:26 +1100 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AM33xHMjNLQi for ; Fri, 13 Mar 2009 16:32:23 +1100 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 7844CC7ADB for ; Fri, 13 Mar 2009 16:32:23 +1100 (EST) Date: Fri, 13 Mar 2009 16:32:23 +1100 (EST) From: Nathan Scott To: pcp@oss.sgi.com Message-ID: <935878028.298471236922343496.JavaMail.root@mail-au.aconex.com> In-Reply-To: <49B0738A.7070106@free.fr> X-ASG-Orig-Subj: Fwd: pmchart trackers Subject: Fwd: pmchart trackers MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1236923115 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0088 1.0000 -1.9635 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.76 X-Barracuda-Spam-Status: No, SCORE=-1.76 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=BSF_SC0_MJ615 X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.20181 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.20 BSF_SC0_MJ615 Custom Rule MJ615 X-Virus-Status: Clean ----- Forwarded Message ----- From: "Olivier Tarnus" To: "Nathan Scott" Sent: Friday, March 6, 2009 11:51:22 AM GMT +10:00 Canberra / Melbourne / Sydney Subject: pmchart trackers Hi Nathan Here is a little patch, tell me what you think about the feature... Bye Olivier diff --git a/src/chart/chart.cpp b/src/chart/chart.cpp index e3bafad..78140e6 100644 --- a/src/chart/chart.cpp +++ b/src/chart/chart.cpp @@ -75,6 +75,9 @@ Chart::Chart(GroupControl *group) : Gadget(group) my.sequence = 0; my.yMin = -1; my.yMax = -1; + my.row=0; + my.vmarkers = false; + my.tmarker = false; my.picker = new QwtPlotPicker(QwtPlot::xBottom, QwtPlot::yLeft, QwtPicker::PointSelection | QwtPicker::DragSelection, QwtPlotPicker::CrossRubberBand, QwtPicker::AlwaysOff, @@ -86,8 +89,21 @@ Chart::Chart(GroupControl *group) : Gadget(group) SLOT(selected(const QwtDoublePoint &))); connect(my.picker, SIGNAL(moved(const QwtDoublePoint &)), SLOT(moved(const QwtDoublePoint &))); - setWidget(my.chart); + + QPen *markerPen = new QPen(QColor(Qt::white)); + markerPen->setStyle(Qt::DotLine); + my.timeMarker = new QwtPlotMarker(); + my.timeMarker->setLineStyle(QwtPlotMarker::VLine); + my.timeMarker->setLinePen(*markerPen); + my.timeMarker->setSymbol( QwtSymbol( QwtSymbol::DTriangle, QBrush(Qt::white), QPen(Qt::white), QSize(7,7) ) ); + my.timeMarker->setXValue( 0.0 ); + my.timeMarker->setZ( 100000.0 ); // Arbitrary, should be above all others + my.timeMarker->hide(); + my.timeMarker->attach(my.chart); + setTMarker(true); + my.chart->setContextMenuPolicy(Qt::CustomContextMenu); + connect(my.chart,SIGNAL(customContextMenuRequested(const QPoint & )),this,SLOT(popUpMenu(const QPoint &))); replot(); } @@ -101,8 +117,14 @@ Chart::~Chart() free(plot->data); if (plot->plotData != NULL) free(plot->plotData); + if (plot->valueMarker!= NULL) + free(plot->valueMarker); free(plot); } + if (my.timeMarker !=NULL) { + free(my.timeMarker); + } + } void Chart::topLevelChanged(bool topLevel) @@ -278,7 +300,6 @@ void Chart::updateValues(bool forward, bool visible) } } } - #if DESPERATE for (m = 0; m < my.plots.size(); m++) console->post(PmChart::DebugForce, "metric[%d] value %f plot %f", m, @@ -457,10 +478,12 @@ void Chart::replot() console->post("Chart::replot vh=%d, %d plots)", vh, my.plots.size()); #endif - for (int m = 0; m < my.plots.size(); m++) + for (int m = 0; m < my.plots.size(); m++) { my.plots[m]->curve->setRawData(group()->timeAxisData(), my.plots[m]->plotData, qMin(vh, my.plots[m]->dataCount)); + if (my.plots[m]->vmarker) my.plots[m]->valueMarker->setXValue( my.chart->axisScaleDiv(QwtPlot::xBottom)->lBound() ); // reposition the value marker at left + } my.chart->replot(); } @@ -606,12 +629,16 @@ int Chart::addPlot(pmMetricSpec *pmsp, const char *legend) // force plot to be visible, legend visibility is controlled by // legend() to a state matching the initial state - showCurve(plot->curve, true); plot->removed = false; plot->hidden = false; + + // Create the valueMarker + plot->valueMarker = new QwtPlotMarker(); // Add a value marker for each plot + plot->valueMarker ->attach(my.chart); // set the prevailing chart style and the default color - setStroke(plot, my.style, nextColor(scheme(), &my.sequence)); + plot->color = nextColor(scheme(), &my.sequence); + setStroke(plot, my.style, plot->color); maxCount = 0; for (int m = 0; m < my.plots.size(); m++) @@ -635,6 +662,29 @@ int Chart::addPlot(pmMetricSpec *pmsp, const char *legend) plot->scale = 0.001; } + plot->vmarker = true; + plot->valueMarker ->setLineStyle(QwtPlotMarker::HLine); + +//plot->valueMarker ->setSymbol( QwtSymbol(QwtSymbol::XCross, + // plot->curve->brush(), QPen(plot->curve->pen()), QSize(10,10)) ); + //plot->valueMarker ->setLinePen(QPen(plot->color)); + //plot->valueMarker ->setLinePen(QPen(nextColor(my.scheme, &my.sequence))); + plot->valueMarker ->setXValue( 0.0 ); + plot->valueMarker ->setZ( 1001 ); // Arbitrary, should be above all others plotItems + QwtText text("bla"); + text.setFont(globalFont); + //text.setColor(QColor(plot->curve->brush().color())); + //text.setColor(plot->color); + text.setBackgroundPen(QPen(Qt::black)); + text.setBackgroundBrush(QColor(Qt::black)); + plot->valueMarker->setLabel(text); + plot->valueMarker->setLabelAlignment(Qt::AlignRight | Qt::AlignBottom); + plot->valueMarker ->setSymbol( QwtSymbol(QwtSymbol::RTriangle, + plot->curve->brush(), QPen(plot->curve->pen()), QSize(7,7)) ); + plot->valueMarker->hide(); + + showCurve(plot->curve, true); + return my.plots.size() - 1; } @@ -645,6 +695,7 @@ void Chart::revivePlot(int m) if (my.plots[m]->removed) { my.plots[m]->removed = false; my.plots[m]->curve->attach(my.chart); + my.plots[m]->valueMarker->attach(my.chart); } } @@ -654,6 +705,7 @@ void Chart::delPlot(int m) my.plots[m]->removed = true; my.plots[m]->curve->detach(); + my.plots[m]->valueMarker->detach(); // We can't really do this properly (free memory, etc) - working around // metrics class limit (its using an ordinal index for metrics, remove any @@ -864,6 +916,19 @@ void Chart::setStroke(Plot *plot, Style style, QColor color) redoPlotData(); replot(); } + + QPen *vmPen = new QPen(color); + vmPen->setStyle(Qt::DotLine); + plot->valueMarker->setLinePen(*vmPen); + QwtSymbol vmarksymbol= plot->valueMarker->symbol(); + vmarksymbol.setPen(plot->curve->pen()); + vmarksymbol.setBrush(QBrush(color, Qt::SolidPattern)); + plot->valueMarker->setSymbol(vmarksymbol); + //vmarksymbol.setStyle(plot->curve->style()); + plot->valueMarker->label().setColor(color); + plot->valueMarker->label().setBackgroundPen(QPen(Qt::black)); + plot->valueMarker->label().setBackgroundBrush(QBrush(Qt::black, Qt::SolidPattern)); + } void Chart::redoPlotData(void) @@ -998,6 +1063,9 @@ void Chart::selected(const QwtDoublePoint &p) string.sprintf("[%.2f %s at %s]", (float)p.y(), pmUnitsStr(&my.units), timeHiResString(p.x())); pmchart->setValueText(string); + group()->showTimeMarkers(group()->timeMarkers()); + group()->showSelectedChartsVMarkers(true); + group()->setAllChartMarkersX(p.x()); } void Chart::moved(const QwtDoublePoint &p) @@ -1007,6 +1075,7 @@ void Chart::moved(const QwtDoublePoint &p) string.sprintf("[%.2f %s at %s]", (float)p.y(), pmUnitsStr(&my.units), timeHiResString(p.x())); pmchart->setValueText(string); + group()->setAllChartMarkersX(p.x()); } bool Chart::legendVisible() @@ -1299,3 +1368,124 @@ void Chart::resizeEvent(QResizeEvent *e) if (e->size().width() != e->oldSize().width()) resetLocalTimeAxis(); } + +/*void Chart::setRow(int row=0) +{ + my.row=row; +}*/ +void Chart::toggleTMarker(void) +{ + setTMarker(!my.tmarker); +} + +void Chart::setTMarker(bool state = true) +{ + my.tmarker = state; + showTMarker(state); +} + +void Chart::showTMarker(bool state = true) +{ + if (state && my.tmarker) my.timeMarker->show(); + else my.timeMarker->hide(); + my.chart->replot(); +} + + +void Chart::setVMarker(int m=0, bool state = true) +{ + my.plots[m]->vmarker = state; +} + +void Chart::showVMarker(int m=0, bool state = true) +{ + if (state && my.plots[m]->vmarker) my.plots[m]->valueMarker->show(); + else my.plots[m]->valueMarker->hide(); +} + +void Chart::setVMarkers(bool state = true) +{ + my.vmarkers = state; + showVMarkers(state); +} + +void Chart::showVMarkers(bool state = true) +{ + for (int m = 0; m < my.plots.size(); m++) + if (my.plots[m]->vmarker && my.plots[m]->curve->isVisible()) + { + showVMarker(m,state); + } + my.chart->replot(); +} + + +void Chart::setMarkersXValue(double x) +{ + int point = 0; + int n; + double *xdatas = group()->timeAxisData(); + + if (my.tmarker && group()->timeMarkers() ) { + my.timeMarker->setValue(x,my.chart->axisScaleDiv(QwtPlot::yLeft)->hBound() - ((my.chart->axisScaleDiv(QwtPlot::yLeft)->hBound()-my.chart->axisScaleDiv(QwtPlot::yLeft)->lBound())/50)); // position the time marker to x value + + if (my.vmarkers || group()->allVMarkers()) { + for (n = group()->samples()-1; n >= 0 ; n--) // find nearest index before our x value + if ( x > xdatas[n]){ + point = n; + } + for (int m = 0; m < my.plots.size(); m++) { + if (my.plots[m]->vmarker && my.plots[m]->curve->isVisible()) { + my.plots[m]->valueMarker->setValue( my.chart->axisScaleDiv(QwtPlot::xBottom)->lBound(), my.plots[m]->plotData[point]); // and position the value marker + QString string; + string.sprintf("%.2f %s", my.plots[m]->plotData[point], pmUnitsStr(&my.units)); + QwtText mylabel = my.plots[m]->valueMarker->label(); + mylabel.setColor(my.plots[m]->color); + mylabel.setText(string); + my.plots[m]->valueMarker->setLabel(mylabel); + } + + } + } + } + my.chart->replot(); +} + +void Chart::popUpMenu(const QPoint &pos) +{ + qDebug()<<"chart context menu ?"<valueMarker!= NULL) { + QAction * VMarkerAction ; + if (plot->vmarker) VMarkerAction = vmarkersMenu->addAction(QIcon("toggled.png"),tr(plot->legend)); + else VMarkerAction = vmarkersMenu->addAction(QIcon("untoggled.png"),tr(plot->legend)); + VMarkerAction->setData(QVariant(m)); + connect(VMarkerAction, SIGNAL(triggered()), this, SLOT(menuToggleVMarker()) ); + } + } + menu.popup(pos); + menu.exec(QCursor::pos()); +} + +void Chart::openEditBox(void) +{ + pmchart->editChart(this); +} + +void Chart::menuToggleVMarker(void) +{ + QAction *action = qobject_cast(sender()); + setVMarker(action->data().toInt(),!my.plots[action->data().toInt()]->vmarker); + showVMarker(action->data().toInt()); +} + diff --git a/src/chart/chart.h b/src/chart/chart.h index f06dea9..51db82e 100644 --- a/src/chart/chart.h +++ b/src/chart/chart.h @@ -15,6 +15,10 @@ #ifndef CHART_H #define CHART_H +// +// Chart class ... multiple plots per chart, multiple charts per tab +// + #include #include #include @@ -22,6 +26,8 @@ #include #include #include +#include +#include #include #include #include "gadget.h" @@ -107,6 +113,13 @@ public: bool, QColor&, QString&); static QColor schemeColor(QString, int *); + void setTMarker(bool); + void showTMarker(bool); + void setVMarkers(bool); + void showVMarkers(bool); + void setMarkersXValue(double); + void setVMarker(int, bool); + void showVMarker(int,bool); private slots: void selected(const QwtDoublePoint &); @@ -114,6 +127,10 @@ private slots: void showCurve(QwtPlotItem *, bool); void resizeEvent(QResizeEvent *); void topLevelChanged(bool); + void popUpMenu(const QPoint &pos); + void openEditBox(void); + void toggleTMarker(void); + void menuToggleVMarker(void); private: typedef struct { @@ -130,6 +147,8 @@ private: bool removed; bool hidden; // true if hidden through legend push button pmUnits units; + bool vmarker; // Use a value marker for this plot? + QwtPlotMarker *valueMarker; } Plot; bool isStepped(Plot *plot); @@ -159,7 +178,11 @@ private: double yMin; double yMax; QwtPlotPicker *picker; + QwtPlotMarker *timeMarker; pmUnits units; + bool vmarkers; // use value markers in this graph? + bool tmarker; // use value markers in this graph? + int row; } my; }; diff --git a/src/chart/gadget.cpp b/src/chart/gadget.cpp index 7f6bfaf..65a7950 100644 --- a/src/chart/gadget.cpp +++ b/src/chart/gadget.cpp @@ -265,3 +265,37 @@ void Gadget::topLevelChanged(bool top) else pmchart->activeView()->addGadget(this); } + + +void Gadget::setTMarker(bool state = true) +{ + my.tmarker = state; +} + + +void Gadget::setVMarkers(bool state = true) +{ + my.vmarkers = state; +} + +void Gadget::showTMarker(bool state = true) +{ +} + +void Gadget::showVMarkers(bool state = true) +{ +} + +bool Gadget::tMarker() +{ + return my.tmarker; +} + +bool Gadget::vMarkers() +{ + return my.vmarkers; +} + +void Gadget::setMarkersXValue(double x) +{ +} diff --git a/src/chart/gadget.h b/src/chart/gadget.h index 7948d15..bf70266 100644 --- a/src/chart/gadget.h +++ b/src/chart/gadget.h @@ -71,6 +71,15 @@ public: virtual QString pmloggerSyntax(); // pmlogger config text for all metrics virtual QString pmloggerMetricSyntax(int); // config text for 1 metric + virtual void setTMarker(bool); + virtual void showTMarker(bool); + virtual void setVMarkers(bool); + virtual void showVMarkers(bool); + virtual void setMarkersXValue(double); + virtual bool tMarker(); + virtual bool vMarkers(); + + signals: void currentChanged(bool); void schemeChanged(const QString &); @@ -83,6 +92,9 @@ private: GroupControl *group; QString scheme; bool current; + bool vmarkers; // use value markers in this graph? + bool tmarker; // use value markers in this graph? + } my; }; diff --git a/src/chart/groupcontrol.cpp b/src/chart/groupcontrol.cpp index 4e8c2ca..fcb591b 100644 --- a/src/chart/groupcontrol.cpp +++ b/src/chart/groupcontrol.cpp @@ -53,6 +53,12 @@ void GroupControl::init(int samples, int visible, my.timeData = (double *)malloc(samples * sizeof(double)); for (int i = 0; i < samples; i++) my.timeData[i] = my.realPosition - (i * my.realDelta); + my.markersTimer = new QTimer(this); + my.markersTimer ->setSingleShot(true); + connect(my.markersTimer, SIGNAL(timeout()), this, SLOT(markersTimeout())); + resetMarkersTimer(); + my.timeMarkers=1; + my.allVMarkers=1; } bool GroupControl::isArchiveSource(void) @@ -609,3 +615,77 @@ void GroupControl::newButtonState(PmTime::State s, PmTime::Mode m, bool record) else my.buttonState = TimeButton::StoppedArchive; } + + +// Markers + +void GroupControl::showTimeMarkers(bool state) +{ + for (int i = 0; i < gadgetCount() ; i++) + my.gadgetsList.at(i)->showTMarker(state); + // pmchart->showTimeAxisMarker(state); +} + +void GroupControl::enableChartVMarkers(int chart=0, bool state=true) +{ + my.gadgetsList.at(chart)->setVMarkers(state); + resetMarkersTimer(); +} + +void GroupControl::enableAllChartsVMarkers(bool state = true) +{ + my.allVMarkers = state; + showTimeMarkers(state); + showSelectedChartsVMarkers(state); + resetMarkersTimer(); +} + +void GroupControl::showSelectedChartsVMarkers(bool state = true) +{ + for (int i = 0; i < gadgetCount() ; i++){ + if (my.allVMarkers) my.gadgetsList.at(i)->showVMarkers(state); + else my.gadgetsList.at(i)->showVMarkers(state && my.gadgetsList.at(i)->vMarkers()); + } +} + +void GroupControl::setAllChartMarkersX(double x) +{ + for (int i = 0; i < gadgetCount() ; i++) { + my.gadgetsList.at(i)->setMarkersXValue(x); + //pmchart->setTimeAxisMarkerXValue(x); + } + resetMarkersTimer(); +} + +void GroupControl::markersTimeout() +{ + showTimeMarkers(false); + showSelectedChartsVMarkers(false); + if (my.allVMarkers) + for (int i = 0; i < gadgetCount(); i++) + my.gadgetsList.at(i)->showVMarkers(false); + console->post("GroupControl::timeout()"); +} + +void GroupControl::resetMarkersTimer() +{ + console->post("GroupControl::resetMarkersTimer()"); + if (my.markersTimer->isActive()) + my.markersTimer->stop(); + my.markersTimer->start(GroupControl::defaultMarkersTimerTimeout()); +} + +int GroupControl::samples(void) +{ + return my.samples; +} + +bool GroupControl::allVMarkers() +{ + return my.allVMarkers; +} + +bool GroupControl::timeMarkers() +{ + return my.timeMarkers; +} diff --git a/src/chart/groupcontrol.h b/src/chart/groupcontrol.h index 43e568b..4f2de5d 100644 --- a/src/chart/groupcontrol.h +++ b/src/chart/groupcontrol.h @@ -19,6 +19,8 @@ #include #include #include +#include +#include #include #include #include @@ -62,6 +64,22 @@ public: TimeButton::State buttonState(); PmTime::State pmtimeState(); void newButtonState(PmTime::State, PmTime::Mode, bool); + + int samples(void); + void showTimeMarkers(bool); + void enableChartVMarkers(bool); + void enableChartVMarkers(int,bool); + void enableAllChartsVMarkers(bool); + void showSelectedChartsVMarkers(bool); + bool allVMarkers(); + bool timeMarkers(); + void setAllChartMarkersX(double); // modify position of markers in all charts + void resetMarkersTimer(); + static int defaultMarkersTimerTimeout() { return 5000; } // milliseconds + +public slots: + virtual void markersTimeout(); + private: typedef enum { @@ -98,6 +116,12 @@ private: PmTime::Source pmtimeSource; // reliable archive/host test PmTime::State pmtimeState; State timeState; + + QSplitter * vsplitter; // dynamically divides Tab by rows vertically + QSplitter ** hsplitters; // dynamically divide each row + QTimer *markersTimer; // hide chart markers at timeout + bool timeMarkers; + bool allVMarkers; } my; }; diff --git a/src/chart/pmchart.cpp b/src/chart/pmchart.cpp index 559d28e..fd6de99 100644 --- a/src/chart/pmchart.cpp +++ b/src/chart/pmchart.cpp @@ -578,22 +578,29 @@ void PmChart::fileNewChart() void PmChart::editChart() { + Chart *cp = (Chart *)activeGadget(); + editChart(cp); +} + +void PmChart::editChart( Chart *cp) +{ bool yAutoScale; double yMin, yMax; - Chart *cp = (Chart *)activeGadget(); - setupDialogs(); - my.editchart->reset(cp, cp->style() - 1, cp->scheme()); - my.editchart->titleLineEdit->setText(cp->title()); - my.editchart->legendOn->setChecked(cp->legendVisible()); - my.editchart->legendOff->setChecked(!cp->legendVisible()); - my.editchart->antiAliasingOn->setChecked(cp->antiAliasing()); - my.editchart->antiAliasingOff->setChecked(!cp->antiAliasing()); - my.editchart->antiAliasingAuto->setChecked(false); - cp->scale(&yAutoScale, &yMin, &yMax); - my.editchart->setScale(yAutoScale, yMin, yMax); - my.editchart->setScheme(cp->scheme(), cp->sequence()); - my.editchart->show(); + if (cp != NULL) { + setupDialogs(); + my.editchart->reset(cp, cp->style() - 1, cp->scheme()); + my.editchart->titleLineEdit->setText(cp->title()); + my.editchart->legendOn->setChecked(cp->legendVisible()); + my.editchart->legendOff->setChecked(!cp->legendVisible()); + my.editchart->antiAliasingOn->setChecked(cp->antiAliasing()); + my.editchart->antiAliasingOff->setChecked(!cp->antiAliasing()); + my.editchart->antiAliasingAuto->setChecked(false); + cp->scale(&yAutoScale, &yMin, &yMax); + my.editchart->setScale(yAutoScale, yMin, yMax); + my.editchart->setScheme(cp->scheme(), cp->sequence()); + my.editchart->show(); + } } void PmChart::acceptEditChart() diff --git a/src/chart/pmchart.h b/src/chart/pmchart.h index 649d08e..4b8a22c 100644 --- a/src/chart/pmchart.h +++ b/src/chart/pmchart.h @@ -16,6 +16,7 @@ #include "ui_pmchart.h" #include "statusbar.h" +#include "chart.h" #include class Gadget; @@ -135,6 +136,7 @@ public slots: virtual void acceptNewChart(); virtual void fileNewChart(); virtual void editChart(); + virtual void editChart(Chart *); virtual void acceptEditChart(); virtual void closeChart(); virtual void editView(); -- Nathan From nscott@aconex.com Fri Mar 13 01:05:35 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2D65FIN123229 for ; Fri, 13 Mar 2009 01:05:35 -0500 X-ASG-Debug-ID: 1236924291-3aec01270000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id B872E1C3C5F8 for ; Thu, 12 Mar 2009 23:04:51 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id n3wVBNssPF6IhI22 for ; Thu, 12 Mar 2009 23:04:51 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 56A2A2F6A8B for ; Fri, 13 Mar 2009 16:44:47 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id pXIiEs50JXzCSYcs for ; Fri, 13 Mar 2009 16:44:47 +1100 (EST) Received: from gatekeeper.aconex.com (unknown [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 45DBE92C34C for ; Fri, 13 Mar 2009 16:44:47 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 380114FD81 for ; Fri, 13 Mar 2009 16:44:47 +1100 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dUfH2U2-RnZo for ; Fri, 13 Mar 2009 16:44:42 +1100 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 82DADC7ADB for ; Fri, 13 Mar 2009 16:44:42 +1100 (EST) Date: Fri, 13 Mar 2009 16:44:42 +1100 (EST) From: Nathan Scott To: pcp@oss.sgi.com Message-ID: <334772328.298911236923082562.JavaMail.root@mail-au.aconex.com> In-Reply-To: <621850513.298651236922633822.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: Re: pmchart trackers Subject: Re: pmchart trackers MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1236924292 X-Barracuda-Bayes: INNOCENT GLOBAL 0.3576 1.0000 -0.1263 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -0.13 X-Barracuda-Spam-Status: No, SCORE=-0.13 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.20183 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean ----- "Nathan Scott" wrote: > ----- Forwarded Message ----- > From: "Olivier Tarnus" > To: "Nathan Scott" > Subject: Re: pmchart trackers > > Hi Nathan, > > I've been also hesitating a lot with the timeout, and thought it was > the > least intrusive for users that want to use the feature sporadically. > I'll try to get it configurable. Not sure what you mean by configurable there? What I was thinking of, was clicking a chart to enable "tracker" mode, and clicking again to switch it off (instead of click to enable, then timeout to disable). Oh, did you mean do it both ways and choose via a configurable settings dialog option? That'd work too, if so. Having used the timeout model for selected values for awhile now though, I find it frustrating ... so for me I'd only ever use the modal interaction, not the timeout. > The good things with the time marker > is > that if we add multiple graphs per row, we still maintain a visible > time > position, and aligning the graphs with the time scale is less > necessary. *nod* > I also still need to add a marker to the the time scale itself. > > I'll try now to add the options to the save/load functions. Also > something is needed for the value markers, as they overlap most of the > time. I thought about adding a special window that would list all > values > actually tracked in the same pmchart window. Yeah, noticed that. Being able to set the plot Z value in some way may be another approach there - currently this isn't configurable, and it probably should be (iow, to set which plot shows up on top). On the patch, the qDebug use was new to me - we should probably take out Kens old Console class and replace it with this, much simpler. The only other issues were the commented-out code, some still-TODO bits of the code you'd noted, one or two headers re-introduced (like QSplitter, IIRC) ... small stuff, looks good in general. cheers. -- Nathan From nscott@aconex.com Fri Mar 13 01:05:35 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2D65FGT123227 for ; Fri, 13 Mar 2009 01:05:35 -0500 X-ASG-Debug-ID: 1236924291-6bea00680000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 7B2A81C3C5ED for ; Thu, 12 Mar 2009 23:04:51 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id L0U7FZTENxcDUJqZ for ; Thu, 12 Mar 2009 23:04:51 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 6D1B52F7000 for ; Fri, 13 Mar 2009 16:32:03 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id 3LidC5Ks28f0V2CB for ; Fri, 13 Mar 2009 16:32:03 +1100 (EST) Received: from gatekeeper.aconex.com (unknown [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 5B86E92C34F for ; Fri, 13 Mar 2009 16:32:03 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 4904DC7ADB for ; Fri, 13 Mar 2009 16:32:03 +1100 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KYRoHD2ASHsY for ; Fri, 13 Mar 2009 16:31:58 +1100 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 8E64E4FD82 for ; Fri, 13 Mar 2009 16:31:58 +1100 (EST) Date: Fri, 13 Mar 2009 16:31:58 +1100 (EST) From: Nathan Scott To: pcp@oss.sgi.com Message-ID: <1706196316.298441236922318610.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: pmchart technical directions Subject: pmchart technical directions MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1236924292 X-Barracuda-Bayes: INNOCENT GLOBAL 0.3682 1.0000 -0.0914 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -0.09 X-Barracuda-Spam-Status: No, SCORE=-0.09 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.20183 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean Hi all, I'll be forwarding some mail discussion and a patch from Olivier shortly, for all to enjoy and participate in. It started out as a small private conversation (so small, unrelated bits of the mails will be removed), but soon got onto larger topics we wanted to discuss with a wider audience. Appreciate any thoughts / feedback people have. Try out Oliviers patch, too, I reckon its pretty handy functionality. cheers. -- Nathan From nscott@aconex.com Fri Mar 13 01:05:36 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=AWL,BAYES_00,SUBJ_FORWARDED, WEIRD_QUOTING autolearn=no version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2D65FhD123230 for ; Fri, 13 Mar 2009 01:05:35 -0500 X-ASG-Debug-ID: 1236924291-6bf000650000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id B83F61C3C5E5 for ; Thu, 12 Mar 2009 23:04:51 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id RKwDJx3BvljTAtjI for ; Thu, 12 Mar 2009 23:04:51 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 75C892F7B10 for ; Fri, 13 Mar 2009 16:33:58 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id HIqO5ut13TopbiJQ for ; Fri, 13 Mar 2009 16:33:58 +1100 (EST) Received: from gatekeeper.aconex.com (unknown [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 7192292C285 for ; Fri, 13 Mar 2009 16:33:58 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 63E344FD81 for ; Fri, 13 Mar 2009 16:33:58 +1100 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id x9yhApKFsKxL for ; Fri, 13 Mar 2009 16:33:53 +1100 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id AC16FC7ADB for ; Fri, 13 Mar 2009 16:33:53 +1100 (EST) Date: Fri, 13 Mar 2009 16:33:53 +1100 (EST) From: Nathan Scott To: pcp@oss.sgi.com Message-ID: <1527944744.298531236922433735.JavaMail.root@mail-au.aconex.com> In-Reply-To: <49B79A3F.4090409@free.fr> X-ASG-Orig-Subj: Fwd: pmchart trackers Subject: Fwd: pmchart trackers MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1236924292 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0177 1.0000 -1.9060 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: 0.89 X-Barracuda-Spam-Status: No, SCORE=0.89 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=WEIRD_QUOTING X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.20183 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 2.80 WEIRD_QUOTING BODY: Weird repeated double-quotation marks X-Virus-Status: Clean ----- Forwarded Message ----- From: "Olivier Tarnus" To: "Nathan Scott" Sent: Wednesday, March 11, 2009 10:02:23 PM GMT +10:00 Canberra / Melbourne / Sydney Subject: Re: pmchart trackers Hi Nathan, I've been also hesitating a lot with the timeout, and thought it was the least intrusive for users that want to use the feature sporadically. I'll try to get it configurable. The good things with the time marker is that if we add multiple graphs per row, we still maintain a visible time position, and aligning the graphs with the time scale is less necessary. I also still need to add a marker to the the time scale itself. I'll try now to add the options to the save/load functions. Also something is needed for the value markers, as they overlap most of the time. I thought about adding a special window that would list all values actually tracked in the same pmchart window. Also what are your plans around pmview? Are you more thinking about a rewrite and "abandon" pmchart sources or integrating pmview features? I think that extending pmchart makes more sense: when I wrote the pcpviewer with coin, i stopped at creating an object that manage timelines and pcp record. You already did all this in pmchart, and I think it would be """quite""" easy to create a new graph type using the openinventor API. Drawing 3D will not be really different than 2D, and users can easily mix 2D and 3D graphs. ... Bye Olivier Nathan Scott wrote: > This is great! There's a few cleanups here and there needed, and > not sure about the timeout thing (I know, I started that!) ... it > may be better with a click-to-enable, click-to-disable interaction? > > But, I _really_ like the idea - nice one! > > -- > Nathan > -- Nathan From kenj@internode.on.net Sat Mar 14 00:08:04 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00,DATE_IN_PAST_12_24 autolearn=no version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2E57hAS181443 for ; Sat, 14 Mar 2009 00:08:04 -0500 X-ASG-Debug-ID: 1237007219-508203630000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail.internode.on.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 08D3E197D63 for ; Fri, 13 Mar 2009 22:06:59 -0700 (PDT) Received: from mail.internode.on.net (bld-mail02.adl2.internode.on.net [203.16.214.66]) by cuda.sgi.com with ESMTP id U2GOrixGCQd2OJdZ for ; Fri, 13 Mar 2009 22:06:59 -0700 (PDT) Received: from [60.228.111.32] (unverified [60.228.111.32]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 354482210-1927428 for ; Sat, 14 Mar 2009 11:18:41 +1030 (CDT) X-ASG-Orig-Subj: pcp-gui updates Subject: pcp-gui updates From: Ken McDonell Reply-To: kenj@internode.on.net To: pcp@oss.sgi.com Content-Type: text/plain Date: Fri, 13 Mar 2009 20:40:47 +1100 Message-Id: <1236937247.8405.1.camel@bozo-laptop.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: bld-mail02.adl2.internode.on.net[203.16.214.66] X-Barracuda-Start-Time: 1237007242 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0545 1.0000 -1.6714 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -0.29 X-Barracuda-Spam-Status: No, SCORE=-0.29 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=BSF_RULE7568M, DATE_IN_PAST_12_24 X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.20275 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.88 DATE_IN_PAST_12_24 Date: is 12 to 24 hours before Received: date 0.50 BSF_RULE7568M Custom Rule 7568M X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Changes committed to git://oss.sgi.com/nathans/pcp-gui.git src/chart/views/Netbytes | 4 ++-- src/chart/views/Netpackets | 4 ++-- src/chart/views/PMCD | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) commit dcf0282eb232d83aa44c3a0f4f532921c58aefd3 Author: Ken McDonell Date: Fri Mar 13 20:26:43 2009 +1100 Add ppp interfaces to those being monitored. For the poor unfortunates using wireless broadband on Linux, the ppp network interface is your most important interface, so monitoring it is really helpful. commit a55ec936e2359491bfc595dd449f36e0dd15d0bc Author: Ken McDonell Date: Fri Mar 13 20:25:08 2009 +1100 Improve pattern expressions to better match pmcd and pmda processes. From nscott@aconex.com Sun Mar 15 18:47:09 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2FNkmtK047232 for ; Sun, 15 Mar 2009 18:47:08 -0500 X-ASG-Debug-ID: 1237160764-2f2103cc0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 1893019B015 for ; Sun, 15 Mar 2009 16:46:05 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id EAk8hGFrCVqOFba0 for ; Sun, 15 Mar 2009 16:46:05 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 17CD730A681 for ; Mon, 16 Mar 2009 10:46:03 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id Kgho2HjNQCZtyLGl for ; Mon, 16 Mar 2009 10:46:03 +1100 (EST) Received: from gatekeeper.aconex.com (unknown [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id E411B92C34B for ; Mon, 16 Mar 2009 10:46:02 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id D0B184FD83 for ; Mon, 16 Mar 2009 10:46:02 +1100 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id I7QY8nXINKaP for ; Mon, 16 Mar 2009 10:45:58 +1100 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id BF1E44FD82 for ; Mon, 16 Mar 2009 10:45:58 +1100 (EST) Date: Mon, 16 Mar 2009 10:45:58 +1100 (EST) From: Nathan Scott To: pcp@oss.sgi.com Message-ID: <743571914.303801237160758809.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: pcp updates Subject: pcp updates MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [210.49.186.156] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1237160787 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0431 1.0000 -1.7432 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.24 X-Barracuda-Spam-Status: No, SCORE=-1.24 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=BSF_RULE7568M X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.20445 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.50 BSF_RULE7568M Custom Rule 7568M X-Virus-Status: Clean Changes committed to git://oss.sgi.com/nathans/pcp.git configure.in | 5 man/man1/pmcd.1 | 28 - man/man3/GNUmakefile | 3 man/man3/pmimport.3 | 321 +++++++++++++++ src/GNUmakefile | 4 src/dbpmda/src/dbpmda.c | 6 src/genpmda/genpmda | 28 - src/include/GNUmakefile | 3 src/include/impl.h | 19 src/include/pcp.conf.in | 3 src/include/pmimport.h | 46 ++ src/libpcp/src/config.c | 4 src/libpcp/src/p_creds.c | 42 -- src/libpcp/src/p_desc.c | 90 +--- src/libpcp/src/p_error.c | 37 - src/libpcp/src/p_fetch.c | 62 -- src/libpcp/src/p_instance.c | 142 ++---- src/libpcp/src/p_pmns.c | 199 ++++----- src/libpcp/src/p_profile.c | 207 ++++----- src/libpcp/src/p_result.c | 434 ++++++++------------ src/libpcp/src/p_text.c | 132 +----- src/libpcp/src/pdu.c | 200 --------- src/pmcd/pmdaproc.sh | 4 src/pmcd/src/config.c | 6 src/pmdas/ib/Install | 19 src/pmdas/linux/GNUmakefile | 2 src/pmdas/news/GNUmakefile | 33 - src/pmdas/news/Install | 7 src/pmdas/news/README | 7 src/pmdas/news/news.agent | 584 ---------------------------- src/pmdas/news/pmdanews.pl | 50 ++ src/pmdas/news/pmns | 38 - src/pmdas/news/root | 10 src/pmdas/pmcd/src/pmcd.c | 2 src/pmimport/GNUmakefile | 39 + src/pmimport/demos/GNUmakefile | 47 ++ src/pmimport/demos/GNUmakefile.install | 47 ++ src/pmimport/demos/countd.c | 586 ++++++++++++++++++++++++++++ src/pmimport/demos/countproc | 31 + src/pmimport/pmimport.c | 684 +++++++++++++++++++++++++++++++++ src/xconfirm/GNUmakefile | 38 - src/xconfirm/xconfirm | 160 ------- 42 files changed, 2405 insertions(+), 2004 deletions(-) commit 5133f0df4c3d8037cfe0048724685b0417a7b9f6 Author: Nathan Scott Date: Mon Mar 16 10:28:55 2009 +1100 Fix pmimport makefile macros to descend subdirs. commit 0a8380fd4572af0b720065de9a30507ce11ae15f Author: Nathan Scott Date: Mon Mar 16 10:25:25 2009 +1100 Fix the build on 64 bit platforms. commit 39deb9391ccbc836766877f146b037edcef96848 Author: Nathan Scott Date: Mon Mar 16 10:06:28 2009 +1100 Improve pmcd error message if compiled without dlopen support. commit 8b800c265ba80fd4e88d0301879d126ed50634f3 Author: Nathan Scott Date: Mon Mar 16 10:06:04 2009 +1100 pmimport - a tool/API for creating PCP logs from external data. This is a straight port of the code SGI recently made available. It is now platform-independent though (not clear it even worked on Linux before?). I've added it to the tree, but decided not to add it to the installed set of tools/APIs/docs yet, until we have a real-world use in oss-land (in proprietary-land, we had sar plugins for various flavours of IRIX and Unicos). commit 06509a9117eebab64b83d6ce938f568ead322b68 Author: Nathan Scott Date: Sun Mar 15 20:05:46 2009 +1100 Update news PMDA makefile for removed files. commit 3f558ee3f31fcd9a5ff589797a585faf06392857 Author: Nathan Scott Date: Sun Mar 15 20:03:56 2009 +1100 Remove no-longer-needed files from news PMDA, add POD man page. commit 65ef4b088027bc2eaafe8184001b6ba4fe353a71 Author: Nathan Scott Date: Sun Mar 15 19:47:15 2009 +1100 Remove remaining references to ascii protocol in PMDA scripts. commit e436582d26cc89b6fc316a56a004cf1112503896 Author: Nathan Scott Date: Sun Mar 15 19:44:18 2009 +1100 Remove the shell (ascii protocol) variant of the news PMDA. commit 74ea0ae2efe8c4439d693b79565a0aba418ad359 Author: Nathan Scott Date: Sun Mar 15 19:28:56 2009 +1100 Remove the ASCII protocol support in libpcp, dbpmda and pmcd. commit e2663201953b000068edbcf39cf6d781e99aaeaf Author: Nathan Scott Date: Fri Mar 13 08:09:07 2009 +1100 Replace xconfirm with pmconfirm from pcp-gui. There's pretty much no situation where we want to use xconfirm anymore - it looks tragic on current X11 (no theme/desktop integration), and doesn't exist on the other platforms (Mac/Win). The configuration option remains in pcp.conf, however - several tools use this and its arguably part of the API now - so it remains. Also snuck a pmdalinux makefile cleanup - no longer need to link with libpthread. From nscott@aconex.com Mon Mar 16 00:42:09 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2G5fnfo069302 for ; Mon, 16 Mar 2009 00:42:09 -0500 X-ASG-Debug-ID: 1237182065-3cf000520000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 1368D1C452AA for ; Sun, 15 Mar 2009 22:41:06 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id 5yM8revsezd1ahWX for ; Sun, 15 Mar 2009 22:41:06 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 2434630D66C for ; Mon, 16 Mar 2009 16:41:04 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id mOsj630zEDrqZGuO for ; Mon, 16 Mar 2009 16:41:04 +1100 (EST) Received: from gatekeeper.aconex.com (unknown [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 135AB92C30B for ; Mon, 16 Mar 2009 16:41:04 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id F3A394FD82 for ; Mon, 16 Mar 2009 16:41:03 +1100 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JFa3Kq4ugj2T for ; Mon, 16 Mar 2009 16:41:00 +1100 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 403EC4FD81 for ; Mon, 16 Mar 2009 16:41:00 +1100 (EST) Date: Mon, 16 Mar 2009 16:41:00 +1100 (EST) From: Nathan Scott To: pcp@oss.sgi.com Message-ID: <970413069.309661237182060308.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: pcp updates (Win32) Subject: pcp updates (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [210.49.186.156] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1237182088 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.20469 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean Changes committed to git://oss.sgi.com/nathans/pcp.git src/include/builddefs.in | 2 +- src/include/impl.h | 4 ++-- src/libpcp/src/access.c | 12 ++++++------ src/libpcp/src/context.c | 8 ++++---- src/libpcp/src/logportmap.c | 6 +++--- src/libpcp/src/logutil.c | 8 ++++---- src/libpcp/src/pdu.c | 6 +++--- src/libpcp/src/pmns.c | 2 +- src/libpcp/src/tz.c | 8 ++++---- src/libpcp/src/util.c | 8 ++++---- src/pmcd/pmdaproc.sh | 15 ++++++++++++--- src/pmns/pmnsdel.c | 6 ++++++ 12 files changed, 50 insertions(+), 35 deletions(-) commit fd7802d9322935cafc2517a0addbb05fb2357695 Author: Nathan Scott Date: Mon Mar 16 16:34:21 2009 +1100 The __pmLogReads libpcp symbol is used in pcpqa, export it. Exported symbol annotation (EXTERN/INTERN) needs to be applied for this global data symbol to be properly visible to programs written to test log read functionality. While in there, I audited other global libpcp data symbols - no other candidates found; but many cases of global-init-to-zero found (and cleaned up). commit 717f725c781e813aa7dab4326294e4f73c0934ca Author: Nathan Scott Date: Mon Mar 16 16:26:31 2009 +1100 PMDA binaries written to pmcd.conf are not PCP_DIR-prefixed. Make it so, in the pmdaproc.sh script. Cleanup a pmsignal use here as well; INT and TERM are equivalent in all PCP code (the code audit from before pmsignal existed told me so). commit 0fefcb1aa29584c99c7bff2382269a4696cfdadc Author: Nathan Scott Date: Mon Mar 16 11:49:50 2009 +1100 Add location of installed DLL files to Win32 platform lookup path. commit abff403189784bbf81da75fdf7490a9e41b9d98e Author: Nathan Scott Date: Mon Mar 16 11:17:53 2009 +1100 pmnsdel mingw tweak - under Win32, rename() fails if file exists. From nscott@aconex.com Wed Mar 18 00:38:26 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_66 autolearn=no version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2I5c5Ji210538 for ; Wed, 18 Mar 2009 00:38:26 -0500 X-ASG-Debug-ID: 1237354663-699900ab0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id E019D1C4EA2F for ; Tue, 17 Mar 2009 22:37:43 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id teq3VVlGKM9BD3JY for ; Tue, 17 Mar 2009 22:37:43 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 58F6532B253 for ; Wed, 18 Mar 2009 16:19:53 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id 21JMH3aLF9oyjRcN for ; Wed, 18 Mar 2009 16:19:53 +1100 (EST) Received: from gatekeeper.aconex.com (unknown [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 30F5992C34B for ; Wed, 18 Mar 2009 16:19:53 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 112EA4FD81 for ; Wed, 18 Mar 2009 16:19:53 +1100 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ViX2IGWSjDDC for ; Wed, 18 Mar 2009 16:19:49 +1100 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 0DC894FD83 for ; Wed, 18 Mar 2009 16:19:49 +1100 (EST) Date: Wed, 18 Mar 2009 16:19:49 +1100 (EST) From: Nathan Scott To: pcp@oss.sgi.com Message-ID: <1721955231.338661237353589116.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: pcpqa updates Subject: pcpqa updates MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1237354664 X-Barracuda-Bayes: INNOCENT GLOBAL 0.3913 1.0000 -0.0227 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -0.02 X-Barracuda-Spam-Status: No, SCORE=-0.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.20650 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean Changes committed to git://oss.sgi.com/nathans/pcpqa.git 012 | 5 - 013 | 5 - 019 | 19 ++--- 020 | 5 - 022 | 4 - 023 | 31 +++++---- 024 | 4 - 025 | 10 --- 030 | 4 - 032 | 6 + 038 | 135 +++++++++++++++++++----------------------- 041 | 15 ++-- 051 | 3 051.out.2 | 2 051.setup | 4 - 055 | 1 061 | 3 066 | 7 +- 067 | 7 +- 069 | 11 ++- 071 | 6 + 083 | 7 +- 084 | 3 085 | 3 102 | 10 +-- 102.out | 8 +- 108 | 14 +--- 110 | 44 ++++++------- 115 | 3 118 | 3 120 | 11 +-- 128 | 3 130 | 3 133 | 7 +- 133.out | 2 134 | 3 135 | 3 154 | 12 +-- 159 | 16 ++--- 169 | 7 +- 170 | 14 ++-- 172 | 5 - 182 | 15 +--- 183 | 19 +++-- 184 | 3 185 | 3 187 | 3 190 | 1 191 | 4 - 192 | 3 194 | 3 196 | 7 +- 198 | 2 199 | 42 ++++++------- 200 | 5 - 212 | 11 +-- 215 | 5 - 243 | 3 244 | 19 +++-- 254 | 3 255 | 9 +- 258 | 3 269 | 16 ++--- 272 | 3 279 | 7 +- 280 | 8 +- 282 | 17 +---- 283 | 5 - 292 | 7 +- 294 | 9 +- 295 | 9 +- 296 | 6 + 297 | 34 +++------- 301 | 5 - 304 | 3 304.out | 2 308 | 9 +- 312 | 5 - 314 | 3 322 | 10 +-- 323 | 20 +++--- 325 | 11 +-- 326 | 9 +- 336 | 3 367 | 5 - 374 | 10 +-- 375 | 7 +- 381 | 7 +- 381.out | 2 398 | 3 412 | 7 +- 430 | 15 ++-- 456 | 9 +- 500 | 5 - 504 | 4 - 529 | 13 ---- 535 | 3 538 | 3 541 | 3 555 | 5 - 557 | 5 - 558 | 10 --- 571 | 3 575 | 3 578 | 23 ------- 581 | 5 - 583 | 14 ---- 587 | 13 ---- 597 | 30 ++++----- 603 | 32 ++++------ common.pcpweb | 3 mk.localconfig | 111 ++++------------------------------ src-oss/779246.c | 13 ---- src-oss/GNUmakefile | 144 +++++++++++++++++++++++---------------------- src-oss/agenttimeout.c | 11 --- src-oss/arch_maxfd.c | 14 ---- src-oss/archinst.c | 13 ---- src-oss/badloglabel.c | 11 --- src-oss/broken_pmda.c | 9 -- src-oss/broken_pmda.v1.c | 9 -- src-oss/chk_memleak.c | 42 +++++-------- src-oss/chk_metric_types.c | 13 ---- src-oss/chkacc1.c | 6 + src-oss/chkacc2.c | 6 + src-oss/chkacc3.c | 6 + src-oss/chkconnect.c | 13 ---- src-oss/chkctx2.c | 13 ---- src-oss/chknumval.c | 8 -- src-oss/chkoptfetch.c | 19 ----- src-oss/chktrim.c | 13 ---- src-oss/compare.c | 11 --- src-oss/context_fd_leak.c | 12 --- src-oss/context_test.c | 13 ---- src-oss/crashpmcd.c | 11 --- src-oss/defctx.c | 11 --- src-oss/descreqX2.c | 13 ---- src-oss/disk_test.c | 12 --- src-oss/dumb_pmda.c | 8 -- src-oss/eofarch.c | 15 ---- src-oss/eol.c | 13 ---- src-oss/exercise.c | 23 +------ src-oss/exertz.c | 12 --- src-oss/fetchpdu.c | 26 ++------ src-oss/fetchrate.c | 13 ---- src-oss/hex2nbo.c | 4 - src-oss/hp-mib.c | 13 ---- src-oss/indom.c | 18 +---- src-oss/interp0.c | 12 --- src-oss/interp1.c | 14 ---- src-oss/interp2.c | 13 ---- src-oss/interp3.c | 36 +++-------- src-oss/interp4.c | 29 ++------- src-oss/interp_bug.c | 14 ---- src-oss/interp_bug2.c | 13 ---- src-oss/logcontrol.c | 1 src-oss/mark-bug.c | 11 --- src-oss/mkfiles.c | 14 ---- src-oss/multifetch.c | 12 --- src-oss/nameall.c | 50 +++++---------- src-oss/nullinst.c | 21 +----- src-oss/numberstr.c | 6 - src-oss/pcp_lite_crash.c | 12 --- src-oss/pdu-server.c | 1 src-oss/pducheck.c | 4 - src-oss/permfetch.c | 16 ----- src-oss/pmcdgone.c | 3 src-oss/pmdashutdown.c | 17 ----- src-oss/pmnsinarchives.c | 13 ---- src-oss/pmnsunload.c | 16 ----- src-oss/pmsocks_objstyle.c | 11 --- src-oss/proc_test.c | 21 ------ src-oss/recon.c | 13 ---- src-oss/scale.c | 19 ----- src-oss/slow_af.c | 18 ++--- src-oss/store.c | 12 --- src-oss/storepast.c | 14 ---- src-oss/storepdu.c | 28 ++------ src-oss/t_fetch.c | 10 --- src-oss/template.c | 50 +++------------ src-oss/torture-eol.c | 28 +++++--- src-oss/torture_api.c | 53 +--------------- src-oss/torture_cache.c | 17 ----- src-oss/torture_indom.c | 12 --- src-oss/write-bf.c | 8 -- src-oss/xarch.c | 35 +++------- src-oss/xlog.c | 21 +----- 186 files changed, 860 insertions(+), 1614 deletions(-) commit 69f0576ae8d29842b912d291f18ec587a3223f8b Author: Nathan Scott Date: Wed Mar 18 16:16:43 2009 +1100 Basic portability changes to PCP test programs and makefiles. Most of these tests can build on Windows now; for tests where this isn't possible, new makefile macros have been introduced to hide POSIX sources from Win32 compilation. commit 3083d3dc3349a409711c4755e52a720053f7773c Author: Nathan Scott Date: Wed Mar 18 16:09:13 2009 +1100 Switch all QA tests from using kill/kill to pmsignal. From kenj@internode.on.net Wed Mar 18 01:14:36 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2I6EF6K212363 for ; Wed, 18 Mar 2009 01:14:36 -0500 X-ASG-Debug-ID: 1237356813-034600600000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail.internode.on.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id AD5D81C4EF93 for ; Tue, 17 Mar 2009 23:13:33 -0700 (PDT) Received: from mail.internode.on.net (bld-mail09.adl2.internode.on.net [203.16.214.73]) by cuda.sgi.com with ESMTP id cmmxwq8D3n4DDhPy for ; Tue, 17 Mar 2009 23:13:33 -0700 (PDT) Received: from [172.29.188.93] (unverified [203.206.165.193]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 58543046-1927428 for ; Wed, 18 Mar 2009 14:26:44 +1030 (CDT) X-ASG-Orig-Subj: Reference PMDA that is not encumbered? Subject: Reference PMDA that is not encumbered? From: Ken McDonell To: pcp@oss.sgi.com Content-Type: text/plain Date: Wed, 18 Mar 2009 14:56:42 +1100 Message-Id: <1237348602.8130.95.camel@kenj-desktop> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: bld-mail09.adl2.internode.on.net[203.16.214.73] X-Barracuda-Start-Time: 1237356835 X-Barracuda-Bayes: INNOCENT GLOBAL 0.1309 1.0000 -1.2108 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.21 X-Barracuda-Spam-Status: No, SCORE=-1.21 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.20651 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean I was considering how to create a new PMDA that is not encumbered. genpmda(1) looks like a handy place to start, but it emits per cluster source files that begin ... * Copyright (c) 2005 Silicon Graphics, Inc. All Rights Reserved. Now I don't think that is even legally correct: (a) it is not 2005, and (more importantly) (b) SGI did not create this source in the traditional sense of creating copyrightable material. So it would be nice if someone inside sgi could get legal to offer an opinion, and if I am right, then accept a patch to remove this copyright assertion from the output of genpmda. And the pmdas that are installed with source from the binary pcp packages (simple, trivial and txmon) are all sgi copyright and GPL'd. So I think we (the pcp-hackers of the world) need the source code for a reference pmda in the public domain to encourage new (and for the most part proprietary) pmdas to be developed for the new places pcp is being deployed. Thoughts? From mort@sgi.com Wed Mar 18 08:24:40 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2IDOJ7r240692 for ; Wed, 18 Mar 2009 08:24:40 -0500 Received: from attica.americas.sgi.com (attica.americas.sgi.com [128.162.236.44]) by relay2.corp.sgi.com (Postfix) with ESMTP id 1F571304064 for ; Wed, 18 Mar 2009 06:24:00 -0700 (PDT) Received: by attica.americas.sgi.com (Postfix, from userid 44682) id D59931410E6A0; Wed, 18 Mar 2009 07:59:08 -0500 (CDT) Date: Wed, 18 Mar 2009 07:59:08 -0500 From: Martin Hicks To: Ken McDonell Cc: pcp@oss.sgi.com Subject: Re: [pcp] Reference PMDA that is not encumbered? Message-ID: <20090318125908.GC30461@alcatraz.americas.sgi.com> References: <1237348602.8130.95.camel@kenj-desktop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1237348602.8130.95.camel@kenj-desktop> User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean On Wed, Mar 18, 2009 at 02:56:42PM +1100, Ken McDonell wrote: > I was considering how to create a new PMDA that is not encumbered. > > genpmda(1) looks like a handy place to start, but it emits per cluster > source files that begin ... > > * Copyright (c) 2005 Silicon Graphics, Inc. All Rights Reserved. > > Now I don't think that is even legally correct: > (a) it is not 2005, and (more importantly) > (b) SGI did not create this source in the traditional sense of creating > copyrightable material. > > So it would be nice if someone inside sgi could get legal to offer an > opinion, and if I am right, then accept a patch to remove this copyright > assertion from the output of genpmda. I don't even think we need to check with legal. It seems pretty clear that nobody has bothered to change genpmda since it was released. This code is GPL so we don't really have to ask SGI legal for permission to change it. I will gladly apply a patch if it is proposed. I'd be happy with no Copyright line at all and no $Id: line in the generated output. > And the pmdas that are installed with source from the binary pcp > packages (simple, trivial and txmon) are all sgi copyright and GPL'd. > > So I think we (the pcp-hackers of the world) need the source code for a > reference pmda in the public domain to encourage new (and for the most > part proprietary) pmdas to be developed for the new places pcp is being > deployed. > > Thoughts? So this part I can't really fix. You're worried that since the reference PMDAs are GPL, and must follow the derived-works clause, that some prospective customer might base their PMDA on the examples given and then release it with a GPL-incompatible license? I don't know that this is a huge deal. Any non-trivial PMDA is likely to be so different from the provided examples that it could no longer be considered a derived work. That said, I certainly wouldn't reject any patch that adds a public domain PMDA example if there is concensus that this is a real problem. mh From nscott@aconex.com Wed Mar 18 17:39:19 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2IMcw8p012155 for ; Wed, 18 Mar 2009 17:39:19 -0500 X-ASG-Debug-ID: 1237415896-5e14014b0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 4C2AC1A9904 for ; Wed, 18 Mar 2009 15:38:16 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id Q5PPMEOLaNER7agG for ; Wed, 18 Mar 2009 15:38:16 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 6B6B833742D for ; Thu, 19 Mar 2009 09:37:55 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id NVRo6DaG3swG2qGT for ; Thu, 19 Mar 2009 09:37:55 +1100 (EST) Received: from gatekeeper.aconex.com (unknown [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 96CA092C34C for ; Thu, 19 Mar 2009 09:37:55 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 7AFDB4FD81 for ; Thu, 19 Mar 2009 09:37:55 +1100 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NZ2RSjkGHCUU for ; Thu, 19 Mar 2009 09:37:51 +1100 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 5FC0E4FD86 for ; Thu, 19 Mar 2009 09:37:49 +1100 (EST) Date: Thu, 19 Mar 2009 09:37:49 +1100 (EST) From: Nathan Scott To: pcp@oss.sgi.com Message-ID: <2013789658.360531237415869384.JavaMail.root@mail-au.aconex.com> In-Reply-To: <1046131221.340371237367716861.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: pcpqa updates Subject: pcpqa updates MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1237415918 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0334 1.0000 -1.8049 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.80 X-Barracuda-Spam-Status: No, SCORE=-1.80 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.20671 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean Changes committed to git://oss.sgi.com/nathans/pcpqa.git src-oss/779246.c | 2 +- src-oss/arch_maxfd.c | 9 +++++---- src-oss/chk_memleak.c | 2 +- src-oss/compare.c | 1 - src-oss/context_fd_leak.c | 5 +++-- src-oss/crashpmcd.c | 4 ++-- src-oss/disk_test.c | 1 - src-oss/eol.c | 2 +- src-oss/hex2nbo.c | 2 +- src-oss/interp2.c | 2 +- src-oss/interp3.c | 10 +++++----- src-oss/interp4.c | 15 +++++++-------- src-oss/interp_bug.c | 6 +++--- src-oss/interp_bug2.c | 6 +++--- src-oss/mark-bug.c | 12 ++++++------ src-oss/mkfiles.c | 2 +- src-oss/parseinterval.c | 8 ++++---- src-oss/pdu-server.c | 4 ++-- src-oss/pducheck.c | 2 +- src-oss/pmpost-exploit.c | 3 +-- src-oss/read-bf.c | 2 +- src-oss/scale.c | 20 ++++++++++---------- src-oss/slow_af.c | 2 +- src-oss/stripmark.c | 7 ++++--- src-oss/wrap_int.c | 1 + src-oss/write-bf.c | 3 ++- src-oss/xarch.c | 12 ++++++------ src-oss/xlog.c | 10 ++++++---- src-oss/xmktime.c | 12 ++++++------ src-oss/xval.c | 7 ++++--- 30 files changed, 89 insertions(+), 85 deletions(-) commit 6b04021d0709618511eee7097f7caa8fe7d12ea4 Author: Nathan Scott Date: Wed Mar 18 20:11:49 2009 +1100 Fix warnings from test source on 64 bit platforms. From nscott@aconex.com Wed Mar 18 18:09:57 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2IN9adc015275 for ; Wed, 18 Mar 2009 18:09:56 -0500 X-ASG-Debug-ID: 1237417755-211b03950000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 99EF21A821C for ; Wed, 18 Mar 2009 16:09:15 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id rX8WBAGTbua9E6CA for ; Wed, 18 Mar 2009 16:09:15 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 5B54F3378AD; Thu, 19 Mar 2009 10:09:14 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id XgGblecG7f8oqFnT; Thu, 19 Mar 2009 10:09:14 +1100 (EST) Received: from gatekeeper.aconex.com (unknown [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 337CF92C2F8; Thu, 19 Mar 2009 10:09:14 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 14A424FD82; Thu, 19 Mar 2009 10:09:14 +1100 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RczPF+Vn6vCm; Thu, 19 Mar 2009 10:09:09 +1100 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 59C994FD81; Thu, 19 Mar 2009 10:09:09 +1100 (EST) Date: Thu, 19 Mar 2009 10:09:09 +1100 (EST) From: Nathan Scott To: Martin Hicks , Ken McDonell Cc: pcp@oss.sgi.com Message-ID: <24385383.361101237417749448.JavaMail.root@mail-au.aconex.com> In-Reply-To: <1288828739.361081237417529703.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: Re: [pcp] Reference PMDA that is not encumbered? Subject: Re: [pcp] Reference PMDA that is not encumbered? MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1237417756 X-Barracuda-Bayes: INNOCENT GLOBAL 0.4980 1.0000 0.0000 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.20673 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean ----- "Martin Hicks" wrote: > On Wed, Mar 18, 2009 at 02:56:42PM +1100, Ken McDonell wrote: > > I was considering how to create a new PMDA that is not encumbered. > > ... > I don't even think we need to check with legal. It seems pretty > clear > that nobody has bothered to change genpmda since it was released. There are minor changes in my branch... > This code is GPL so we don't really have to ask SGI legal for > permission > to change it. I will gladly apply a patch if it is proposed. > > I'd be happy with no Copyright line at all and no $Id: line in the > generated output. In particular, the $Id line is gone there, and theres makefike tweaks to make it function on Windows (off the top of my head, possible other things too). > So this part I can't really fix. You're worried that since the > reference PMDAs are GPL, and must follow the derived-works clause, > that > some prospective customer might base their PMDA on the examples given > and then release it with a GPL-incompatible license? I'd guess Kens more thinking people will find it problematic to use PCP, because they don't wish (for whatever reason) to release code for custom PMDAs they write and ship to their customers. > I don't know that this is a huge deal. Any non-trivial PMDA is > likely > to be so different from the provided examples that it could no longer > be > considered a derived work. Hmm... thats not entirely clear - if you start from an existing PMDA source, and change it (even extensively) ... it seems a fairly gray area at best as to when it is no longer "derived". People ideally should not have to worry about that, is what Kens saying (I think!) and should be free to choose whatever license they wish for releasing their PMDA. > That said, I certainly wouldn't reject any patch that adds a public > domain PMDA example if there is concensus that this is a real > problem. I wouldn't expect there to be any issue either - a public domain template PMDA may be the way to go? The template.c (client) code in the pcpqa tree is in a similar boat really, and would have similar issues. It seems to have no license annotations at all, strangely. If someone does go write a template PMDA (or change genpmda to create one), please make sure it works on all platforms. txmon doesn't work on Windows, so a drop-in replacement for that might be handy. cheers. -- Nathan From nscott@aconex.com Wed Mar 18 18:19:56 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2INJZ5j016326 for ; Wed, 18 Mar 2009 18:19:56 -0500 X-ASG-Debug-ID: 1237418354-14f700ce0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 43A461A9BE8 for ; Wed, 18 Mar 2009 16:19:15 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id e0Yf8ryWnoHhqLKZ for ; Wed, 18 Mar 2009 16:19:15 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 0E6123390FF; Thu, 19 Mar 2009 10:19:14 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id q2Bx282mH3DPD5xa; Thu, 19 Mar 2009 10:19:14 +1100 (EST) Received: from gatekeeper.aconex.com (unknown [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id D6FF092C2F8; Thu, 19 Mar 2009 10:19:13 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id BAC6E4FD82; Thu, 19 Mar 2009 10:19:13 +1100 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wgtNQd33JEua; Thu, 19 Mar 2009 10:19:09 +1100 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 1010E4FD81; Thu, 19 Mar 2009 10:19:09 +1100 (EST) Date: Thu, 19 Mar 2009 10:19:09 +1100 (EST) From: Nathan Scott To: kenj Cc: pcp@oss.sgi.com Message-ID: <745686509.380061237418349120.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: QA test 319 Subject: QA test 319 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1237418356 X-Barracuda-Bayes: INNOCENT GLOBAL 0.1664 1.0000 -1.0096 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.01 X-Barracuda-Spam-Status: No, SCORE=-1.01 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.20673 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean Hi Ken, Could I get you to take a look at your recent pmie test 319, which is failing consistently for me with TOT pmie ... looks like theres a spurious/unexpected rule evaluation to false in the middle of the and/or checks with empty instance domains. I can't remember, but I suspect you added code later which makes this output correct? Probably just a .out file remake needed...? thanks. -- Nathan From nscott@aconex.com Wed Mar 18 18:52:24 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2INq3VC019291 for ; Wed, 18 Mar 2009 18:52:23 -0500 X-ASG-Debug-ID: 1237420280-39a7015f0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id CC7661C52D16 for ; Wed, 18 Mar 2009 16:51:21 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id lAiI9sLMSj44z7Pb for ; Wed, 18 Mar 2009 16:51:21 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 10C7E33971C for ; Thu, 19 Mar 2009 10:51:20 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id lBlZgPlzYndwCPZZ for ; Thu, 19 Mar 2009 10:51:20 +1100 (EST) Received: from gatekeeper.aconex.com (unknown [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id CDBB392C2FA for ; Thu, 19 Mar 2009 10:51:19 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id B22754FD82 for ; Thu, 19 Mar 2009 10:51:19 +1100 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hNMs68CTQPv7 for ; Thu, 19 Mar 2009 10:51:15 +1100 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id B39404FD81 for ; Thu, 19 Mar 2009 10:51:15 +1100 (EST) Date: Thu, 19 Mar 2009 10:51:15 +1100 (EST) From: Nathan Scott To: pcp@oss.sgi.com Message-ID: <478722098.380321237420275814.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: pcpqa updates Subject: pcpqa updates MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1237420303 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0014 1.0000 -2.0120 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.01 X-Barracuda-Spam-Status: No, SCORE=-2.01 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.20677 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean Changes committed to git://oss.sgi.com/pcp/pcpqa.git 347.out | 22 ++++++++++---------- 356 | 69 ---------------------------------------------------------------- 356.out | 42 -------------------------------------- 519 | 27 ++++++++++++------------- group | 1 owner | 1 6 files changed, 25 insertions(+), 137 deletions(-) commit ed2e68ca5f93916bb58d20f8328b89c93e5fe17c Author: Nathan Scott Date: Thu Mar 19 10:47:50 2009 +1100 QA test 519 intermittent failure fixed. This test intermittently fails when the two hosts chosen do not have filesystems that are less than 50% full - dumb assumption, and has nothing to do with what the test is actually trying to achieve. Changed this to more than 0% full, which makes for a deterministic test. Also made the syslog path search consistent with the other syslog test (583). commit 084bdc687a9702c35227e6bdcc72ed3f294ab52a Author: Nathan Scott Date: Thu Mar 19 10:44:39 2009 +1100 QA test fixes to news pmda tests, as it no longer speaks ASCII. From nscott@aconex.com Wed Mar 18 20:37:20 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_73 autolearn=no version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2J1axd2025102 for ; Wed, 18 Mar 2009 20:37:20 -0500 X-ASG-Debug-ID: 1237426596-0de500220000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id EC6261C533C2 for ; Wed, 18 Mar 2009 18:36:37 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id cRkSKurrCtPs3Ihj for ; Wed, 18 Mar 2009 18:36:37 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 8DEEC2DECE2 for ; Thu, 19 Mar 2009 12:36:35 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id oO9fT3rgaaZY2NfT for ; Thu, 19 Mar 2009 12:36:35 +1100 (EST) Received: from gatekeeper.aconex.com (unknown [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 835B192C34C for ; Thu, 19 Mar 2009 12:36:35 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 65BAD4FD83 for ; Thu, 19 Mar 2009 12:36:35 +1100 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FMd65f+nCmYi for ; Thu, 19 Mar 2009 12:36:31 +1100 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id BA0EB4FD82 for ; Thu, 19 Mar 2009 12:36:31 +1100 (EST) Date: Thu, 19 Mar 2009 12:36:31 +1100 (EST) From: Nathan Scott To: pcp@oss.sgi.com Message-ID: <1999971947.380671237426591846.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: pcp updates Subject: pcp updates MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1237426598 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.52 X-Barracuda-Spam-Status: No, SCORE=-1.52 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=BSF_RULE7568M X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.20683 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.50 BSF_RULE7568M Custom Rule 7568M X-Virus-Status: Clean Changes committed to git://oss.sgi.com/nathans/pcp.git VERSION.pcp | 2 configure.in | 11 ----- debian/changelog | 4 - src/pmdas/weblog/server.sh | 99 ++++++++++----------------------------------- 4 files changed, 27 insertions(+), 89 deletions(-) commit 40f4eafd7bb6827ab4ca0b217af34c1eff3277a9 Author: Nathan Scott Date: Thu Mar 19 12:29:46 2009 +1100 Bump date stamp version number for packaging. commit f0ef5c68b5f650fff8fd7f34e84fabaf6a13238b Author: Nathan Scott Date: Thu Mar 19 12:28:11 2009 +1100 Update weblog PMDA server.sh to detect apache correctly. commit 631457df5099623d375e59f0c8a078d6957dc4f8 Author: Nathan Scott Date: Thu Mar 19 10:10:42 2009 +1100 Need full path to PCP_XCONFIRM_PROG, for libpcp access(2) check. Removed an old, moldy and unused reference to Solaris xmessage in the configure script too. From kenj@internode.on.net Thu Mar 19 05:12:29 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2JAC9JD057405 for ; Thu, 19 Mar 2009 05:12:29 -0500 X-ASG-Debug-ID: 1237457487-30cf02d20000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail.internode.on.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 934011AB067 for ; Thu, 19 Mar 2009 03:11:27 -0700 (PDT) Received: from mail.internode.on.net (bld-mail05.adl2.internode.on.net [203.16.214.69]) by cuda.sgi.com with ESMTP id anXQJUu3moyUNaGF for ; Thu, 19 Mar 2009 03:11:27 -0700 (PDT) Received: from [192.168.1.65] (unverified [118.208.196.75]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 44135373-1927428 for multiple; Thu, 19 Mar 2009 20:41:25 +1030 (CDT) X-ASG-Orig-Subj: Re: QA test 319 Subject: Re: QA test 319 From: Ken McDonell Reply-To: kenj@internode.on.net To: Nathan Scott Cc: pcp@oss.sgi.com In-Reply-To: <745686509.380061237418349120.JavaMail.root@mail-au.aconex.com> References: <745686509.380061237418349120.JavaMail.root@mail-au.aconex.com> Content-Type: text/plain Date: Thu, 19 Mar 2009 21:11:10 +1100 Message-Id: <1237457470.19842.810.camel@bozo> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: bld-mail05.adl2.internode.on.net[203.16.214.69] X-Barracuda-Start-Time: 1237457509 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0018 1.0000 -2.0095 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.01 X-Barracuda-Spam-Status: No, SCORE=-2.01 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.20716 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean No. Unfortunately it is an odd corner case in pmie where the code is just wrong. I sort of left the failing qa test to keep reminding me to fix the code, but every time I look into the code I get depressed and decide it is more important to weed the garden or cut firewood. On Thu, 2009-03-19 at 10:19 +1100, Nathan Scott wrote: > Hi Ken, > > Could I get you to take a look at your recent pmie test 319, which > is failing consistently for me with TOT pmie ... looks like theres > a spurious/unexpected rule evaluation to false in the middle of the > and/or checks with empty instance domains. I can't remember, but I > suspect you added code later which makes this output correct? > > Probably just a .out file remake needed...? > > thanks. > From nscott@aconex.com Thu Mar 19 17:51:24 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2JMp3Kg099693 for ; Thu, 19 Mar 2009 17:51:24 -0500 X-ASG-Debug-ID: 1237503022-67e4030b0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 6013B1C575E4 for ; Thu, 19 Mar 2009 15:50:22 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id EMw1EgBG7czv3uKx for ; Thu, 19 Mar 2009 15:50:22 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 0F33B657174; Fri, 20 Mar 2009 09:50:18 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id FfmHf7o5x5VMWfPS; Fri, 20 Mar 2009 09:50:18 +1100 (EST) Received: from gatekeeper.aconex.com (unknown [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id EF1E292C30B; Fri, 20 Mar 2009 09:50:17 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id CDD32C7B5A; Fri, 20 Mar 2009 09:50:17 +1100 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yKeLluKMBcn3; Fri, 20 Mar 2009 09:50:13 +1100 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 202E54FD81; Fri, 20 Mar 2009 09:50:13 +1100 (EST) Date: Fri, 20 Mar 2009 09:50:13 +1100 (EST) From: Nathan Scott To: kenj@internode.on.net Cc: pcp@oss.sgi.com Message-ID: <809522088.2641237503013221.JavaMail.root@mail-au.aconex.com> In-Reply-To: <1237457470.19842.810.camel@bozo> X-ASG-Orig-Subj: Re: QA test 319 Subject: Re: QA test 319 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1237503044 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0378 1.0000 -1.7770 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.78 X-Barracuda-Spam-Status: No, SCORE=-1.78 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.20767 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean ----- "Ken McDonell" wrote: > No. Unfortunately it is an odd corner case in pmie where the code is > just wrong. Ah, OK, good to know - thanks. Theres a couple of tests that are just plain expected to fail ... wonder if we can mark them as such somehow (not quite a "notrun", or perhaps it is?). > I sort of left the failing qa test to keep reminding me to fix the > code, > but every time I look into the code I get depressed and decide it is > more important to weed the garden or cut firewood. Heh, understood. Writing up the Windows build process invokes a similar response for me. :) cheers. -- Nathan From nscott@aconex.com Thu Mar 19 22:53:51 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2K3rUeX120950 for ; Thu, 19 Mar 2009 22:53:51 -0500 X-ASG-Debug-ID: 1237521168-346303390000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 0C64B1AF23E for ; Thu, 19 Mar 2009 20:52:49 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id DXB2XfYg1ONdg29m for ; Thu, 19 Mar 2009 20:52:49 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id B0AB034C299 for ; Fri, 20 Mar 2009 14:52:46 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id uEDCUtzMgcFGhQJW for ; Fri, 20 Mar 2009 14:52:46 +1100 (EST) Received: from gatekeeper.aconex.com (unknown [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id A03BB92C30B for ; Fri, 20 Mar 2009 14:52:46 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 8147F4FD82 for ; Fri, 20 Mar 2009 14:52:46 +1100 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xT87lkCHz9g9 for ; Fri, 20 Mar 2009 14:52:42 +1100 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id B75834FD81 for ; Fri, 20 Mar 2009 14:52:42 +1100 (EST) Date: Fri, 20 Mar 2009 14:52:42 +1100 (EST) From: Nathan Scott To: pcp@oss.sgi.com Message-ID: <1070177287.7301237521162837.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: pcp updates Subject: pcp updates MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1237521191 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.52 X-Barracuda-Spam-Status: No, SCORE=-1.52 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=BSF_RULE7568M X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.20787 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.50 BSF_RULE7568M Custom Rule 7568M X-Virus-Status: Clean Changes committed to git://oss.sgi.com/nathans/pcp.git configure.in | 2 debian/control | 2 debian/pcp.postinst | 2 debian/pcp.postrm | 2 debian/pcp.prerm | 2 man/man1/GNUmakefile | 6 +- man/man1/pmcd.1 | 2 man/man1/pmconfig.1 | 51 ++++++------------ man/man1/pmlogger.1 | 2 man/man1/pmsignal.1 | 78 ++++++++++++++++++++++++++++ man/man3/pmafm.3 | 4 - src/include/platform_defs.h.in | 7 ++ src/libpcp/src/AF.c | 6 +- src/libpcp/src/win32.c | 111 +++++++++++++++++++++++++++++++++++++---- src/pmie/src/GNUmakefile | 9 --- src/pmie/src/pmie.c | 45 +++++++++------- src/pmlogger/GNUmakefile | 9 --- src/pmlogger/pmlogger.c | 2 src/pmlogger/ports.c | 21 +++++++ src/pmstat/GNUmakefile | 9 --- src/pmstat/pmstat.c | 7 ++ 21 files changed, 279 insertions(+), 100 deletions(-) commit 7a59bfe14c44b0c2af4a076be880a92d539ab4b7 Author: Nathan Scott Date: Fri Mar 20 14:45:06 2009 +1100 Add pmconfig and pmsignal man pages (new tools for Win32). Also take pmtop and pmdahotproc man pages out of the set we install, until these tools are ported/rewritten. commit f743007c30fe88c0d234a6fd28a83c00067d4b77 Author: Nathan Scott Date: Fri Mar 20 14:42:38 2009 +1100 Escape some man page hyphens correctly, some errors snuck in recently. commit 0498a9c3e8af8b0f15dee5c9e4a94c6c8bc35502 Author: Nathan Scott Date: Fri Mar 20 14:40:50 2009 +1100 Debian packaging updates and comply with latest standards version. commit b7fccfae7d90e5c486a1535aa9caccea6f08167c Author: Nathan Scott Date: Fri Mar 20 14:40:10 2009 +1100 Make excel demo script not executable, dodging package deps again. commit 52abe97b1aab0f82ea0b8380fe81008b6f1148fc Author: Nathan Scott Date: Fri Mar 20 14:38:41 2009 +1100 Get pmstat to compile under the Windows API. commit a9cacd810425cb9b71aad9f71f8707fa2970cb39 Author: Nathan Scott Date: Fri Mar 20 14:36:55 2009 +1100 Get pmlogger to compile under the Windows API. commit 277a8548038d839fd460bb048b2bddcbcec53adf Author: Nathan Scott Date: Fri Mar 20 14:36:16 2009 +1100 Get pmie to compile under the Windows API. commit b304d30d839617e2c5cf6b3ffbeca5437e56988d Author: Nathan Scott Date: Fri Mar 20 14:34:48 2009 +1100 Additional portability checks for Win32. Added in a sys/ioctl.h test in configure script, add some stat macros (set to zero) for consistent open/chmod calls under all platforms. Also a mapping for realpath on Win. commit 68d1987409b923b38725d95f9dcff561d2947147 Author: Nathan Scott Date: Fri Mar 20 14:28:25 2009 +1100 Implement the libpcp __pmAF routines on the Win32 platform. Makes use of the Win32 API TimerQueue and mutex classes (cannot use POSIX signals, sigalarm and setitimer here - ENOTSUPP). commit bc0dfca7d864bb7a4cd071859a3ecbc07339aaf7 Author: Nathan Scott Date: Thu Mar 19 15:13:16 2009 +1100 Ensure sigrelse called on __pmAFregister error path. From nscott@aconex.com Sun Mar 22 23:54:33 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2N4sCVX121569 for ; Sun, 22 Mar 2009 23:54:33 -0500 X-ASG-Debug-ID: 1237784015-273b01480000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 35A6813BD0A1 for ; Sun, 22 Mar 2009 21:53:35 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id 4uPQzRtUaCbaoyRG for ; Sun, 22 Mar 2009 21:53:35 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 0B04372741A for ; Mon, 23 Mar 2009 15:53:30 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id kvZR1vrKI6chMqld for ; Mon, 23 Mar 2009 15:53:30 +1100 (EST) Received: from gatekeeper.aconex.com (unknown [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id EB76A92C313 for ; Mon, 23 Mar 2009 15:53:29 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 6DD45C7BF2 for ; Mon, 23 Mar 2009 15:53:29 +1100 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 29dhUXvZdSLx for ; Mon, 23 Mar 2009 15:53:25 +1100 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id DE8D4C7BF0 for ; Mon, 23 Mar 2009 15:53:24 +1100 (EST) Date: Mon, 23 Mar 2009 15:53:24 +1100 (EST) From: Nathan Scott To: pcp@oss.sgi.com Message-ID: <984795471.690931237784004980.JavaMail.root@mail-au.aconex.com> In-Reply-To: <1879998248.690911237783961986.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: pcp updates (Win32) Subject: pcp updates (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [210.49.186.156] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1237784037 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.52 X-Barracuda-Spam-Status: No, SCORE=-1.52 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=BSF_RULE7568M X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.21070 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.50 BSF_RULE7568M Custom Rule 7568M X-Virus-Status: Clean Changes committed to git://oss.sgi.com/nathans/pcp.git src/libpcp/src/logportmap.c | 14 ++++-- src/libpcp/src/win32.c | 61 +++++++++++++++++++++++++---- src/pmie/src/GNUmakefile | 4 - src/pmie/src/act.sk | 45 ++++++++++++++++++--- src/pmie/src/andor.c | 8 --- src/pmie/src/dstruct.c | 22 ++++------ src/pmie/src/eval.c | 1 src/pmie/src/hdr.sk | 8 --- src/pmie/src/logger.h | 83 +++++++++++++++++++++++++++++++++++++++ src/pmie/src/pmie.c | 2 src/pmie/src/stomp.c | 4 - src/pmie/src/syslog.c | 8 --- src/pmie/src/syslog_solaris.h | 88 ------------------------------------------ src/pmlogger/logger.h | 5 ++ src/pmlogger/ports.c | 70 ++++++++++++++++++--------------- src/pmstat/pmstat.c | 6 +- 16 files changed, 244 insertions(+), 185 deletions(-) commit 68f7dfdc32d19b56c1b325648dff56accbabbe61 Author: Nathan Scott Date: Mon Mar 23 15:44:53 2009 +1100 Bug fixes and improvements on the Windows port. - drop .exe off the end of pmProgname. - index the signal array from zero, not one. - add diagnostics to the Win32 AF implementation. - Use SleepEx instead of Sleep (more interruptible). - Correctly test realloc return in AFregister. - Correctly test CreateHardLink return code. commit f99eae4486f4a8789cc637f74b3e1470ec2376b4 Author: Nathan Scott Date: Mon Mar 23 12:17:27 2009 +1100 Fix up cross-platform pathname issues with pmlogger control files. Affects both pmlogger and the libpcp routines using those files (on behalf of pmlc). commit be81c9f16a3a1a2f41db9adb8e78b0c663214271 Author: Nathan Scott Date: Mon Mar 23 10:08:53 2009 +1100 Get the cpp guard around sys/ioctl.h the right way around. commit 0e7ea72316caf27dc85e8c1bab55ff7dd3ee2990 Author: Nathan Scott Date: Mon Mar 23 10:05:27 2009 +1100 CreateHardLink is a WinNT-and-later only API, mark it as such. commit 76c7f6093db0908eed479a0f950647de3dd5ebc5 Author: Nathan Scott Date: Mon Mar 23 09:43:00 2009 +1100 Fix arguments passes to Win32 process creation APIs. commit 8fde5933acfd35df1b30d05a749323b1e2c0bc6d Author: Nathan Scott Date: Mon Mar 23 09:31:59 2009 +1100 Shell/alarm actions for pmie on Windows. Also link with libregex on Windows, and include file portability. commit 6fee6aaa50cb11aa81f81740a7963786e7efb31c Author: Nathan Scott Date: Mon Mar 23 09:02:57 2009 +1100 Make pmie build under Win32 conditions - system log interface. Cleaned up and renamed "syslog_solaris" (which is now used on Solaris, AIX, and Windows) to "logger.h". commit e82b1677e6eba4495f92886fa339befb3dfd06f4 Author: Nathan Scott Date: Fri Mar 20 15:17:54 2009 +1100 Fix other Win32 compilation errors in pmie dstruct.c commit 65401c3777cc42b60d7157972478fe65102dd411 Author: Nathan Scott Date: Fri Mar 20 15:05:06 2009 +1100 Fix compiler error on Win32 in pmie, incorrect macro used. From kenj@internode.on.net Tue Mar 24 16:21:36 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2OLLGeG046412 for ; Tue, 24 Mar 2009 16:21:26 -0500 X-ASG-Debug-ID: 1237929647-5f0f03d80000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail.internode.on.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 978841C69A7A for ; Tue, 24 Mar 2009 14:20:48 -0700 (PDT) Received: from mail.internode.on.net (bld-mail09.adl2.internode.on.net [203.16.214.73]) by cuda.sgi.com with ESMTP id vgyNIevHZyhD225Z for ; Tue, 24 Mar 2009 14:20:48 -0700 (PDT) Received: from [192.168.1.65] (unverified [118.208.196.75]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 59161877-1927428 for multiple; Wed, 25 Mar 2009 04:32:27 +1030 (CDT) X-ASG-Orig-Subj: Re: [pcp] Reference PMDA that is not encumbered? Subject: Re: [pcp] Reference PMDA that is not encumbered? From: Ken McDonell Reply-To: kenj@internode.on.net To: goodwinos@gmail.com Cc: Nathan Scott , Martin Hicks , pcp@oss.sgi.com In-Reply-To: <49C822D8.8010509@gmail.com> References: <24385383.361101237417749448.JavaMail.root@mail-au.aconex.com> <49C822D8.8010509@gmail.com> Content-Type: text/plain Date: Wed, 25 Mar 2009 05:01:41 +1100 Message-Id: <1237917701.31800.19.camel@bozo> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: bld-mail09.adl2.internode.on.net[203.16.214.73] X-Barracuda-Start-Time: 1237929649 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0026 1.0000 -2.0040 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.00 X-Barracuda-Spam-Status: No, SCORE=-2.00 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.21233 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean I'm with Mark (and Nathan and Martin) ... changing genpmda so that it does not emit an sgi copyright assertion fixes that part of the problem. The reference PMDA would serve a slightly different function. Most (all?) of the PMDAs in captivity are based on the source for a previously existing PMDA ... this stuff is sufficiently non-intuitive that most developers will use the "copy and modify" approach to learning. Having something that is a little more realistic than simple/trivial that could be used as the basis for a new PMDA without any concerns as to derivation or GPL infection would be a useful addition if we want more people to take up PCP. I am willing to invest the effort in making this happen ... On Tue, 2009-03-24 at 11:01 +1100, Mark Goodwin wrote: > Nathan Scott wrote: > > I'd guess Kens more thinking people will find it problematic to > > use PCP, because they don't wish (for whatever reason) to release > > code for custom PMDAs they write and ship to their customers. > > Here's my 2c. genpmda was always intended to be a build tool > rather than a run-once code generator, though I don't think it > ever quite fullfilled that objective. In any case, IMO the tool > itself should be GPL and copyright SGI, but the generated code > should inherit the copyright from the config file written by > the developer, i.e. the augmented pmns supplied with the -c option. > > So is generated code a derived work of the tool? In this case, > the generated code is mostly cat < embedded in the tool itself. We have yacc, lex (and indeed the > GNU compiler tool chain itself) as examples here, where clearly > the generated code inherits neither the copyright or license > of the tool. > > Cheers > -- Mark > From goodwinos@gmail.com Tue Mar 24 19:03:16 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2P02ueY055392 for ; Tue, 24 Mar 2009 19:03:06 -0500 X-ASG-Debug-ID: 1237939327-3a1b03d30000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail1.ains.net.au (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id A8F711C6A257 for ; Tue, 24 Mar 2009 17:02:08 -0700 (PDT) Received: from mail1.ains.net.au (mail1.ains.net.au [202.126.109.235]) by cuda.sgi.com with ESMTP id vIy0k3cQqBT89ziI for ; Tue, 24 Mar 2009 17:02:08 -0700 (PDT) Received: (qmail 11853 invoked by uid 1010); 24 Mar 2009 00:01:30 -0000 Received: from 202.134.251.84 by mail1 (envelope-from , uid 1003) with qmail-scanner-2.01 (clamdscan: 0.88.2/1500. Clear:RC:1(202.134.251.84):. Processed in 0.011896 secs); 24 Mar 2009 00:01:30 -0000 Received: from unknown (HELO ?192.168.1.129?) (202.134.251.84) by mail1.ains.net.au with ESMTP; 24 Mar 2009 00:01:30 -0000 Message-ID: <49C822D8.8010509@gmail.com> Date: Tue, 24 Mar 2009 11:01:28 +1100 From: Mark Goodwin Reply-To: goodwinos@gmail.com User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: Nathan Scott CC: Martin Hicks , Ken McDonell , pcp@oss.sgi.com X-ASG-Orig-Subj: Re: [pcp] Reference PMDA that is not encumbered? Subject: Re: [pcp] Reference PMDA that is not encumbered? References: <24385383.361101237417749448.JavaMail.root@mail-au.aconex.com> In-Reply-To: <24385383.361101237417749448.JavaMail.root@mail-au.aconex.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Barracuda-Connect: mail1.ains.net.au[202.126.109.235] X-Barracuda-Start-Time: 1237939349 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0300 1.0000 -1.8269 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.83 X-Barracuda-Spam-Status: No, SCORE=-1.83 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.21243 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Nathan Scott wrote: > I'd guess Kens more thinking people will find it problematic to > use PCP, because they don't wish (for whatever reason) to release > code for custom PMDAs they write and ship to their customers. Here's my 2c. genpmda was always intended to be a build tool rather than a run-once code generator, though I don't think it ever quite fullfilled that objective. In any case, IMO the tool itself should be GPL and copyright SGI, but the generated code should inherit the copyright from the config file written by the developer, i.e. the augmented pmns supplied with the -c option. So is generated code a derived work of the tool? In this case, the generated code is mostly cat <; Tue, 24 Mar 2009 19:08:45 -0500 X-ASG-Debug-ID: 1237939679-465d00ff0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id BC4ED13C68D0 for ; Tue, 24 Mar 2009 17:08:00 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id bc8Mdkzn23kU8uQg for ; Tue, 24 Mar 2009 17:08:00 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 163AB37ABA6 for ; Tue, 24 Mar 2009 21:36:57 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id Iw8W7txpGNdZEacw for ; Tue, 24 Mar 2009 21:36:57 +1100 (EST) Received: from gatekeeper.aconex.com (unknown [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id EE84892C313 for ; Tue, 24 Mar 2009 21:36:56 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id C34E04FD82 for ; Tue, 24 Mar 2009 21:36:56 +1100 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ewF3bGsBLq+r for ; Tue, 24 Mar 2009 21:36:52 +1100 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id C4AF84FD81 for ; Tue, 24 Mar 2009 21:36:52 +1100 (EST) Date: Tue, 24 Mar 2009 21:36:52 +1100 (EST) From: Nathan Scott To: pcp@oss.sgi.com Message-ID: <796870886.1007201237891012942.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: pcp updates Subject: pcp updates MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [210.49.186.156] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1237939701 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0207 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.21244 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean Changes committed to git://oss.sgi.com/nathans/pcp.git src/libpcp/src/AF.c | 154 ++++++++++++++++++++++++++++++---------- src/libpcp/src/GNUmakefile | 6 - src/libpcp/src/logutil.c | 2 src/libpcp/src/pdu.c | 2 src/libpcp/src/win32.c | 171 --------------------------------------------- 5 files changed, 119 insertions(+), 216 deletions(-) commit 3149d69885c6f108603c2d6a301e0f89df7b8bdc Author: Nathan Scott Date: Tue Mar 24 21:30:11 2009 +1100 Work around quirks of the Mac OS X linker, this time. Linker errors result when externally visible, global symbols are not initialised. *groan* yet another bizzaro linker rule. commit 8c339a47a81b5b246cf34db4c4e0f705329d6d49 Author: Nathan Scott Date: Tue Mar 24 12:51:51 2009 +1100 Completely rework the Win32 asynchronous events implementation. It turns out the Win32 TimerQueue is not providing quite what we want here, despite the fact that it looks a perfect match. Once we start running the QA tests (slow_af.c in particular) it emits timers all over the shop pretty quickly; starts out the way we'd expect with the first four events, but quickly degrades to only emitting timer callbacks for the last timer registered. And its very hard to debug, being completely opaque to the caller. So, instead provide an implementation of setitimer and something to holdoff multiple callers inside the onalarm callback in AF.c, and now we run with the same implementation as each of the other supported PCP platforms. And the test passes, hooray. From nscott@aconex.com Tue Mar 24 23:22:38 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2P4MIlB069069 for ; Tue, 24 Mar 2009 23:22:28 -0500 X-ASG-Debug-ID: 1237954904-5f00019a0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id A621513C76D1 for ; Tue, 24 Mar 2009 21:21:44 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id yqkQm9JrEHjsp0Hq for ; Tue, 24 Mar 2009 21:21:44 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 706D565E465; Wed, 25 Mar 2009 15:21:29 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id 8qOHDlY7LJmZvwlp; Wed, 25 Mar 2009 15:21:29 +1100 (EST) Received: from gatekeeper.aconex.com (unknown [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 65F2292C2F8; Wed, 25 Mar 2009 15:21:29 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 3A7374FD83; Wed, 25 Mar 2009 15:21:29 +1100 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yEPLUH2DlT2u; Wed, 25 Mar 2009 15:21:24 +1100 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 834B24FD81; Wed, 25 Mar 2009 15:21:24 +1100 (EST) Date: Wed, 25 Mar 2009 15:21:24 +1100 (EST) From: Nathan Scott To: kenj Cc: pcp@oss.sgi.com Message-ID: <1334997716.1088181237954884671.JavaMail.root@mail-au.aconex.com> In-Reply-To: <488896937.1087431237954431944.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: QA test 635 recently started failing Subject: QA test 635 recently started failing MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1237954925 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0576 1.0000 -1.6524 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.65 X-Barracuda-Spam-Status: No, SCORE=-1.65 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.21260 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean Hi Ken, My netstat -i output is: $ netstat -i Kernel Interface table Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg eth0 1500 0 147081576 0 0 0 117483697 0 0 0 BMRU lo 16436 0 2713464 0 0 0 2713464 0 0 0 LRU And when I pass that through the sed filter at around lines 115 and 200: $ netstat -i | sed \ > -e 's/\*/ /' \ > -e 's/\([0-9]\)\([0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9] \)/\1 \2/g' Kernel Interface table Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg eth0 1500 0 1 47085193 0 0 0 1 17488008 0 0 0 BMRU lo 16436 0 2713552 0 0 0 2713552 0 0 0 LRU Its chopped the 147081576 and 117483697 into two fields, each, and from there (I think) its all downhill - the pminfo output is not broken like that ... and we compare mismatched field numbers eventually, etc. Ah, I just found the comment in the test (search for "Note" or "hack"). If I take those two lines out (the -e 9-digit-num-split bit), the test passes. Sooo, it would seem that certain (older?) versions of netstat merged fields, and current versions don't ... so we're a bit hosed here. If most current versions do the right thing, can we "get off on a legal technicality" and just remove the workaround now, perhaps? Or do you want to workaround this differently now? I guess we could count number of fields via awk, and conditionally split? Getting a bit hairy at that point though...? thanks! -- Nathan From mort@sgi.com Wed Mar 25 13:15:16 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2PIEthQ109666 for ; Wed, 25 Mar 2009 13:15:06 -0500 Received: from attica.americas.sgi.com (attica.americas.sgi.com [128.162.236.44]) by relay2.corp.sgi.com (Postfix) with ESMTP id 520B93040D9 for ; Wed, 25 Mar 2009 11:14:30 -0700 (PDT) Received: by attica.americas.sgi.com (Postfix, from userid 44682) id 951ED140A9146; Wed, 25 Mar 2009 12:58:25 -0500 (CDT) Date: Wed, 25 Mar 2009 12:58:25 -0500 From: Martin Hicks To: pcp@oss.sgi.com Subject: mort/pcp.git updates Message-ID: <20090325175825.GT30461@alcatraz.americas.sgi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Hi, Here are some updates that I've pushed into my tree on OSS. I plan to merge them to the real pcp tree soon, along with any other updates from Nathan. mh commit 8dd2ec9d9aaa32cd94691fd1c518fd6a373a4a1d Author: Martin Hicks Fix the src-pcp make target for the cluster PMDA commit 5575e37dd74bb1f32fc63fdae2770a9ac52ed1dc Author: Martin Hicks No more dependency on sgiReleaseNumber commit 6cecf2b10da918210d8e40503cbaac6e5ab3a99f Author: Martin Hicks Fix source file name in cluster pmda commit 884c80f4cd62d7fe29b927d7c1ef2426f7b2845d Author: Martin Hicks Small fixes to the daemon init routine for the IB PMDA commit eca401e37057eb424cf309e161df4b59ff227369 Author: Martin Hicks Reserve a domain ID for SGI's 'sdr' PMDA commit 985dc2558e7e8c37bc0f08d7da53007b40ca365a Author: Martin Hicks Use killall directly in pmclusterd initscript commit 31f968442b165a8a33d4688ab4f2953667208ba8 Author: Martin Hicks Close stdout during pmclusterd daemonize() From mort@sgi.com Wed Mar 25 15:45:10 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2PKioTB117232 for ; Wed, 25 Mar 2009 15:45:00 -0500 Received: from attica.americas.sgi.com (attica.americas.sgi.com [128.162.236.44]) by relay1.corp.sgi.com (Postfix) with ESMTP id EBAA38F8092 for ; Wed, 25 Mar 2009 13:44:24 -0700 (PDT) Received: by attica.americas.sgi.com (Postfix, from userid 44682) id B36F21410E6BC; Wed, 25 Mar 2009 15:37:32 -0500 (CDT) Date: Wed, 25 Mar 2009 15:37:32 -0500 From: Martin Hicks To: pcp@oss.sgi.com Subject: MMV is now open source Message-ID: <20090325203732.GU30461@alcatraz.americas.sgi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean After submitting the proposal to SGI's Open Source Review Board earlier this week and going through the review, I'm happy to annouce that the memory mapped value library and PMDA are now in my tree on oss.sgi.com in the open-source-mmv branch. The QA tests, archives and ancillary bits in qa/src were approved also, but I need to take a little bit longer look through those source files to make sure that they're ready for release. Expect them later this week. mh From mort@sgi.com Wed Mar 25 15:49:41 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_41, J_CHICKENPOX_73 autolearn=no version=3.3.0-rupdated Received: from relay.sgi.com (relay3.corp.sgi.com [198.149.34.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2PKnLei117455 for ; Wed, 25 Mar 2009 15:49:31 -0500 Received: from attica.americas.sgi.com (attica.americas.sgi.com [128.162.236.44]) by relay3.corp.sgi.com (Postfix) with ESMTP id 8C66CAC006 for ; Wed, 25 Mar 2009 13:48:55 -0700 (PDT) Received: by attica.americas.sgi.com (Postfix, from userid 44682) id 6C8FF1410E6BC; Wed, 25 Mar 2009 15:48:48 -0500 (CDT) Date: Wed, 25 Mar 2009 15:48:48 -0500 From: Martin Hicks To: Nathan Scott Cc: pcp@oss.sgi.com Subject: Re: [pcp] pcp updates Message-ID: <20090325204848.GV30461@alcatraz.americas.sgi.com> References: <1999971947.380671237426591846.JavaMail.root@mail-au.aconex.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1999971947.380671237426591846.JavaMail.root@mail-au.aconex.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean On Thu, Mar 19, 2009 at 12:36:31PM +1100, Nathan Scott wrote: > Changes committed to git://oss.sgi.com/nathans/pcp.git > > VERSION.pcp | 2 > configure.in | 11 ----- > debian/changelog | 4 - > src/pmdas/weblog/server.sh | 99 ++++++++++----------------------------------- > 4 files changed, 27 insertions(+), 89 deletions(-) > > commit 40f4eafd7bb6827ab4ca0b217af34c1eff3277a9 > Author: Nathan Scott > Date: Thu Mar 19 12:29:46 2009 +1100 > > Bump date stamp version number for packaging. > > commit f0ef5c68b5f650fff8fd7f34e84fabaf6a13238b > Author: Nathan Scott > Date: Thu Mar 19 12:28:11 2009 +1100 > > Update weblog PMDA server.sh to detect apache correctly. > Sorry. Trying to catch up on reviews. In this you change a list of paths to be a single entry. Redhat is still deficient. # look for Apache servers here -# On Linux they live under /etc/httpd -# Apache from Irix Freeware keeps its stuff in /usr/freeware/apache/etc -# And by default it's in /usr/apache. -# On IRIX, the bundled Apache maintains its files below -# /var/sgi_apache/httpd-outbox # -APACHEPATH="${APACHEPATH-/etc/httpd:/usr/freeware/apache:/usr/apache:/var/sgi_apache/httpd-outbox}" +APACHEPATH="${APACHEPATH-/etc/apache2}" [root@quiero-admin ~]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 5.2 (Tikanga) [root@quiero-admin ~]# ls /etc/apache2 ls: /etc/apache2: No such file or directory [root@quiero-admin ~]# ls -l /etc/httpd/ total 8 drwxr-xr-x 2 root root 4096 Dec 30 01:47 conf drwxr-xr-x 2 root root 4096 Mar 23 16:59 conf.d lrwxrwxrwx 1 root root 19 Mar 23 16:22 logs -> ../../var/log/httpd lrwxrwxrwx 1 root root 29 Mar 23 16:22 modules -> ../../usr/lib64/httpd/modules lrwxrwxrwx 1 root root 13 Mar 23 16:22 run -> ../../var/run [root@quiero-admin ~]# so this change will break on redhat distros. mh From mort@sgi.com Wed Mar 25 16:20:10 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2PLJn7i119110 for ; Wed, 25 Mar 2009 16:20:00 -0500 Received: from attica.americas.sgi.com (attica.americas.sgi.com [128.162.236.44]) by relay1.corp.sgi.com (Postfix) with ESMTP id 59C228F8078 for ; Wed, 25 Mar 2009 14:19:24 -0700 (PDT) Received: by attica.americas.sgi.com (Postfix, from userid 44682) id E76AC1410E6BC; Wed, 25 Mar 2009 16:10:21 -0500 (CDT) Date: Wed, 25 Mar 2009 16:10:21 -0500 From: Martin Hicks To: pcp@oss.sgi.com Subject: using bugzilla on oss.sgi.com? Message-ID: <20090325211021.GW30461@alcatraz.americas.sgi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Hi, I have a bunch of feature requests in the internal sgi bug tracking system that would likely be useful to the greater PCP community if they were implemented. Would people be interested in using the bugzilla at oss.sgi.com/bugzilla to track PCP bugs and feature requests? I thought this might be a good way to track feature requests, and to provide a list of low-hanging fruit for list lurkers who may be interested in contributing, but don't know where to start. If so, I'll put in a request to the oss_admins to create a PCP project in bugzilla with some appropriate list of "components". What would these be? pcp, pcp_gui and pcpqa? mh From kenj@internode.on.net Wed Mar 25 17:04:59 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2PM4c75121532 for ; Wed, 25 Mar 2009 17:04:49 -0500 X-ASG-Debug-ID: 1238018630-4f7e024d0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail.internode.on.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 8BFDA1C6F4A4 for ; Wed, 25 Mar 2009 15:03:50 -0700 (PDT) Received: from mail.internode.on.net (bld-mail08.adl2.internode.on.net [203.16.214.72]) by cuda.sgi.com with ESMTP id 7eb1FFMk3YAmLi79 for ; Wed, 25 Mar 2009 15:03:50 -0700 (PDT) Received: from [192.168.1.65] (unverified [118.208.196.75]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 45250176-1927428 for multiple; Thu, 26 Mar 2009 08:33:48 +1030 (CDT) X-ASG-Orig-Subj: Re: [pcp] MMV is now open source Subject: Re: [pcp] MMV is now open source From: Ken McDonell Reply-To: kenj@internode.on.net To: Martin Hicks Cc: pcp@oss.sgi.com In-Reply-To: <20090325203732.GU30461@alcatraz.americas.sgi.com> References: <20090325203732.GU30461@alcatraz.americas.sgi.com> Content-Type: text/plain Date: Thu, 26 Mar 2009 09:03:26 +1100 Message-Id: <1238018606.12548.3.camel@bozo> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: bld-mail08.adl2.internode.on.net[203.16.214.72] X-Barracuda-Start-Time: 1238018652 X-Barracuda-Bayes: INNOCENT GLOBAL 0.2533 1.0000 -0.5596 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -0.56 X-Barracuda-Spam-Status: No, SCORE=-0.56 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.21331 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Excellent work Martin, thanks very much. On Wed, 2009-03-25 at 15:37 -0500, Martin Hicks wrote: > After submitting the proposal to SGI's Open Source Review Board earlier > this week and going through the review, I'm happy to annouce that the > memory mapped value library and PMDA are now in my tree on oss.sgi.com > in the open-source-mmv branch. > > The QA tests, archives and ancillary bits in qa/src were approved also, > but I need to take a little bit longer look through those source files > to make sure that they're ready for release. Expect them later this > week. > > mh > > _______________________________________________ > pcp mailing list > pcp@oss.sgi.com > http://oss.sgi.com/mailman/listinfo/pcp From kenj@internode.on.net Wed Mar 25 17:07:08 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2PM6mDo121724 for ; Wed, 25 Mar 2009 17:06:58 -0500 X-ASG-Debug-ID: 1238018780-364d02d90000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail.internode.on.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 4CC231C6F810 for ; Wed, 25 Mar 2009 15:06:20 -0700 (PDT) Received: from mail.internode.on.net (bld-mail02.adl2.internode.on.net [203.16.214.66]) by cuda.sgi.com with ESMTP id UhbqF9sAHWHHcpna for ; Wed, 25 Mar 2009 15:06:20 -0700 (PDT) Received: from [192.168.1.65] (unverified [118.208.196.75]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 355580701-1927428 for multiple; Thu, 26 Mar 2009 08:36:19 +1030 (CDT) X-ASG-Orig-Subj: Re: [pcp] using bugzilla on oss.sgi.com? Subject: Re: [pcp] using bugzilla on oss.sgi.com? From: Ken McDonell Reply-To: kenj@internode.on.net To: Martin Hicks Cc: pcp@oss.sgi.com In-Reply-To: <20090325211021.GW30461@alcatraz.americas.sgi.com> References: <20090325211021.GW30461@alcatraz.americas.sgi.com> Content-Type: text/plain Date: Thu, 26 Mar 2009 09:05:57 +1100 Message-Id: <1238018757.12548.5.camel@bozo> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: bld-mail02.adl2.internode.on.net[203.16.214.66] X-Barracuda-Start-Time: 1238018782 X-Barracuda-Bayes: INNOCENT GLOBAL 0.1912 1.0000 -0.8742 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -0.87 X-Barracuda-Spam-Status: No, SCORE=-0.87 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.21331 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean Works for me, and I think the components you suggest are the likely first candidates, possibly dropping pcpqa as the number of people involved in that part of PCP is quite small, and I doubt there is anything to be exported from BugWorks in that category ... 8^)> On Wed, 2009-03-25 at 16:10 -0500, Martin Hicks wrote: > Hi, > > I have a bunch of feature requests in the internal sgi bug tracking > system that would likely be useful to the greater PCP community if they > were implemented. Would people be interested in using the bugzilla at > oss.sgi.com/bugzilla to track PCP bugs and feature requests? > > I thought this might be a good way to track feature requests, and to > provide a list of low-hanging fruit for list lurkers who may be > interested in contributing, but don't know where to start. > > If so, I'll put in a request to the oss_admins to create a PCP project > in bugzilla with some appropriate list of "components". What would > these be? pcp, pcp_gui and pcpqa? > > mh > > _______________________________________________ > pcp mailing list > pcp@oss.sgi.com > http://oss.sgi.com/mailman/listinfo/pcp From nscott@aconex.com Wed Mar 25 17:48:04 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2PMlhwJ123827 for ; Wed, 25 Mar 2009 17:47:54 -0500 X-ASG-Debug-ID: 1238021232-21ab03860000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id A2E8C13CBD58 for ; Wed, 25 Mar 2009 15:47:13 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id xSGCVkHMpOSBC9VY for ; Wed, 25 Mar 2009 15:47:13 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 6BA4572DF64; Thu, 26 Mar 2009 09:46:49 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id PE43geJ0goYeUPLG; Thu, 26 Mar 2009 09:46:49 +1100 (EST) Received: from gatekeeper.aconex.com (unknown [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 571BA92C313; Thu, 26 Mar 2009 09:46:49 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 2B3F94FD83; Thu, 26 Mar 2009 09:46:49 +1100 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id k6+oPkIStOek; Thu, 26 Mar 2009 09:46:44 +1100 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 753AA4FD81; Thu, 26 Mar 2009 09:46:44 +1100 (EST) Date: Thu, 26 Mar 2009 09:46:44 +1100 (EST) From: Nathan Scott To: Martin Hicks Cc: pcp@oss.sgi.com Message-ID: <1454107185.1110831238021204603.JavaMail.root@mail-au.aconex.com> In-Reply-To: <20090325204848.GV30461@alcatraz.americas.sgi.com> X-ASG-Orig-Subj: Re: [pcp] pcp updates Subject: Re: [pcp] pcp updates MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1238021255 X-Barracuda-Bayes: INNOCENT GLOBAL 0.2773 1.0000 -0.4480 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -0.45 X-Barracuda-Spam-Status: No, SCORE=-0.45 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.21334 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean ----- "Martin Hicks" wrote: > > Sorry. Trying to catch up on reviews. > > In this you change a list of paths to be a single entry. Redhat is > still deficient. Did it work previously? Looks like all distros do this differently, its not worked for me for a long, long time & I finally got sick of it. SLES does it a third, different-again way, from a quick look on oss.sgi.com. Argh. > so this change will break on redhat distros. You may be assuming it worked before on Redhat? :) I'll take a look, but its not as simple as just changing the search path - the set of subdirs below each is different each time too. cheers. -- Nathan From nscott@aconex.com Wed Mar 25 17:54:45 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2PMsOuq124067 for ; Wed, 25 Mar 2009 17:54:35 -0500 X-ASG-Debug-ID: 1238021655-547601f30000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 8D68913CBD9C for ; Wed, 25 Mar 2009 15:54:16 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id HwAFKmK0adQAhVFH for ; Wed, 25 Mar 2009 15:54:16 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 13E1572E007; Thu, 26 Mar 2009 09:53:57 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id t8GjiNYLdzkbydKt; Thu, 26 Mar 2009 09:53:57 +1100 (EST) Received: from gatekeeper.aconex.com (unknown [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id F11DB92C313; Thu, 26 Mar 2009 09:53:56 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id C72564FD82; Thu, 26 Mar 2009 09:53:56 +1100 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zgH-7a6rOJnO; Thu, 26 Mar 2009 09:53:52 +1100 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 1CE154FD81; Thu, 26 Mar 2009 09:53:52 +1100 (EST) Date: Thu, 26 Mar 2009 09:53:52 +1100 (EST) From: Nathan Scott To: Martin Hicks Cc: pcp@oss.sgi.com Message-ID: <1224475995.1111071238021632243.JavaMail.root@mail-au.aconex.com> In-Reply-To: <20090325175825.GT30461@alcatraz.americas.sgi.com> X-ASG-Orig-Subj: Re: [pcp] mort/pcp.git updates Subject: Re: [pcp] mort/pcp.git updates MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1238021656 X-Barracuda-Bayes: INNOCENT GLOBAL 0.1566 1.0000 -1.0640 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -0.56 X-Barracuda-Spam-Status: No, SCORE=-0.56 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=BSF_RULE7568M X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.21334 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.50 BSF_RULE7568M Custom Rule 7568M X-Virus-Status: Clean ----- "Martin Hicks" wrote: > Hi, > > Here are some updates that I've pushed into my tree on OSS. I plan > to > merge them to the real pcp tree soon, along with any other updates > from > Nathan. > ... > commit 985dc2558e7e8c37bc0f08d7da53007b40ca365a > Author: Martin Hicks > > Use killall directly in pmclusterd initscript > Sounds like that should be "pmsignal -a" instead? Nothing should be using kill/killall anymore. This assumes you've merged that... if not, set a reminder for later, cos I will forget. :) cheers. -- Nathan From nscott@aconex.com Wed Mar 25 18:19:54 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2PNJXMl124991 for ; Wed, 25 Mar 2009 18:19:44 -0500 X-ASG-Debug-ID: 1238023146-1f9d02830000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 9AC771C6FC4E for ; Wed, 25 Mar 2009 16:19:06 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id sKNiQAyHOYvR66Vi for ; Wed, 25 Mar 2009 16:19:06 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 51DA8394F48; Thu, 26 Mar 2009 10:19:05 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id TE9DnfjoTsd3LT2l; Thu, 26 Mar 2009 10:19:05 +1100 (EST) Received: from gatekeeper.aconex.com (unknown [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 2F2EA92C2F8; Thu, 26 Mar 2009 10:19:05 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 027A04FD82; Thu, 26 Mar 2009 10:19:05 +1100 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Rgw3APdx-tPH; Thu, 26 Mar 2009 10:19:01 +1100 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 01D9F4FD81; Thu, 26 Mar 2009 10:19:01 +1100 (EST) Date: Thu, 26 Mar 2009 10:19:01 +1100 (EST) From: Nathan Scott To: kenj@internode.on.net, Martin Hicks Cc: pcp@oss.sgi.com Message-ID: <200705196.1132351238023141141.JavaMail.root@mail-au.aconex.com> In-Reply-To: <1523197965.1116371238022643297.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: Re: [pcp] using bugzilla on oss.sgi.com? Subject: Re: [pcp] using bugzilla on oss.sgi.com? MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1238023147 X-Barracuda-Bayes: INNOCENT GLOBAL 0.4921 1.0000 0.0000 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.21335 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean ----- "Ken McDonell" wrote: > ... > Works for me, and I think the components you suggest are the likely > first candidates, possibly dropping pcpqa as the number of people > involved in that part of PCP is quite small, and I doubt there is > anything to be exported from BugWorks in that category ... 8^)> *nod* - drop pcpqa, make "pcp_gui" into "pcp-gui" and could you add "pcp-glider" as well please. Speaking of which, an "ultra- early pre-alpha several-known-issues it-will-eat-your-data" version (only for the truly brave / criminally insane) can be found at the PCP download spot (see web pages to find that, cant remember off the top of my head) in snapshot/win/pcp-glider-0.0.1.exe. This includes a working (with the above caveat) pmchart.exe! Today may be the day I do that writeup on how-to build, Ken; I think I see a big free timeslot later today and I may be in an appropriate headspace to handle the pain. :) cheers. -- Nathan From nscott@aconex.com Wed Mar 25 21:29:43 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2Q2TNeX133012 for ; Wed, 25 Mar 2009 21:29:33 -0500 X-ASG-Debug-ID: 1238034516-783d02710000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id A40091C7049B for ; Wed, 25 Mar 2009 19:28:36 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id cfM6fRTC17ZkYMlB for ; Wed, 25 Mar 2009 19:28:36 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 5BEDC72E5ED for ; Thu, 26 Mar 2009 13:28:35 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id SggKNLlBuyM8WS77 for ; Thu, 26 Mar 2009 13:28:35 +1100 (EST) Received: from gatekeeper.aconex.com (unknown [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 4E8D892C313 for ; Thu, 26 Mar 2009 13:28:35 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 239A64FD83 for ; Thu, 26 Mar 2009 13:28:35 +1100 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iItTmlTskBZ1 for ; Thu, 26 Mar 2009 13:28:31 +1100 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 606924FD82 for ; Thu, 26 Mar 2009 13:28:31 +1100 (EST) Date: Thu, 26 Mar 2009 13:28:31 +1100 (EST) From: Nathan Scott To: pcp@oss.sgi.com Message-ID: <1664723635.1164541238034511534.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: pcp updates Subject: pcp updates MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1238034537 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.21349 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean Changes committed to git://oss.sgi.com/nathans/pcp.git src/genpmda/genpmda | 16 +++------------- src/include/pmtime.h | 2 +- src/pmie/src/hdr.sk | 7 +++++-- src/pmlogger/ports.c | 5 ++++- src/pmval/pmval.c | 40 ---------------------------------------- 5 files changed, 13 insertions(+), 57 deletions(-) commit 0b45e5a8c5b955211ec5a06d53cc2760e86c4dec Author: Nathan Scott Date: Thu Mar 26 13:21:34 2009 +1100 Remove SGI copyright notice from code generated by genpmda. commit 8d45882f3be70788e974e2e6eb820c9713c84345 Author: Nathan Scott Date: Thu Mar 26 13:11:30 2009 +1100 Remove dead code (comments, really) from pmval/pmtime integration. commit a8228f6efdd017aa592333cb33925c7ca3485eeb Author: Nathan Scott Date: Wed Mar 25 11:50:45 2009 +1100 Fix an off-by-one in logger pid file creation for non-Win32. commit 72b6ebfdeebe3478189652df90b7df742c6355a3 Author: Nathan Scott Date: Wed Mar 25 11:21:05 2009 +1100 Reinstate dropped wait.h include from a pmie source file. From nscott@aconex.com Fri Mar 27 06:05:14 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2RB4sJ6233138 for ; Fri, 27 Mar 2009 06:05:04 -0500 X-ASG-Debug-ID: 1238151847-49c500190000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 11FB71CB8A9 for ; Fri, 27 Mar 2009 04:04:07 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id T4C4aaNBABDJCLBE for ; Fri, 27 Mar 2009 04:04:07 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id BE7133B179C for ; Fri, 27 Mar 2009 22:04:05 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id QuGfPCbGOjU5AcmS for ; Fri, 27 Mar 2009 22:04:05 +1100 (EST) Received: from gatekeeper.aconex.com (unknown [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id B0F8992C313 for ; Fri, 27 Mar 2009 22:04:05 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 820F14FD82 for ; Fri, 27 Mar 2009 22:04:05 +1100 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bqETg739MfWJ for ; Fri, 27 Mar 2009 22:04:01 +1100 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id C5BE24FD81 for ; Fri, 27 Mar 2009 22:04:01 +1100 (EST) Date: Fri, 27 Mar 2009 22:04:01 +1100 (EST) From: Nathan Scott To: pcp@oss.sgi.com Message-ID: <1649243137.1385031238151841928.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: pcp updates Subject: pcp updates MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [210.49.186.156] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - SAF3 (Mac)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1238151869 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.21477 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean Changes committed to git://oss.sgi.com/nathans/pcp.git src/libpcp/src/pdu.c | 4 ++++ src/libpcp/src/util.c | 4 ++-- src/pmdas/weblog/server.sh | 21 +++++++++++++++++---- src/pmlogger/pmlogger.c | 2 +- 4 files changed, 24 insertions(+), 7 deletions(-) commit b0659885d810d7884d22742742d9b6d0530a1e83 Author: Nathan Scott Date: Fri Mar 27 21:55:04 2009 +1100 Resolve spurious Win32 socket disconnect log message in some tools. commit 5249523e6995e8ff728433cffbf14419a2d95ef5 Author: Nathan Scott Date: Fri Mar 27 21:48:30 2009 +1100 Correct the path to Windows pmconfirm binary (PCP_XCONFORM_PROG). commit f2f3d05f936806ac5cdd15ae7922a721914ecb39 Author: Nathan Scott Date: Thu Mar 26 13:50:31 2009 +1100 Update weblog PMDA apache search to work on Redhat and SLES too. From nscott@aconex.com Fri Mar 27 06:24:37 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2RBOGLw234290 for ; Fri, 27 Mar 2009 06:24:27 -0500 X-ASG-Debug-ID: 1238153030-254401f50000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 5CCEC1CC34F for ; Fri, 27 Mar 2009 04:23:50 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id MoOequmoeLabM9HK for ; Fri, 27 Mar 2009 04:23:50 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 4BE5B3B1EB0 for ; Fri, 27 Mar 2009 22:23:49 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id aL65rH1TPzAe8CFs for ; Fri, 27 Mar 2009 22:23:49 +1100 (EST) Received: from gatekeeper.aconex.com (unknown [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 3C17492C34C for ; Fri, 27 Mar 2009 22:23:49 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 0CC0B4FD82 for ; Fri, 27 Mar 2009 22:23:49 +1100 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id U0WTcCdmZNaJ for ; Fri, 27 Mar 2009 22:23:45 +1100 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id F29CA4FD81 for ; Fri, 27 Mar 2009 22:23:44 +1100 (EST) Date: Fri, 27 Mar 2009 22:23:44 +1100 (EST) From: Nathan Scott To: pcp@oss.sgi.com Message-ID: <766371243.1385091238153024921.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: pcp-gui updates Subject: pcp-gui updates MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [210.49.186.156] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - SAF3 (Mac)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1238153031 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.21479 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean Changes committed to git://oss.sgi.com/pcp/pcp-gui.git Makepkgs | 1 build/GNUmakefile | 2 debian/control | 2 dev/null |binary src/chart/GNUmakefile | 32 +------ src/chart/aboutdialog.ui | 4 src/chart/chartdialog.cpp | 4 src/chart/chartdialog.ui | 14 +-- src/chart/console.ui | 2 src/chart/exportdialog.ui | 4 src/chart/fileiconprovider.cpp | 22 ++--- src/chart/gadget.cpp | 22 ++--- src/chart/hostdialog.ui | 2 src/chart/images/title_off_left.png |binary src/chart/images/title_off_right.png |binary src/chart/images/title_off_stretch.png |binary src/chart/images/title_on_left.png |binary src/chart/images/title_on_right.png |binary src/chart/images/title_on_stretch.png |binary src/chart/infodialog.ui | 2 src/chart/main.cpp | 12 +- src/chart/namespace.cpp | 6 - src/chart/openviewdialog.cpp | 4 src/chart/openviewdialog.ui | 10 +- src/chart/pmchart.cpp | 6 - src/chart/pmchart.h | 6 - src/chart/pmchart.qrc | 142 ++++++++++++++++----------------- src/chart/pmchart.ui | 48 +++++------ src/chart/recorddialog.ui | 8 - src/chart/samplesdialog.ui | 2 src/chart/saveviewdialog.ui | 6 - src/chart/seealsodialog.ui | 6 - src/chart/settingsdialog.ui | 2 src/chart/timebutton.cpp | 33 ++----- src/chart/timecontrol.cpp | 22 ----- src/chart/timecontrol.h | 3 src/chart/viewdialog.ui | 6 - src/include/pmtime.h | 3 src/query/GNUmakefile | 6 - src/query/pmquery.cpp | 12 +- src/query/pmquery.qrc | 12 +- src/time/GNUmakefile | 10 -- src/time/aboutdialog.ui | 4 src/time/console.ui | 2 src/time/main.cpp | 28 +++--- src/time/pmtime.qrc | 42 ++++----- src/time/pmtimearch.ui | 10 +- src/time/pmtimelive.cpp | 5 - src/time/pmtimelive.h | 2 src/time/pmtimelive.ui | 12 +- src/time/seealsodialog.ui | 6 - src/time/showboundsdialog.ui | 2 src/time/timelord.cpp | 22 ----- src/time/timelord.h | 1 54 files changed, 263 insertions(+), 351 deletions(-) commit f50aa815e5636d26cf84af571efd42aa66b2bbb9 Merge: 3311af1... dcf0282... Author: Nathan Scott Date: Fri Mar 27 22:13:54 2009 +1100 Merge branch 'master' of git://oss.sgi.com/pcp/pcp-gui commit 3311af18b8295c2104ec47520892d656c83b1fa5 Author: Nathan Scott Date: Fri Mar 27 22:10:22 2009 +1100 Fix old macro name typo in pmchart header. commit 59383b221be4cee56272d5de7b70b0092328d017 Author: Nathan Scott Date: Fri Mar 27 22:09:01 2009 +1100 Remove unneeded extra fwd declaration of pmtime global. commit f455977c0ec98fb4c773bc9e1ee4b6261f8b1582 Author: Nathan Scott Date: Fri Mar 27 22:08:35 2009 +1100 Fix the native Mac OS X toolbar look. Turns out this must only be set after adding the initial toolbar to its parent, cannot be done before. commit 05fc68d74a499b287d5c1fcee03a6eabfab9dba4 Author: Nathan Scott Date: Fri Mar 27 22:07:15 2009 +1100 Tweak Debian packaging to have fewer dependencies. commit 00f454d5e1588eb506b819e34393be68667ecbb5 Author: Nathan Scott Date: Fri Mar 27 22:06:49 2009 +1100 Remove spurious leftover line in Makepkgs script. commit 6a4d54547ebdb660b8d441ad7f21af9ede6c6aed Author: Nathan Scott Date: Thu Mar 26 09:00:08 2009 +1100 Remove the handling of 'GUI style' messages - old misfeature. commit 24c5d8960e1873f9314233a3c5a104eead73ab20 Author: Nathan Scott Date: Thu Mar 26 08:50:03 2009 +1100 Move icon resources into "images" subdirs (pmchart/time/query). This unclutters the individual source directories a fair bit. commit 1a6f198c8b7bdeb256423f1eda1f0189eb3a0cf3 Author: Nathan Scott Date: Wed Mar 11 08:11:32 2009 +1100 Make mac build dir descent consistent with others. From mort@sgi.com Fri Mar 27 13:35:30 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2RIZAtb261034 for ; Fri, 27 Mar 2009 13:35:20 -0500 Received: from attica.americas.sgi.com (attica.americas.sgi.com [128.162.236.44]) by relay1.corp.sgi.com (Postfix) with ESMTP id BAB5A8F80CE for ; Fri, 27 Mar 2009 11:34:45 -0700 (PDT) Received: by attica.americas.sgi.com (Postfix, from userid 44682) id 4DF2C140A3D1C; Fri, 27 Mar 2009 13:26:41 -0500 (CDT) Date: Fri, 27 Mar 2009 13:26:41 -0500 From: Martin Hicks To: pcp@oss.sgi.com Subject: QA tests have been released Message-ID: <20090327182641.GC23829@alcatraz.americas.sgi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean I've just pushed the newly open sourced QA tests, helper programs and archives to the pcpqa tree in the branch 'open-source-mar09'. I'd intended to push them to my pcpqa tree, but I messed up. :) commit aec0ce1e5371eb8e829e2936038c465dcd0fd829 Author: Martin Hicks Date: Fri Mar 27 13:09:43 2009 -0500 Open source tests 1000-1236 + ancillary programs and archives Have fun! mh From nscott@aconex.com Sat Mar 28 05:55:15 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2SAssrE054519 for ; Sat, 28 Mar 2009 05:55:05 -0500 X-ASG-Debug-ID: 1238237648-7cbe02b90000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 143AB1CFC64 for ; Sat, 28 Mar 2009 03:54:09 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id GqCJncgBH3AtbHEj for ; Sat, 28 Mar 2009 03:54:09 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 1FC313B76C6 for ; Sat, 28 Mar 2009 21:54:07 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id sZGEiYu7W1I2Soa2 for ; Sat, 28 Mar 2009 21:54:07 +1100 (EST) Received: from gatekeeper.aconex.com (unknown [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 1776F92C2F8 for ; Sat, 28 Mar 2009 21:54:07 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id DE5AB612E1 for ; Sat, 28 Mar 2009 21:54:06 +1100 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wUjofB1hF+1q for ; Sat, 28 Mar 2009 21:54:02 +1100 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id D57CD612E0 for ; Sat, 28 Mar 2009 21:54:02 +1100 (EST) Date: Sat, 28 Mar 2009 21:54:03 +1100 (EST) From: Nathan Scott To: pcp@oss.sgi.com Message-ID: <615033881.1386541238237643011.JavaMail.root@mail-au.aconex.com> In-Reply-To: <642969331.1386521238237627902.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: pcp-gui updates (1.3.4) Subject: pcp-gui updates (1.3.4) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [210.49.186.156] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - SAF3 (Mac)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1238237670 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.52 X-Barracuda-Spam-Status: No, SCORE=-1.52 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=BSF_RULE7568M X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.21572 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.50 BSF_RULE7568M Custom Rule 7568M X-Virus-Status: Clean Changes committed to git://oss.sgi.com/pcp/pcp-gui.git VERSION | 4 - debian/changelog | 6 ++ debian/copyright | 95 ++++++++++++++++++++++++++++++++++++++++--- doc/CHANGES | 6 ++ doc/COPYING | 3 - man/man1/pmchart.1 | 2 src/chart/images/GNUmakefile | 34 +++++++++++++++ src/query/images/GNUmakefile | 13 +++++ src/time/images/GNUmakefile | 16 +++++++ 9 files changed, 170 insertions(+), 9 deletions(-) commit f5c28fe8cc467132628f0533e7563cffe6bc88c5 Author: Nathan Scott Date: Sat Mar 28 21:40:33 2009 +1100 Bump version number for package upgrades. commit af04571af22536b69d5a5009b976b058fbd12bac Author: Nathan Scott Date: Sat Mar 28 21:34:21 2009 +1100 As we install a kmchart link, we need a man page for it on Debian. commit b86439631d59c4fb59502f12ad0bfc3be070d6ec Author: Nathan Scott Date: Sat Mar 28 21:35:23 2009 +1100 Be more explicit about which pieces have which licenses, for Debian. commit 9bd3d7c2a3a572f8d892de4c66db758695850254 Author: Nathan Scott Date: Sat Mar 28 17:34:10 2009 +1100 Add missing images subdir makefiles. From nscott@aconex.com Sun Mar 29 19:03:07 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2U02f6M166724 for ; Sun, 29 Mar 2009 19:02:52 -0500 X-ASG-Debug-ID: 1238371355-105800930000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 330EF13D96AD for ; Sun, 29 Mar 2009 17:02:35 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id gdylOBRE5YfQoNzl for ; Sun, 29 Mar 2009 17:02:35 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 03CE03BAAA2 for ; Mon, 30 Mar 2009 11:01:53 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id SI0bJqHIIUPnApaV for ; Mon, 30 Mar 2009 11:01:53 +1100 (EST) Received: from gatekeeper.aconex.com (unknown [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id D1AC892C2C4 for ; Mon, 30 Mar 2009 11:01:53 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id A3BA34FD87 for ; Mon, 30 Mar 2009 11:01:53 +1100 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id okTvKMkOZ7VH for ; Mon, 30 Mar 2009 11:01:48 +1100 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id E6CAC4FD82 for ; Mon, 30 Mar 2009 11:01:48 +1100 (EST) Date: Mon, 30 Mar 2009 11:01:49 +1100 (EST) From: Nathan Scott To: pcp@oss.sgi.com Message-ID: <212524313.1510191238371309089.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: pmproxy intermittent failure Subject: pmproxy intermittent failure MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1238371377 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.21717 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean Hi all, We're observing an occassional problem when running pmproxy. I've not been able to see the source from quick code auditing, so hopefully some other kind soul may have some ideas. Every now and again, pmproxy stops listening on its port. This can be seen with "netstat -tulnp" - the process is still running, but it isn't accepting new connections. The log file tends to have one or two client connection attempts listed, partially-setup but failed, and then it just stops talking to the world. The pmproxy log entries look something like: Log for pmproxy on [HOST] started Wed Feb 18 07:31:29 2009 pmproxy: PID = 31126, PDU version = 2 pmproxy request port(s): sts fd IP addr === === ======== ok 0 [IPADDR] AcceptNewClient: bad pmcd port "mproxy-client 1" recv from client at [IPADDR] AcceptNewClient: bad version string () recv from client at [IPADDR] AcceptNewClient: bad pmcd port "mproxy-client 1" recv from client at [IPADDR] This is not a new issue, we've observed it on and off for a long, long time (I observed the failure this morning in a machine running PCP code from '07 - the above log is from a more recent PCP version though). Here's another log (this is the old PCP code): Log for pmproxy on [HOST] started Mon Mar 30 08:27:53 2009 pmproxy: PID = 6894, PDU version = 2 pmproxy request port(s): sts fd IP addr === === ======== ok 0 [IPADDR] AcceptNewClient: failed to get PMCD hostname () from client at [IPADDR] So, it seems to be at some random point during the initial setup, during the client/server handshaking - sometimes right away, other times after getting past the initial version string. Most of the time, it works just fine though ...seems almost like we're getting data from multiple clients on one descriptor??? Those should just cause client disconnection too, but we see the server stop listening eventually too. Only cause I can think of there is that perhaps the server has accidentally closed the file descriptor it was listening on? That second log is the second failure today on that host (its getting alot more requests today than it normally would, so failure seems to be a bit related to pmproxy load at least - and thats load in terms of both number of clients and amount of packets passing thru). Hmm, could be time to instrument pmproxy along the lines of pmcd? cheers. -- Nathan From nscott@aconex.com Sun Mar 29 19:07:23 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2U073I6166839 for ; Sun, 29 Mar 2009 19:07:13 -0500 X-ASG-Debug-ID: 1238371577-495a002f0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 75F6B1C7C995 for ; Sun, 29 Mar 2009 17:06:18 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id FNMR66JgA8BT5Gsp for ; Sun, 29 Mar 2009 17:06:18 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id A6DE83BAC20 for ; Mon, 30 Mar 2009 11:06:16 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id sCOkfA8kwH2KCQx7 for ; Mon, 30 Mar 2009 11:06:16 +1100 (EST) Received: from gatekeeper.aconex.com (unknown [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 9FF0192C2C4 for ; Mon, 30 Mar 2009 11:06:16 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 719374FD82 for ; Mon, 30 Mar 2009 11:06:16 +1100 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id twV57x68j1g6 for ; Mon, 30 Mar 2009 11:06:11 +1100 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id BC3C44FD81 for ; Mon, 30 Mar 2009 11:06:11 +1100 (EST) Date: Mon, 30 Mar 2009 11:06:11 +1100 (EST) From: Nathan Scott To: pcp@oss.sgi.com Message-ID: <1544513020.1513551238371571927.JavaMail.root@mail-au.aconex.com> In-Reply-To: <20090329231747.E092920E6EC@mail.lhr.acx> X-ASG-Orig-Subj: Log rotation issue Subject: Log rotation issue MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1238371599 X-Barracuda-Bayes: INNOCENT GLOBAL 0.1152 1.0000 -1.3022 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.30 X-Barracuda-Spam-Status: No, SCORE=-1.30 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.21718 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean Hi Ken, I'm seeing an occassional pmlogger_daily warning (I think since upgrading the pmlogger_daily scripts to the new-weekly-cull/merge-style variant) - not sure if its failing to create logs or not ... hard to tell exactly which host its coming from (message leaves a bit to be desired, cos mkaf doesn't have the full archive path). Does this look fatal to you? thanks. ----- Forwarded Message ----- ...[mail header snipped]... mkaf: Warning: cannot extract hostname from archive "20090330.00.10" ... skipped mkaf: Warning: cannot extract hostname from archive "20090330.00.10" ... skipped ----- End Forwarded Message ----- -- Nathan From kenj@internode.on.net Mon Mar 30 00:43:19 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2U5gxXs179147 for ; Mon, 30 Mar 2009 00:43:09 -0500 X-ASG-Debug-ID: 1238391732-0a6800510000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail.internode.on.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 7BF4C1C7D275 for ; Sun, 29 Mar 2009 22:42:13 -0700 (PDT) Received: from mail.internode.on.net (bld-mail11.adl2.internode.on.net [203.16.214.75]) by cuda.sgi.com with ESMTP id a7BJZCluPG6gmXgD for ; Sun, 29 Mar 2009 22:42:13 -0700 (PDT) Received: from [192.168.1.65] (unverified [118.208.186.175]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 47576894-1927428 for multiple; Mon, 30 Mar 2009 16:12:10 +1030 (CDT) X-ASG-Orig-Subj: Re: [pcp] Log rotation issue Subject: Re: [pcp] Log rotation issue From: Ken McDonell Reply-To: kenj@internode.on.net To: Nathan Scott Cc: pcp@oss.sgi.com In-Reply-To: <1544513020.1513551238371571927.JavaMail.root@mail-au.aconex.com> References: <1544513020.1513551238371571927.JavaMail.root@mail-au.aconex.com> Content-Type: text/plain Date: Mon, 30 Mar 2009 16:41:44 +1100 Message-Id: <1238391704.19916.32.camel@bozo> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: bld-mail11.adl2.internode.on.net[203.16.214.75] X-Barracuda-Start-Time: 1238391755 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0958 1.0000 -1.4179 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.42 X-Barracuda-Spam-Status: No, SCORE=-1.42 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.21740 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean I doubt that this is related to the last round of pmlogger_daily changes. The message more than likely means the label record has not yet been written because the first dummy pmlogger record (pmcd.pmlogger.host, pmcd.pmlogger.port and pmcd.pmlogger.archive) has not yet been written. There is a very small window between the fopen() and the fwrite() in pmlogger. The existence of the archive files is checked in the guard and retry loop of pmnewlog (which is where mkaf is likely being called from in this scenario) so you'd have to be hitting that pmlogger window. I am guessing this is a logger farm, with lots of pmlogger's being turned over at the same time. Any way the Latest archive folio being messed up is not going to have any long-term bad effects ... just as long as the archives look ok in the morning. Fixing this in pmnewlog is not too difficult, but testing the fix is going to be tricky, as you (Nathan) are the only one with an apparent non-deterministic test environment ... 8^)> On Mon, 2009-03-30 at 11:06 +1100, Nathan Scott wrote: > Hi Ken, > I'm seeing an occassional pmlogger_daily warning (I think since upgrading the > pmlogger_daily scripts to the new-weekly-cull/merge-style variant) - not sure > if its failing to create logs or not ... hard to tell exactly which host its > coming from (message leaves a bit to be desired, cos mkaf doesn't have the > full archive path). > > Does this look fatal to you? > > thanks. > > ----- Forwarded Message ----- > ...[mail header snipped]... > > mkaf: Warning: cannot extract hostname from archive "20090330.00.10" ... skipped > mkaf: Warning: cannot extract hostname from archive "20090330.00.10" ... skipped > > ----- End Forwarded Message ----- > From nscott@aconex.com Mon Mar 30 17:22:51 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2UMMVYp217909 for ; Mon, 30 Mar 2009 17:22:41 -0500 X-ASG-Debug-ID: 1238451706-6af003690000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 2EBE91C81343 for ; Mon, 30 Mar 2009 15:21:47 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id tW20M0InLRoU8lni for ; Mon, 30 Mar 2009 15:21:47 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id A30F0737605; Tue, 31 Mar 2009 09:21:44 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id ZisKNifEEFqEoYQu; Tue, 31 Mar 2009 09:21:44 +1100 (EST) Received: from gatekeeper.aconex.com (unknown [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 9491692C2F8; Tue, 31 Mar 2009 09:21:44 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 5E8BC612EB; Tue, 31 Mar 2009 09:21:44 +1100 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sk+uQnDLiK3E; Tue, 31 Mar 2009 09:21:39 +1100 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id A0900612EA; Tue, 31 Mar 2009 09:21:39 +1100 (EST) Date: Tue, 31 Mar 2009 09:21:39 +1100 (EST) From: Nathan Scott To: kenj@internode.on.net Cc: pcp@oss.sgi.com Message-ID: <721112441.1850331238451699804.JavaMail.root@mail-au.aconex.com> In-Reply-To: <840959305.1848921238451006366.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: Re: [pcp] Log rotation issue Subject: Re: [pcp] Log rotation issue MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1238451728 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0736 1.0000 -1.5532 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.55 X-Barracuda-Spam-Status: No, SCORE=-1.55 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.21808 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean ----- "Ken McDonell" wrote: > The message more than likely means the label record has not yet been > written because the first dummy pmlogger record (pmcd.pmlogger.host, > pmcd.pmlogger.port and pmcd.pmlogger.archive) has not yet been > written. > There is a very small window between the fopen() and the fwrite() in > pmlogger. The existence of the archive files is checked in the guard > and > retry loop of pmnewlog (which is where mkaf is likely being called > from > in this scenario) so you'd have to be hitting that pmlogger window. Just looking at pmnewlog... we're talking about the chunk of code at around line 600 - with then up-to-ten second loop - I guess that part succeeds, we just get these spurious warnings from early mkaf failures. But we have done a successful pmlc connect just prior to the loop, so it would seem if we could force out the log labels before we accept any pmlc connections. Should pmlogger be doing a fflush and/or fsync after the fopen/fwrite to remove this race? > I am guessing this is a logger farm, with lots of pmlogger's being > turned over at the same time. Yep... between ten and twenty hosts per farm. 5 or 6 farms atm. > Any way the Latest archive folio being messed up is not going to have > any long-term bad effects ... just as long as the archives look ok in > the morning. > > Fixing this in pmnewlog is not too difficult, but testing the fix is In pmnewlog or pmlogger/libpcp? I'd have though the latter? > going to be tricky, as you (Nathan) are the only one with an apparent > non-deterministic test environment ... 8^)> Happy to test stuff and/or add the flushing calls into pmlogger/libpcp if you think they will help. I seem to hit it relatively frequently on some hosts, so we should be able to build up a fair level of confidence with any code change relatively quickly here. thanks! -- Nathan From kenj@internode.on.net Tue Mar 31 02:30:43 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_64, J_CHICKENPOX_65 autolearn=no version=3.3.0-rupdated Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2V7UMxp245920 for ; Tue, 31 Mar 2009 02:30:33 -0500 X-ASG-Debug-ID: 1238484623-72fc01b70000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail.internode.on.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 1260213DF780 for ; Tue, 31 Mar 2009 00:30:24 -0700 (PDT) Received: from mail.internode.on.net (bld-mail11.adl2.internode.on.net [203.16.214.75]) by cuda.sgi.com with ESMTP id 47Xntk9YI0KiBH0U for ; Tue, 31 Mar 2009 00:30:24 -0700 (PDT) Received: from [192.168.1.65] (unverified [118.208.186.175]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 47701054-1927428 for multiple; Tue, 31 Mar 2009 17:59:34 +1030 (CDT) X-ASG-Orig-Subj: Re: [pcp] Log rotation issue Subject: Re: [pcp] Log rotation issue From: Ken McDonell Reply-To: kenj@internode.on.net To: Nathan Scott Cc: pcp@oss.sgi.com In-Reply-To: <721112441.1850331238451699804.JavaMail.root@mail-au.aconex.com> References: <721112441.1850331238451699804.JavaMail.root@mail-au.aconex.com> Content-Type: multipart/mixed; boundary="=-BgB4xPAMZehG1E5ST7oW" Date: Tue, 31 Mar 2009 18:29:07 +1100 Message-Id: <1238484547.19916.376.camel@bozo> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 X-Barracuda-Connect: bld-mail11.adl2.internode.on.net[203.16.214.75] X-Barracuda-Start-Time: 1238484646 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0001 1.0000 -2.0206 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.21839 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean --=-BgB4xPAMZehG1E5ST7oW Content-Type: text/plain Content-Transfer-Encoding: 7bit On Tue, 2009-03-31 at 09:21 +1100, Nathan Scott wrote: > ----- "Ken McDonell" wrote: > > > The message more than likely means the label record has not yet been > > written because the first dummy pmlogger record (pmcd.pmlogger.host, > > pmcd.pmlogger.port and pmcd.pmlogger.archive) has not yet been > > written. > > There is a very small window between the fopen() and the fwrite() in > > pmlogger. The existence of the archive files is checked in the guard > > and > > retry loop of pmnewlog (which is where mkaf is likely being called > > from > > in this scenario) so you'd have to be hitting that pmlogger window. > > Just looking at pmnewlog... we're talking about the chunk of code at > around line 600 - with then up-to-ten second loop - I guess that part > succeeds, we just get these spurious warnings from early mkaf failures. > But we have done a successful pmlc connect just prior to the loop, so > it would seem if we could force out the log labels before we accept any > pmlc connections. Yes. > Should pmlogger be doing a fflush and/or fsync after the fopen/fwrite > to remove this race? I don't think pmlogger gets a chance ... until the first fetch has been done and the first pmResult is ready to go to the archive, it cannot write the label record (which is the missing piece of magic here). I've been able to reproduce the symptom with a hard loop test case launching pmlogger and creating a folio in two shell scripts (not really suitable for pcpqa I'm afraid). This proves my theory, so the attached patch for pmnewlog should fix the problem, I believe. This patch passes qa, as in ... $ check -g pmnewlog -g logutil -x remote > > I am guessing this is a logger farm, with lots of pmlogger's being > > turned over at the same time. > > Yep... between ten and twenty hosts per farm. 5 or 6 farms atm. > > > Any way the Latest archive folio being messed up is not going to have > > any long-term bad effects ... just as long as the archives look ok in > > the morning. > > > > Fixing this in pmnewlog is not too difficult, but testing the fix is > > In pmnewlog or pmlogger/libpcp? I'd have though the latter? No it is a pmnewlog problem IMO (see above). > > going to be tricky, as you (Nathan) are the only one with an apparent > > non-deterministic test environment ... 8^)> > > Happy to test stuff and/or add the flushing calls into pmlogger/libpcp > if you think they will help. I seem to hit it relatively frequently on > some hosts, so we should be able to build up a fair level of confidence > with any code change relatively quickly here. > > thanks! > --=-BgB4xPAMZehG1E5ST7oW Content-Disposition: attachment; filename="patch" Content-Type: text/x-patch; name="patch"; charset="UTF-8" Content-Transfer-Encoding: 7bit diff --git a/src/pmlogctl/pmnewlog.sh b/src/pmlogctl/pmnewlog.sh index 9a7e42e..7fee410 100755 --- a/src/pmlogctl/pmnewlog.sh +++ b/src/pmlogctl/pmnewlog.sh @@ -595,13 +595,24 @@ then # i=0 failed=true - while [ $i -lt 10 ] + WAIT_TIME=10 + while [ $i -lt $WAIT_TIME ] do if $SHOWME || [ -f $archive.0 -a -f $archive.meta -a $archive.index ] then - _do_cmd "mkaf $archive.0 >Latest" - failed=false - break + _do_cmd "mkaf $archive.0 >Latest" 2>$tmp.err + if [ -s $tmp.err ] + then + # errors from mkaf typically result from race conditions + # at the start of pmlogger, e.g. + # Warning: cannot extract hostname from archive "..." ... + # + # simply keep trying + : + else + failed=false + break + fi fi sleep 1 i=`expr $i + 1` @@ -609,7 +620,12 @@ then if $failed then - echo "Warning: pmlogger [pid=$new_pid] failed to create archive files within 20 seconds" + echo "Warning: pmlogger [pid=$new_pid] failed to create archive files within $WAIT_TIME seconds" + if [ -f $tmp.err ] + then + echo "Warnings/errors from mkaf ..." + cat $tmp.err + fi fi else _abandon --=-BgB4xPAMZehG1E5ST7oW-- From nscott@aconex.com Tue Mar 31 05:05:51 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2VA5VVk252926 for ; Tue, 31 Mar 2009 05:05:41 -0500 X-ASG-Debug-ID: 1238493932-149b031d0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 0D84E13DFC85 for ; Tue, 31 Mar 2009 03:05:33 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id Rj5lnw7VVBKpM3bh for ; Tue, 31 Mar 2009 03:05:33 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 05E8F3D2CF1; Tue, 31 Mar 2009 21:04:38 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id sC6ZpB3mEJts7nR2; Tue, 31 Mar 2009 21:04:38 +1100 (EST) Received: from gatekeeper.aconex.com (unknown [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id EE90292C2F8; Tue, 31 Mar 2009 21:04:38 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id BA8FD4FD82; Tue, 31 Mar 2009 21:04:38 +1100 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id E6UcGx3D977t; Tue, 31 Mar 2009 21:04:34 +1100 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 0FE0B4FD81; Tue, 31 Mar 2009 21:04:34 +1100 (EST) Date: Tue, 31 Mar 2009 21:04:34 +1100 (EST) From: Nathan Scott To: kenj@internode.on.net Cc: pcp@oss.sgi.com Message-ID: <345818228.2027791238493874226.JavaMail.root@mail-au.aconex.com> In-Reply-To: <1238484547.19916.376.camel@bozo> X-ASG-Orig-Subj: Re: [pcp] Log rotation issue Subject: Re: [pcp] Log rotation issue MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [210.49.186.156] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - SAF3 (Mac)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1238493955 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.21845 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean ----- "Ken McDonell" wrote: > On Tue, 2009-03-31 at 09:21 +1100, Nathan Scott wrote: > > ----- "Ken McDonell" wrote: > > > > I don't think pmlogger gets a chance ... until the first fetch has > been > done and the first pmResult is ready to go to the archive, it cannot > write the label record (which is the missing piece of magic here). > > I've been able to reproduce the symptom with a hard loop test case > launching pmlogger and creating a folio in two shell scripts (not > really > suitable for pcpqa I'm afraid). This proves my theory, so the > attached > patch for pmnewlog should fix the problem, I believe. > > This patch passes qa, as in ... > $ check -g pmnewlog -g logutil -x remote > Great, thanks Ken! I'll spin a new snapshot with this soon, and try it out on our systems. cheers. -- Nathan From makc@iinet.net.au Tue Mar 31 05:26:53 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2VAQXXm254034 for ; Tue, 31 Mar 2009 05:26:43 -0500 X-ASG-Debug-ID: 1238494897-2a9000250000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from outbound.icp-qv1-irony-out4.iinet.net.au (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 1A3D41D8744 for ; Tue, 31 Mar 2009 03:21:37 -0700 (PDT) Received: from outbound.icp-qv1-irony-out4.iinet.net.au (outbound.icp-qv1-irony-out4.iinet.net.au [203.59.1.150]) by cuda.sgi.com with ESMTP id oPNYucyp9NB1Uv9C for ; Tue, 31 Mar 2009 03:21:37 -0700 (PDT) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEAOSL0UnL2Rwk/2dsb2JhbADNP4N6Bg X-IronPort-AV: E=Sophos;i="4.38,452,1233500400"; d="scan'208";a="333395233" Received: from unknown (HELO alma.crabbed.net) ([203.217.28.36]) by outbound.icp-qv1-irony-out4.iinet.net.au with ESMTP; 31 Mar 2009 18:21:21 +0800 Received: by alma.crabbed.net (Postfix, from userid 501) id 29EB22EF27B; Tue, 31 Mar 2009 21:21:02 +1100 (EST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18897.61069.859533.558262@iinet.net.au> Date: Tue, 31 Mar 2009 21:21:01 +1100 From: Max Matveev To: pcp@oss.sgi.com X-ASG-Orig-Subj: Make MMV compile on Linux and MacOSX Subject: Make MMV compile on Linux and MacOSX X-Mailer: VM 7.17 under 21.4 (patch 19) "Constant Variable" XEmacs Lucid X-Barracuda-Connect: outbound.icp-qv1-irony-out4.iinet.net.au[203.59.1.150] X-Barracuda-Start-Time: 1238494919 X-Barracuda-Bayes: INNOCENT GLOBAL 0.2377 1.0000 -0.6354 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -0.64 X-Barracuda-Spam-Status: No, SCORE=-0.64 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.21846 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean I've pushed my changes to make MMV compile on Linux and MacOSX plus the manpages to oss.sgi.com. The tree is the clone of the mort's tree and the changes are on top of the open-source-mmv branch in that tree. max The following changes since commit e323e7c0322ad24c6fa798c1521a960ee5c08232: Martin Hicks (1): Open Source the memory mapped value (MMV) PMDA are available in the git repository at: git://oss.sgi.com/makc/morts mmv Max Matveev (1): Port MMV to Linux and MacOSX man/man3/GNUmakefile | 3 +- man/man3/mmv_inc_value.3 | 54 ++++++++++++++ man/man3/mmv_lookup_value_desc.3 | 77 +++++++++++++++++++ man/man3/mmv_stats_init.3 | 87 ++++++++++++++++++++++ man/man4/GNUmakefile | 2 +- man/man4/mmv.4 | 142 +++++++++++++++++++++++++++++++++++ src/include/mmv_stats.h | 16 ++-- src/libpcp_mmv/src/.gitignore | 5 + src/libpcp_mmv/src/GNUmakefile | 12 +++- src/libpcp_mmv/src/mmv_stats.c | 151 ++++++++++++++++++++++---------------- src/pmdas/mmv/.gitignore | 4 + 11 files changed, 479 insertions(+), 74 deletions(-) create mode 100644 man/man3/mmv_inc_value.3 create mode 100644 man/man3/mmv_lookup_value_desc.3 create mode 100644 man/man3/mmv_stats_init.3 create mode 100644 man/man4/mmv.4 create mode 100644 src/libpcp_mmv/src/.gitignore create mode 100644 src/pmdas/mmv/.gitignore From nscott@aconex.com Tue Mar 31 05:26:54 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2VAQXs1254033 for ; Tue, 31 Mar 2009 05:26:44 -0500 X-ASG-Debug-ID: 1238495075-5eaf03410000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id D36D61D875F for ; Tue, 31 Mar 2009 03:24:36 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id hRZAVoVqDCQp2yCi for ; Tue, 31 Mar 2009 03:24:36 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 31C833D3477 for ; Tue, 31 Mar 2009 21:24:33 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id 4JHQbsEtuMI8aGXB for ; Tue, 31 Mar 2009 21:24:33 +1100 (EST) Received: from gatekeeper.aconex.com (unknown [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 261A492C34B for ; Tue, 31 Mar 2009 21:24:33 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id E964A4FD82 for ; Tue, 31 Mar 2009 21:24:32 +1100 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VPwhmRvQNlH0 for ; Tue, 31 Mar 2009 21:24:28 +1100 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id AE14E4FD81 for ; Tue, 31 Mar 2009 21:24:27 +1100 (EST) Date: Tue, 31 Mar 2009 21:24:27 +1100 (EST) From: Nathan Scott To: pcp@oss.sgi.com Message-ID: <2010589101.2027921238495067825.JavaMail.root@mail-au.aconex.com> In-Reply-To: <608610252.2027901238494947759.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: Re: pmproxy intermittent failure Subject: Re: pmproxy intermittent failure MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_132229_2029987076.1238495067823" X-Originating-IP: [210.49.186.156] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - SAF3 (Mac)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1238495077 X-Barracuda-Bayes: INNOCENT GLOBAL 0.1425 1.0000 -1.1438 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.14 X-Barracuda-Spam-Status: No, SCORE=-1.14 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.21846 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean ------=_Part_132229_2029987076.1238495067823 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit ----- "Nathan Scott" wrote: > Hi all, > > We're observing an occassional problem when running pmproxy. > > Every now and again, pmproxy stops listening on its port. This can be > seen with "netstat -tulnp" - the process is still running, but it > isn't > accepting new connections. The log file tends to have one or two > client > connection attempts listed, partially-setup but failed, and then it > just > stops talking to the world. After a few hours of sitting on a firewall, poking and prodding with gdb, I think I understand now why it stops listening. This patch seems to fix this problem for me, but since its intermittent its difficult to tell for sure. I believe the root cause is in src/pmproxy/client.c. NewClient allocates chunks of new client entries in the client array, and most fields are not initialised there, but rather in the caller AcceptNewClient. One field that is not initialised is pmcd_fd, that is only set later, once we try to establish the socket to pmcd. DeleteClient is called at many points in the initial connection setup attempt. It tests to see of pmcd_fd is non-negative, and if so closes it - for some of the early dropped connections, we will have random junk in this field, and its possible we could call close on the fd we listen(2) and accept(2) on ... I think that would get us in the situation where pmproxy still runs but doesn't take any new connections until restarted. > AcceptNewClient: bad pmcd port "mproxy-client 1" recv from client at > [IPADDR] > AcceptNewClient: bad version string () recv from client at [IPADDR] > AcceptNewClient: bad pmcd port "mproxy-client 1" recv from client at > [IPADDR] I'm not completely sure about this class of error though, they do not seem likely to me to be caused by the same thing. Could it just be (near-)immediately-dropped connections? I've attached a patch which: - initialises pmcd_fd appropriately to prevent accidental fd close - uses send/recv, so this code can work on Windows - adds timestamped logging for all pmproxy connection failures, to replace the non-timestamped logging there now. - improve error reporting for a dodget host/port handshake line Lemme know if this sounds correct (code review wouldn't go astray here), and if anyone has any plausible theories for the log lines above I'd love to hear them. cheers. -- Nathan ------=_Part_132229_2029987076.1238495067823 Content-Type: application/octet-stream; name=pmproxy.patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=pmproxy.patch diff --git a/src/libpcp/src/connect.c b/src/libpcp/src/connect.c index f889dd6..3de7e4e 100644 --- a/src/libpcp/src/connect.c +++ b/src/libpcp/src/connect.c @@ -50,7 +50,7 @@ negotiate_proxy(int fd, const char *hostname, int port) return PM_ERR_IPC; } for (bp = buf; bp < &buf[MY_BUFLEN]; bp++) { - if (read(fd, bp, 1) != 1) { + if (recv(fd, bp, 1, 0) != 1) { *bp = '\0'; bp = &buf[MY_BUFLEN]; break; diff --git a/src/pmproxy/client.c b/src/pmproxy/client.c index 2ce9539..0f640e6 100644 --- a/src/pmproxy/client.c +++ b/src/pmproxy/client.c @@ -73,8 +73,8 @@ AcceptNewClient(int reqfd) addrlen = sizeof(client[i].addr); fd = accept(reqfd, (struct sockaddr *)&client[i].addr, &addrlen); if (fd == -1) { - fprintf(stderr, "AcceptNewClient(%d) accept: %s\n", - reqfd, strerror(errno)); + __pmNotifyErr(LOG_ERR, "AcceptNewClient(%d) accept from %s: %s", + reqfd, inet_ntoa(client[i].addr.sin_addr), strerror(errno)); Shutdown(); exit(1); } @@ -84,6 +84,7 @@ AcceptNewClient(int reqfd) FD_SET(fd, &sockFds); client[i].fd = fd; + client[i].pmcd_fd = -1; client[i].status.connected = 1; client[i].pmcd_hostname = NULL; @@ -96,7 +97,7 @@ AcceptNewClient(int reqfd) * recv pmcd hostname and pmcd port */ for (bp = buf; bp < &buf[MY_BUFLEN]; bp++) { - if (read(fd, bp, 1) != 1) { + if (recv(fd, bp, 1, 0) != 1) { *bp = '\0'; /* null terminate what we have */ bp = &buf[MY_BUFLEN]; /* flag error */ break; @@ -116,25 +117,26 @@ AcceptNewClient(int reqfd) } if (!ok) { - fprintf(stderr, "AcceptNewClient: bad version string ("); + __pmNotifyErr(LOG_WARNING, "Bad version string from client at %s", + inet_ntoa(client[i].addr.sin_addr)); + fprintf(stderr, "AcceptNewClient: bad version string was \""); for (bp = buf; *bp && bp < &buf[MY_BUFLEN]; bp++) fputc(*bp & 0xff, stderr); - fprintf(stderr, ") recv from client at %s\n", - inet_ntoa(client[i].addr.sin_addr)); + fprintf(stderr, "\"\n"); DeleteClient(&client[i]); return NULL; } - if (write(fd, MY_VERSION, strlen(MY_VERSION)) != strlen(MY_VERSION)) { - fprintf(stderr, "AcceptNewClient: failed to send version string (%s) to client at %s\n", - MY_VERSION, inet_ntoa(client[i].addr.sin_addr)); - + if (send(fd, MY_VERSION, strlen(MY_VERSION), 0) != strlen(MY_VERSION)) { + __pmNotifyErr(LOG_WARNING, "AcceptNewClient: failed to send version " + "string (%s) to client at %s\n", + MY_VERSION, inet_ntoa(client[i].addr.sin_addr)); DeleteClient(&client[i]); return NULL; } for (bp = buf; bp < &buf[MY_BUFLEN]; bp++) { - if (read(fd, bp, 1) != 1) { + if (recv(fd, bp, 1, 0) != 1) { *bp = '\0'; /* null terminate what we have */ bp = &buf[MY_BUFLEN]; /* flag error */ break; @@ -149,28 +151,28 @@ AcceptNewClient(int reqfd) /* looks OK so far ... get hostname and port */ for (bp = buf; *bp && *bp != ' '; bp++) ; - *bp = '\0'; - client[i].pmcd_hostname = strdup(buf); - if (client[i].pmcd_hostname == NULL) { - /* this is fatal folks */ - fprintf(stderr, "AcceptNewClient: PMCD hostname malloc failed: %s\n", pmErrStr(-errno)); - exit(1); - } - bp++; - client[i].pmcd_port = (int)strtoul(bp, &endp, 10); - if (*endp != '\0') { - /* bad port number */ - fprintf(stderr, "AcceptNewClient: bad pmcd port \"%s\"", bp); - fprintf(stderr, " recv from client at %s\n", - inet_ntoa(client[i].addr.sin_addr)); - DeleteClient(&client[i]); - return NULL; + if (bp != buf) { + *bp = '\0'; + client[i].pmcd_hostname = strdup(buf); + if (client[i].pmcd_hostname == NULL) + __pmNoMem("PMCD.hostname", strlen(buf), PM_FATAL_ERR); + bp++; + client[i].pmcd_port = (int)strtoul(bp, &endp, 10); + if (*endp != '\0') { + __pmNotifyErr(LOG_WARNING, "AcceptNewClient: bad pmcd port " + "\"%s\" from client at %s", + bp, inet_ntoa(client[i].addr.sin_addr)); + DeleteClient(&client[i]); + return NULL; + } } + /* error, fall through */ } if (client[i].pmcd_hostname == NULL) { - fprintf(stderr, "AcceptNewClient: failed to get PMCD hostname (%s) from client at %s\n", - buf, inet_ntoa(client[i].addr.sin_addr)); + __pmNotifyErr(LOG_WARNING, "AcceptNewClient: failed to get PMCD " + "hostname (%s) from client at %s", + buf, inet_ntoa(client[i].addr.sin_addr)); DeleteClient(&client[i]); return NULL; } @@ -208,14 +210,15 @@ DeleteClient(ClientInfo *cp) fprintf(stderr, "DeleteClient [%d]\n", i); #endif - if (cp->fd != -1) { + if (cp->fd >= 0) { __pmResetIPC(cp->fd); FD_CLR(cp->fd, &sockFds); close(cp->fd); } if (cp->pmcd_fd >= 0) { - close(cp->pmcd_fd); + __pmResetIPC(cp->pmcd_fd); FD_CLR(cp->pmcd_fd, &sockFds); + close(cp->pmcd_fd); } if (i == nClients-1) { i--; ------=_Part_132229_2029987076.1238495067823-- From kenj@internode.on.net Tue Mar 31 15:12:59 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2VKCcLR025728 for ; Tue, 31 Mar 2009 15:12:49 -0500 X-ASG-Debug-ID: 1238530313-49eb03050000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail.internode.on.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 1DC651C85A05 for ; Tue, 31 Mar 2009 13:11:53 -0700 (PDT) Received: from mail.internode.on.net (bld-mail09.adl2.internode.on.net [203.16.214.73]) by cuda.sgi.com with ESMTP id tC02TOnxEnwBM9rb for ; Tue, 31 Mar 2009 13:11:53 -0700 (PDT) Received: from [192.168.1.65] (unverified [118.208.186.175]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 59841233-1927428 for multiple; Wed, 01 Apr 2009 06:41:50 +1030 (CDT) X-ASG-Orig-Subj: Re: [pcp] pmproxy intermittent failure Subject: Re: [pcp] pmproxy intermittent failure From: Ken McDonell Reply-To: kenj@internode.on.net To: Nathan Scott Cc: pcp@oss.sgi.com In-Reply-To: <2010589101.2027921238495067825.JavaMail.root@mail-au.aconex.com> References: <2010589101.2027921238495067825.JavaMail.root@mail-au.aconex.com> Content-Type: text/plain Date: Wed, 01 Apr 2009 07:11:23 +1100 Message-Id: <1238530283.27936.24.camel@bozo> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: bld-mail09.adl2.internode.on.net[203.16.214.73] X-Barracuda-Start-Time: 1238530335 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0065 1.0000 -1.9788 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -1.98 X-Barracuda-Spam-Status: No, SCORE=-1.98 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.21884 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean In AcceptNewClient, when the accept() fails, I suspect there is nothing useful to report in client[i].addr.sin_addr (worse it is unintialized at that point, so it will report something, just not a useful something). The "mproxy-client 1" message is a bit of a concern. This suggests we're seeing the initial message getting broken up ... pmproxy should receive "pmproxy-client 1" from the client, so the initial "p" is missing, possibly gobbled in the previous connection attempt that failed and/or we've lost the syncronization altogether since this is happening on the pmcd port line? Looking closer, pmproxy was expecting "hostname port" and got "pmproxy-client 1". Hypothesis - after accept() and reading the "pmproxy-client 1" line, pmproxy sends ack back and starts reading the "hostname port" line .. if this read returns '\n' or '\r' at the first attempt ... bp == buf buf[] contains "pmproxy-client 1" *bp = '\0' we strdup an empty string for pmcd_hostname bp++ (so -> "mproxy-client 1" and strtoul chokes, not surprisingly The patch looks fine and does fix A problem ... I'm just not sure it is YOUR problem. On Tue, 2009-03-31 at 21:24 +1100, Nathan Scott wrote: > ----- "Nathan Scott" wrote: > > > Hi all, > > > > We're observing an occassional problem when running pmproxy. > > > > Every now and again, pmproxy stops listening on its port. This can be > > seen with "netstat -tulnp" - the process is still running, but it > > isn't > > accepting new connections. The log file tends to have one or two > > client > > connection attempts listed, partially-setup but failed, and then it > > just > > stops talking to the world. > > After a few hours of sitting on a firewall, poking and prodding > with gdb, I think I understand now why it stops listening. This > patch seems to fix this problem for me, but since its intermittent > its difficult to tell for sure. > > I believe the root cause is in src/pmproxy/client.c. NewClient > allocates chunks of new client entries in the client array, and > most fields are not initialised there, but rather in the caller > AcceptNewClient. One field that is not initialised is pmcd_fd, > that is only set later, once we try to establish the socket to > pmcd. > > DeleteClient is called at many points in the initial connection > setup attempt. It tests to see of pmcd_fd is non-negative, and > if so closes it - for some of the early dropped connections, we > will have random junk in this field, and its possible we could > call close on the fd we listen(2) and accept(2) on ... I think > that would get us in the situation where pmproxy still runs but > doesn't take any new connections until restarted. > > > AcceptNewClient: bad pmcd port "mproxy-client 1" recv from client at > > [IPADDR] > > AcceptNewClient: bad version string () recv from client at [IPADDR] > > AcceptNewClient: bad pmcd port "mproxy-client 1" recv from client at > > [IPADDR] > > I'm not completely sure about this class of error though, they do > not seem likely to me to be caused by the same thing. Could it > just be (near-)immediately-dropped connections? > > I've attached a patch which: > - initialises pmcd_fd appropriately to prevent accidental fd close > - uses send/recv, so this code can work on Windows > - adds timestamped logging for all pmproxy connection failures, to > replace the non-timestamped logging there now. > - improve error reporting for a dodget host/port handshake line > > Lemme know if this sounds correct (code review wouldn't go astray > here), and if anyone has any plausible theories for the log lines > above I'd love to hear them. > > cheers. > > _______________________________________________ > pcp mailing list > pcp@oss.sgi.com > http://oss.sgi.com/mailman/listinfo/pcp > From makc@gmx.co.uk Tue Mar 31 18:31:19 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2VNUwDw035671 for ; Tue, 31 Mar 2009 18:31:08 -0500 X-ASG-Debug-ID: 1238542264-525200270000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail29.messagelabs.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with SMTP id A438613E3920 for ; Tue, 31 Mar 2009 16:31:04 -0700 (PDT) Received: from mail29.messagelabs.com (mail29.messagelabs.com [216.82.249.147]) by cuda.sgi.com with SMTP id 1EHMCLdwRox7MoWm for ; Tue, 31 Mar 2009 16:31:04 -0700 (PDT) X-VirusChecked: Checked X-Env-Sender: makc@gmx.co.uk X-Msg-Ref: server-9.tower-29.messagelabs.com!1238542213!31147413!1 X-StarScan-Version: 6.0.0; banners=.,-,- X-Originating-IP: [149.184.166.129] Received: (qmail 31469 invoked from network); 31 Mar 2009 23:30:14 -0000 Received: from unknown (HELO bp1xeuav001.bp1.ad.bp.com) (149.184.166.129) by server-9.tower-29.messagelabs.com with SMTP; 31 Mar 2009 23:30:14 -0000 Received: from bp1xeuex711.bp1.ad.bp.com ([149.189.173.223]) by bp1xeuav001.bp1.ad.bp.com with InterScan Messaging Security Suite; Wed, 01 Apr 2009 00:30:12 +0100 Received: from mail pickup service by bp1xeuex711.bp1.ad.bp.com with Microsoft SMTPSVC; Wed, 1 Apr 2009 00:30:12 +0100 Received: from bp1xtxav007.bp1.ad.bp.com ([149.177.135.118]) by bp1xeuex711.bp1.ad.bp.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 31 Mar 2009 12:29:29 +0100 Received: from mail37.messagelabs.com ([149.189.88.65]) by bp1xtxav007.bp1.ad.bp.com with InterScan Messaging Security Suite; Tue, 31 Mar 2009 05:29:44 -0500 X-VirusChecked: Checked X-Env-Sender: pcp-bounces@oss.sgi.com X-Msg-Ref: server-4.tower-37.messagelabs.com!1238495383!4115817!1 X-StarScan-Version: 6.0.0; banners=-,-,- X-Originating-IP: [192.48.182.195] X-SpamReason: No, hits=0.0 required=7.0 tests= Received: (qmail 2225 invoked from network); 31 Mar 2009 10:29:44 -0000 Received: from oss.sgi.com (HELO oss.sgi.com) (192.48.182.195) by server-4.tower-37.messagelabs.com with SMTP; 31 Mar 2009 10:29:44 -0000 Received: from oss.sgi.com (localhost [127.0.0.1]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2VARMur254114; Tue, 31 Mar 2009 05:28:13 -0500 Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n2VAQXXm254034 for ; Tue, 31 Mar 2009 05:26:43 -0500 Received: from outbound.icp-qv1-irony-out4.iinet.net.au (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 1A3D41D8744 for ; Tue, 31 Mar 2009 03:21:37 -0700 (PDT) Received: from outbound.icp-qv1-irony-out4.iinet.net.au (outbound.icp-qv1-irony-out4.iinet.net.au [203.59.1.150]) by cuda.sgi.com with ESMTP id oPNYucyp9NB1Uv9C for ; Tue, 31 Mar 2009 03:21:37 -0700 (PDT) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEAOSL0UnL2Rwk/2dsb2JhbADNP4N6Bg X-IronPort-AV: E=Sophos;i="4.38,452,1233500400"; d="scan'208";a="333395233" Received: from unknown (HELO alma.crabbed.net) ([203.217.28.36]) by outbound.icp-qv1-irony-out4.iinet.net.au with ESMTP; 31 Mar 2009 18:21:21 +0800 Received: by alma.crabbed.net (Postfix, from userid 501) id 29EB22EF27B; Tue, 31 Mar 2009 21:21:02 +1100 (EST) MIME-Version: 1.0 Message-ID: <18897.61069.859533.558262@iinet.net.au> Date: Tue, 31 Mar 2009 21:21:01 +1100 From: Max Matveev To: pcp@oss.sgi.com X-Mailer: VM 7.17 under 21.4 (patch 19) "Constant Variable" XEmacs Lucid X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean X-ASG-Orig-Subj: [pcp] Make MMV compile on Linux and MacOSX Subject: [pcp] Make MMV compile on Linux and MacOSX X-BeenThere: pcp@oss.sgi.com X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: pcp-bounces@oss.sgi.com Errors-To: pcp-bounces@oss.sgi.com X-OriginalArrivalTime: 31 Mar 2009 11:29:32.0625 (UTC) FILETIME=[F66C9410:01C9B1F3] X-Barracuda-Connect: mail29.messagelabs.com[216.82.249.147] X-Barracuda-Start-Time: 1238542285 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.21897 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- I've pushed my changes to make MMV compile on Linux and MacOSX plus the manpages to oss.sgi.com. The tree is the clone of the mort's tree and the changes are on top of the open-source-mmv branch in that tree. max The following changes since commit e323e7c0322ad24c6fa798c1521a960ee5c08232: Martin Hicks (1): Open Source the memory mapped value (MMV) PMDA are available in the git repository at: git://oss.sgi.com/makc/morts mmv Max Matveev (1): Port MMV to Linux and MacOSX man/man3/GNUmakefile | 3 +- man/man3/mmv_inc_value.3 | 54 ++++++++++++++ man/man3/mmv_lookup_value_desc.3 | 77 +++++++++++++++++++ man/man3/mmv_stats_init.3 | 87 ++++++++++++++++++++++ man/man4/GNUmakefile | 2 +- man/man4/mmv.4 | 142 +++++++++++++++++++++++++++++++++++ src/include/mmv_stats.h | 16 ++-- src/libpcp_mmv/src/.gitignore | 5 + src/libpcp_mmv/src/GNUmakefile | 12 +++- src/libpcp_mmv/src/mmv_stats.c | 151 ++++++++++++++++++++++---------------- src/pmdas/mmv/.gitignore | 4 + 11 files changed, 479 insertions(+), 74 deletions(-) create mode 100644 man/man3/mmv_inc_value.3 create mode 100644 man/man3/mmv_lookup_value_desc.3 create mode 100644 man/man3/mmv_stats_init.3 create mode 100644 man/man4/mmv.4 create mode 100644 src/libpcp_mmv/src/.gitignore create mode 100644 src/pmdas/mmv/.gitignore _______________________________________________ pcp mailing list pcp@oss.sgi.com http://oss.sgi.com/mailman/listinfo/pcp ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ From nscott@aconex.com Tue Mar 31 20:31:28 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n311V7gt041515 for ; Tue, 31 Mar 2009 20:31:18 -0500 X-ASG-Debug-ID: 1238549423-33e301080000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 451A51DC52F for ; Tue, 31 Mar 2009 18:30:23 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id ZR7w9fD0dpvHfwkw for ; Tue, 31 Mar 2009 18:30:23 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 4A79F3E1743; Wed, 1 Apr 2009 12:30:22 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id f5c9kD4EuBmqNVXU; Wed, 01 Apr 2009 12:30:22 +1100 (EST) Received: from gatekeeper.aconex.com (unknown [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 2E87292C2F8; Wed, 1 Apr 2009 12:30:22 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id EDB364FD83; Wed, 1 Apr 2009 12:30:21 +1100 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zB21Oc8vDGFg; Wed, 1 Apr 2009 12:30:14 +1100 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 6BF874FD81; Wed, 1 Apr 2009 12:30:14 +1100 (EST) Date: Wed, 1 Apr 2009 12:30:14 +1100 (EST) From: Nathan Scott To: kenj@internode.on.net Cc: pcp@oss.sgi.com Message-ID: <1200466806.2126001238549414590.JavaMail.root@mail-au.aconex.com> In-Reply-To: <1238530283.27936.24.camel@bozo> X-ASG-Orig-Subj: Re: [pcp] pmproxy intermittent failure Subject: Re: [pcp] pmproxy intermittent failure MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1238549444 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.21906 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean ----- "Ken McDonell" wrote: > In AcceptNewClient, when the accept() fails, I suspect there is > nothing> useful to report in client[i].addr.sin_addr (worse it is > unintialized at that point, so it will report something, just not > a useful something). Ah yes, good point, thanks. > The "mproxy-client 1" message is a bit of a concern. This suggests > ... > The patch looks fine and does fix A problem ... I'm just not sure it > is YOUR problem. Not clear if I have multiple problems here - I'll run with the first fix for awhile and see if the dodgey client PDU issue arises again. thanks. -- Nathan From nscott@aconex.com Tue Mar 31 20:56:23 2009 X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id n311u3ph042552 for ; Tue, 31 Mar 2009 20:56:13 -0500 X-ASG-Debug-ID: 1238550969-4b4d00460000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id DCA4513E3F90 for ; Tue, 31 Mar 2009 18:56:09 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id WrF7rkvK8l9gWZQK for ; Tue, 31 Mar 2009 18:56:09 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam Firewall) with ESMTP id 9872173AB4E for ; Wed, 1 Apr 2009 12:55:17 +1100 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id Ur6Y0FFMIQnKNXsT for ; Wed, 01 Apr 2009 12:55:17 +1100 (EST) Received: from gatekeeper.aconex.com (unknown [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 88C9992C2F8 for ; Wed, 1 Apr 2009 12:55:17 +1100 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 5486462D50 for ; Wed, 1 Apr 2009 12:55:17 +1100 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at gatekeeper.yarra.acx Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1IARK6jKdl2e for ; Wed, 1 Apr 2009 12:55:06 +1100 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 13C354FDAE for ; Wed, 1 Apr 2009 12:55:06 +1100 (EST) Date: Wed, 1 Apr 2009 12:55:06 +1100 (EST) From: Nathan Scott To: pcp@oss.sgi.com Message-ID: <59672746.2126631238550906233.JavaMail.root@mail-au.aconex.com> X-ASG-Orig-Subj: pcpqa updates Subject: pcpqa updates MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [203.89.192.141] X-Mailer: Zimbra 5.0.13_GA_2791.RHEL5_64 (ZimbraWebClient - [unknown] (Linux)/5.0.13_GA_2791.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1238550990 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.21907 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean Changes committed to git://oss.sgi.com/pcp/pcpqa.git 635 | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) commit ccecc05a827e764e4c1d912aa46f9eeafb8ad526 Author: Nathan Scott Date: Wed Apr 1 12:53:50 2009 +1100 Remove test 635 workaround for older, broken versions of netstat.