I'm using collectl in place of gmond for a ganglia setup.
(infiniband and lustre)

# rpm -qa | grep collectl
collectl-3.6.7-1.el6.noarch
# uname -r
2.6.32-358.14.1.el6.x86_64
#service collectl start
# ps -ef | grep collect
root     22522     1  0 09:30 ?        00:00:00 /usr/bin/perl -w 
/usr/bin/collectl -D

after the time sync period is over

# ps -ef | grep defunct
root     22571 22522  0 09:31 ?        00:00:00 [sh] <defunct>
root     22574 28163  0 09:31 pts/0    00:00:00 grep defunct

if you add -sx to the daemon list you get two defunct procs

screws up the ave load graphs :)

added a couple of fd closes that seem to fix it.

[root@cslab2 bin]# cd /usr/bin
[root@cslab2 bin]# diff -u collectl.orig  collectl
--- collectl.orig       2013-08-27 16:51:20.557020122 +1000
+++ collectl    2013-08-27 16:51:57.523020331 +1000
@@ -3974,6 +3974,7 @@
      {  $count++; }
      record(2, "$tag: $count\n");
    }
+  close CMD;
  }

  # This guy is in charge of reading single valued entries, which are
[root@cslab2 bin]#
[root@cslab2 bin]# cd /usr/share/collectl/
[root@cslab2 collectl]# diff -u formatit.ph.orig formatit.ph
--- formatit.ph.orig    2013-08-27 16:53:20.345020036 +1000
+++ formatit.ph 2013-08-27 16:53:45.768019646 +1000
@@ -594,6 +594,7 @@
      $netSpeeds{$netName}=$speed    if $speed!~/Invalid/;    # this can 
happen on a VM where operstate IS up
      #print "set netSpeeds{$netName}=$speed\n";
    }
+  close FIND;

    # Since this routine can get called multiple times during
    # initialization, we need to make sure @netOrder gets clean start.
[root@cslab2 collectl]#

-- 
Brian O'Connor
-------------------------------------------------------------
SGI Consulting
Email: [email protected], Mobile +61 417 746 452
Phone: +61 3 9963 1900, Fax:  +61 3 9963 1902
691 Burke Road, Camberwell, Victoria, 3124
AUSTRALIA
http://www.sgi.com/support/services
-------------------------------------------------------------

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Collectl-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/collectl-interest

Reply via email to