[one-users] Multiple probes running on a node

2014-12-03 Thread Daniel Dehennin
Hello,

One of our ONE 4.8 node has tons of monitor_ds.sh probes running.

All the “du” are marked in uninterruptible sleep

 5903 ? Ss 0:00  \_ sshd: oneadmin [priv]
 5905 ? S  0:00  \_ sshd: oneadmin@notty
 5906 ? Ss 0:00  \_ bash -c if [ -x /var/tmp/one/im/run_probes ]; 
then /var/tmp/one/im/run_probes kvm /var/lib/one//datastores 4124 60 8 igor; 
else  exit 42; fi
 5907 ? S  0:00  \_ /bin/bash /var/tmp/one/im/run_probes kvm 
/var/lib/one//datastores 4124 60 8 igor
 5914 ? S  0:00  \_ /bin/bash /var/tmp/one/im/run_probes kvm 
/var/lib/one//datastores 4124 60 8 igor
 5915 ? S  0:00  \_ /bin/bash /var/tmp/one/im/run_probes 
kvm /var/lib/one//datastores 4124 60 8 igor
 5920 ? S  0:00  \_ /bin/bash 
./collectd-client_control.sh kvm /var/lib/one//datastores 4124 60 8 igor
 5927 ? S  0:00  \_ /bin/bash 
/var/tmp/one/im/kvm.d/../run_probes kvm-probes /var/lib/one//datastores 4124 60 
8 igor
 5934 ? S  0:00  \_ /bin/bash 
/var/tmp/one/im/kvm.d/../run_probes kvm-probes /var/lib/one//datastores 4124 60 
8 igor
 5935 ? S  0:00  \_ /bin/bash 
/var/tmp/one/im/kvm.d/../run_probes kvm-probes /var/lib/one//datastores 4124 60 
8 igor
 5988 ? S  0:00  \_ /bin/bash 
./monitor_ds.sh kvm-probes /var/lib/one//datastores 4124 60 8 igor
 5991 ? S  0:00  \_ /bin/bash 
./monitor_ds.sh kvm-probes /var/lib/one//datastores 4124 60 8 igor
 5992 ? D  0:00  \_ du -sLm 
/var/lib/one//datastores
 5993 ? S  0:00  \_ cut -f1

I think that instead of trying to run the probes again and again adding
more contention on the disk, ONE should report the node as ERROR.

Should I open a bug?

Regards.
-- 
Daniel Dehennin
Récupérer ma clef GPG: gpg --recv-keys 0xCC1E9E5B7A6FE2DF
Fingerprint: 3E69 014E 5C23 50E8 9ED6  2AAD CC1E 9E5B 7A6F E2DF


signature.asc
Description: PGP signature
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Multiple probes running on a node

2014-12-03 Thread Jaime Melis
Absolutely, and we will stop using du, hopefully in the next version.

On Wed, Dec 3, 2014 at 2:21 PM, Daniel Dehennin 
daniel.dehen...@baby-gnu.org wrote:

 Hello,

 One of our ONE 4.8 node has tons of monitor_ds.sh probes running.

 All the “du” are marked in uninterruptible sleep

  5903 ? Ss 0:00  \_ sshd: oneadmin [priv]
  5905 ? S  0:00  \_ sshd: oneadmin@notty
  5906 ? Ss 0:00  \_ bash -c if [ -x /var/tmp/one/im/run_probes
 ]; then /var/tmp/one/im/run_probes kvm /var/lib/one//datastores 4124 60 8
 igor; else  exit 42; fi
  5907 ? S  0:00  \_ /bin/bash /var/tmp/one/im/run_probes kvm
 /var/lib/one//datastores 4124 60 8 igor
  5914 ? S  0:00  \_ /bin/bash /var/tmp/one/im/run_probes
 kvm /var/lib/one//datastores 4124 60 8 igor
  5915 ? S  0:00  \_ /bin/bash
 /var/tmp/one/im/run_probes kvm /var/lib/one//datastores 4124 60 8 igor
  5920 ? S  0:00  \_ /bin/bash
 ./collectd-client_control.sh kvm /var/lib/one//datastores 4124 60 8 igor
  5927 ? S  0:00  \_ /bin/bash
 /var/tmp/one/im/kvm.d/../run_probes kvm-probes /var/lib/one//datastores
 4124 60 8 igor
  5934 ? S  0:00  \_ /bin/bash
 /var/tmp/one/im/kvm.d/../run_probes kvm-probes /var/lib/one//datastores
 4124 60 8 igor
  5935 ? S  0:00  \_ /bin/bash
 /var/tmp/one/im/kvm.d/../run_probes kvm-probes /var/lib/one//datastores
 4124 60 8 igor
  5988 ? S  0:00  \_ /bin/bash
 ./monitor_ds.sh kvm-probes /var/lib/one//datastores 4124 60 8 igor
  5991 ? S  0:00  \_ /bin/bash
 ./monitor_ds.sh kvm-probes /var/lib/one//datastores 4124 60 8 igor
  5992 ? D  0:00  \_ du
 -sLm /var/lib/one//datastores
  5993 ? S  0:00  \_ cut -f1

 I think that instead of trying to run the probes again and again adding
 more contention on the disk, ONE should report the node as ERROR.

 Should I open a bug?

 Regards.
 --
 Daniel Dehennin
 Récupérer ma clef GPG: gpg --recv-keys 0xCC1E9E5B7A6FE2DF
 Fingerprint: 3E69 014E 5C23 50E8 9ED6  2AAD CC1E 9E5B 7A6F E2DF

 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Multiple probes running on a node

2014-12-03 Thread Daniel Dehennin
Jaime Melis j.me...@gmail.com writes:

 Absolutely,

Ok, done[1].

 and we will stop using du, hopefully in the next version.

Great, it can be quite heavy, mostly over NFS.

Regards.

Footnotes: 
[1]  http://dev.opennebula.org/issues/3393

-- 
Daniel Dehennin
Récupérer ma clef GPG: gpg --recv-keys 0xCC1E9E5B7A6FE2DF
Fingerprint: 3E69 014E 5C23 50E8 9ED6  2AAD CC1E 9E5B 7A6F E2DF


signature.asc
Description: PGP signature
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org