jutanke / rp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Buggy output of queued processes

SushkoVadim opened this issue · comments

Issue:

Hi, I noticed that rp info unreliably outputs the list of the jobs that are waiting to be dispatched. In my case, I want to send many jobs to the queue, and the amount of jobs exceeds the capacity of the server. In effect, many jobs (>10) should be waiting in the line with the pending status. When I want to see the status of these jobs by running rp info, every new try I get a different output. The jobs randomly appear and disappear from the - - queued processes - - list (each time only a random subset of 3-7 pending jobs is shown).

Steps to reproduce:

Just overload the server with many jobs, in a way that there are many pending jobs. Run rp info multiple times.

Observed behavior

Each time you would see different output.

Expected behavior

The output correctly shows the list of both running and pending jobs.