Skip to Content.
Sympa Menu

perfsonar-user - AW: [perfsonar-user] Getting rid of old tasks

Subject: perfSONAR User Q&A and Other Discussion

List archive

AW: [perfsonar-user] Getting rid of old tasks


Chronological Thread 
  • From: "Niederberger, Ralph" <>
  • To: 'Andrew Lake' <>, "''" <>
  • Subject: AW: [perfsonar-user] Getting rid of old tasks
  • Date: Fri, 29 Mar 2019 11:25:48 +0000

Hi Andrew / all,

 

Thanks for the response.

When I setup the https://judac05/pscheduler/tasks command, I get a list of 510 entries like

 

"https://judac05/pscheduler/tasks/d9b10aee-5683-4ff5-94b1-8d87d66929ba"

 

Looking into one of them I see that those look all like:

 

reference

psconfig

created-by

uuid

"B93275D0-810D-11E8-98FC-F24DB22AF343"

user-agent

"psconfig-pscheduler-agent"

schedule

start

"2019-03-27T14:00:07Z"

until

"2019-03-28T14:00:07Z"

tool

"powstream"

href

"https://judac05/pscheduler/tasks/91e8dba4-4989-4d22-9671-1340ddbbb8d6"

archives

0

data

url

"https://maddash-prace.fz-juelich.de/esmond/perfsonar/archive/"

measurement-agent

"134.94.115.217"

archiver

"esmond"

test

type

"latencybg"

spec

source

"134.94.115.217"

dest

"perfsonar-prace-1g.cineca.it"

data-ports

upper

9960

lower

8760

packet-interval

0.1

packet-count

600

schema

1

schema

1

 

Since it is March 29th 2019 already I would have assumed that this one. e.g. would have been handled.

 

If I setup the

 

pscheduler schedule

 

command it says concerning this tasks.

 

2019-03-27T15:00:24+01:00 - 2019-03-28T15:00:24+01:00  (Canceled)

latencybg --data-ports 8760-9960 --dest perfsonar-prace-1g.cineca.it --source

  134.94.115.217 --packet-interval 0.1 --packet-count 600 (Run with tool

  'powstream')

https://localhost/pscheduler/tasks/91e8dba4-4989-4d22-9671-1340ddbbb8d6/runs/0ab18fb1-4ac9-4f3d-94ea-2f337027eeb8

 

Unfortunately all “latencybg” seem to be “(Canceled)” or are “(Pending)”.

 

For throughput tests, I do not see any “Finished” tasks. All outputs of the

 

pscheduler schedule  -PT96H

 

concerning “throughput” state: “(Missed)” or “(Non-Starter)”. Also, none of them are “(Canceled)”

 

Yesterday, I changed the schedule time to:

 

 "schedules": {

   "every_4_hours": {

        "repeat": "PT4H"

    }

 

Hoping that the problem was related to the fact, that I did to many tests, so that the newer ones could not be executed because of old ones running.

But this seems not to help.

 

I also thought it could be related to “rights/priviledges”.

Which processes need which priviledges.

My system is using ldap. Maybe I need to have root priviledges for some processes, which ldap does not know about?  

 

Any clues?

 

Ralph

 

***************************************************

Ralph Niederberger

Juelich Supercomputing Centre /  Institute for Advanced Simulation

Forschungszentrum Jülich GmbH

52425 Jülich

 

Phone:  +49 2461 61-4772          Fax:    +49 2461 61-6656

***************************************************

 

Von: Andrew Lake [mailto:]
Gesendet: Donnerstag, 28. März 2019 20:51
An: ; Niederberger, Ralph <>
Betreff: Re: [perfsonar-user] Getting rid of old tasks

 

Hi Ralph,

 

If it is deleting them every hour it is likely an indication that there is something wrong with the tasks. My guess would be that maybe runs aren’t getting scheduled for some reason so psconfig is cleaning out what look like stuck tasks and trying to create new ones. Is this a server that is publicly accessible from the web. If we can get at “https://YOURHOST/pscheduler/tasks” we can probably get a better idea what is happening.

 

Thanks,

Andy

 

 

On March 28, 2019 at 6:33:03 AM, Niederberger, Ralph () wrote:

Hi all,

 

I have installed an actual version of perfsonar testpoint.

The testpoint gets it configuration from a maddash server.

Unfortunately it does not do any tests.

 

Tests are scheduled every two hours.

 

"schedules": {

   "every_2_hours": {

        "repeat": "PT2H",

        "slip": "PT2H",

        "sliprand": true

    }

},

 

Looking into the logs at

 

/var/log/perfsonar/psconfig-pscheduler-agent-transactions.log),

 

I see that it deletes these tasks ever hour and sets them up again.

Additionally I see old tasks hanging around  and waiting for execution.

I assume, that the new tasks get not run, because of waiting for the old ones to be executed.

How do I get rid of those old tasks.

 

Stopping and restarting with

 

systemctl stop psconfig-pscheduler-agent

and

systemctl start psconfig-pscheduler-agent

 

doesn’t help.

 

Best regards

 

Ralph Niederberger

 

***************************************************

Ralph Niederberger

Juelich Supercomputing Centre /  Institute for Advanced Simulation

Forschungszentrum Jülich GmbH

52425 Jülich

 

Phone:  +49 2461 61-4772          Fax:    +49 2461 61-6656

***************************************************

 

Attachment: smime.p7s
Description: S/MIME cryptographic signature




Archive powered by MHonArc 2.6.19.

Top of Page