llnl / llnl/LaunchMON

STAT/LaunchMON occasionally hangs

Open
#44 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
13
Forks
10
PR merge metrics
No merged PRs in 30d

Description

As noted #43, @lee218llnl: reported.

1.
> Occasionally I get hangs with STAT, particularly after running it multiple times. It appears to be in lmon__fe.cxx on line 4601 in a pthread_cond_timedwait. I don’t know if this is an actual affect or just a correlation, but it seems like if I subsequently attach TV to the job and detach TV, then I am able to attach again with STAT.

2.
> I have also seen hang-like behavior (looping) in cobo on cobo_connect_hostname. This also appears to happen if I aggressively attach/detach/attach STAT multiple times.

I suspect 1 is due to FIFO handling within `jsrun` but I need a simple reproducer to prove or disprove myself.

I suspect 2 is due to a problem with colocation service within `jsrun`, but I need a simple reproducer to prove or disprove myself.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing repeated STAT attach/detach/attach operations and inspect lmon__fe.cxx around line 4601, where pthread_cond_timedwait may hang. Also investigate looping in cobo_connect_hostname and compare the behavior with jsrun FIFO handling and colocation service; done means identifying and preventing the hang or loop with a simple reproducer.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
hpc
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.