Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] Regular Testing services showing "Not Running"

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] Regular Testing services showing "Not Running"


Chronological Thread 
  • From: Soichi Hayashi <>
  • To: "" <>, Performance Node Users <>
  • Subject: Re: [perfsonar-user] Regular Testing services showing "Not Running"
  • Date: Fri, 27 Sep 2013 15:18:07 -0400

Jason,

I have following in the /opt/perfsonar_ps/perfsonarbuoy_ma/etc
(perfsonar-bw)
> BWDataDir       /usr/local/perfsonar/perfsonarbuoy_ma/bwctl

(perfsonar-lt)
> OWPDataDir      /usr/local/perfsonar/perfsonarbuoy_ma/owamp

These re-configuration were needed to prevent perfsonar from running out of disk on the default /var partition.

The config creates pid file in following location (for perfsonar-bw)
> /usr/local/perfsonar/perfsonarbuoy_ma/bwctl/bwmaster.pid
which contains a correct PID

2013-09-27 19:11:47 UTC [root@perfsonar-bw:/usr/local/perfsonar/perfsonarbuoy_ma/bwctl]# cat bwmaster.pid
1850
2013-09-27 19:11:50 UTC [root@perfsonar-bw:/usr/local/perfsonar/perfsonarbuoy_ma/bwctl]# ps - grep 1850
497       1850     1 99 17:44 ?        01:27:31 /opt/perfsonar_ps/perfsonarbuoy_ma/bin/bwmaster.pl:master

I am guessing that.. web interface is using the default pid location to look for the PID file, and incorrectly determining that the process are not running? 

Thanks!
Soichi









On Fri, Sep 27, 2013 at 12:09 PM, Jason Zurawski <> wrote:
Hi Soichi;

The local services page is designed to look for PID files and process names for the various services.  In the case of Latency testing:

> my $pSB_owamp_master_pid        = "/var/lib/perfsonar/perfsonarbuoy_ma/owamp/powmaster.pid";
> my $pSB_owamp_master_pname      = "powmaster";
> my $pSB_owamp_collector_pid     = "/var/lib/perfsonar/perfsonarbuoy_ma/owamp/upload/powcollector.pid";
> my $pSB_owamp_collector_pname   = "powcollector";

And in the case of Bandwidth testing:

> my $pSB_bwctl_master_pid    = "/var/lib/perfsonar/perfsonarbuoy_ma/bwctl/bwmaster.pid";
> my $pSB_bwctl_master_pname      = "bwmaster";
> my $pSB_bwctl_collector_pid     = "/var/lib/perfsonar/perfsonarbuoy_ma/bwctl/upload/bwcollector.pid";
> my $pSB_bwctl_collector_pname   = "bwcollector";

The check will go into 'not running' if there are no PID files, or the PID in the file doesn't match the process name that is currently running.  That would be the first place to look (and naturally the old fashioned 'reboot' has been known to fix this).

With regards to your Bandwidth test machine - I don't see any tests in an active state via the results page, so that may be additional troubleshooting you will want to do.

Thanks;

-jason

On Sep 27, 2013, at 11:38 AM, Soichi Hayashi <> wrote:

> Hello.
>
> I have following perfsonar instances (installed via RPM)
>
> > http://perfsonar-lt.grid.iu.edu/toolkit/
> > http://perfsonar-bw.grid.iu.edu/toolkit/
>
> For -lt, I see following
> perfSONAR-BUOY Regular Testing (One-Way Latency)[1]   Not Running
> And on -bw instance, I see following
> perfSONAR-BUOY Regular Testing (Throughput)[1]        Not Running
> I am not sure if these message are red-herring, but these services are enabled (via UI) and collectors are running, for example for -lt
>
> 2013-09-27 15:36:49 UTC [root@perfsonar-lt:/var/log/perfsonar]# ps -ef | grep colle
> 497        485   511  3 15:01 ?        00:01:24 /opt/perfsonar_ps/perfsonarbuoy_ma/bin/powcollector.pl:handle_req[129.79.53.52]
> 497        511     1  0 01:06 ?        00:00:00 /opt/perfsonar_ps/perfsonarbuoy_ma/bin/powcollector.pl:master
>
> How can I troubleshoot this issue?
> Soichi




Archive powered by MHonArc 2.6.16.

Top of Page