Skip to content

Comments

jobutils/taskwrapper: use fairmq-shmmonitor#5422

Merged
sawenzel merged 1 commit intoAliceO2Group:devfrom
sawenzel:swenzel/fmqmonitor
Feb 10, 2021
Merged

jobutils/taskwrapper: use fairmq-shmmonitor#5422
sawenzel merged 1 commit intoAliceO2Group:devfrom
sawenzel:swenzel/fmqmonitor

Conversation

@sawenzel
Copy link
Collaborator

@sawenzel sawenzel commented Feb 9, 2021

  • parse DPL session id and use fairmq-shmmonitor for shared
    memory cleanup (in case this leaked). The solution based on
    lsof is deprecated.

  • this enables also the possibility to monitor shared memory
    consumption (and report the max value)

* parse DPL session id and use fairmq-shmmonitor for shared
  memory cleanup (in case this leaked). The solution based on
  lsof is deprecated.

* this enables also the possibility to monitor shared memory
  consumption (and report the max value)
@sawenzel sawenzel requested a review from a team as a code owner February 9, 2021 16:22
@sawenzel sawenzel requested a review from davidrohr February 9, 2021 16:22
@ktf
Copy link
Member

ktf commented Feb 9, 2021

Why parsing the session and not simply setting it? DPL does take --session.

@sawenzel
Copy link
Collaborator Author

sawenzel commented Feb 9, 2021

I am not in control of people using taskwrapper so I can't be sure that session is set.

@sawenzel
Copy link
Collaborator Author

@ktf : I think if you printed out the session id in logs, it could make things a bit cleaner. Merging for now since actual improvement.

@sawenzel sawenzel merged commit 4a88c93 into AliceO2Group:dev Feb 10, 2021
@ktf ktf deleted the swenzel/fmqmonitor branch February 10, 2021 07:45
@ktf
Copy link
Member

ktf commented Feb 10, 2021

I can do that, but I still do not understand, the taskwrapper could simply add --session <unique-taskwrapper-id> to whatever it executes no?

@sawenzel
Copy link
Collaborator Author

But if the user already chose a particular session? I would still have to detect/parse it. That can eventually be done of course.

@davidrohr
Copy link
Collaborator

davidrohr commented Feb 10, 2021 via email

@ktf
Copy link
Member

ktf commented Feb 10, 2021

The task wrapper can be used for non-fmq tasks

Ok, I guess this is what I was missing, because if it was, you could simply pass the session as an argument.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants