Closed andrewcottam closed 3 years ago
There are no defunct (zombie) processes on the server looking at the logs from the following:
ps -A
That Francesco ran at 08:09PM.
This is a concurrency issue. Given the following run log:
pid | User | Project | Started | Ended | Runtime | Runs | Status |
---|---|---|---|---|---|---|---|
3426 | admin | project1 | 29/10/2020 08:46:00 | 0/10 | Running | ||
3429 | admin | project2 | 29/10/2020 08:46:03 | 0/10 | Running |
If project1 finishes and project2 immediately after, both will load the runlog with both projects running. Then when project1 finishes it will write that it has finished to the log but project2 will overwrite this when it finishes (as it has a dataframe with project1 still running in it).
This looks like it is still happening after the training day on 09/03/2021. Runs complete and results are returned, but the rul log is not updated.
In the training session, at the end of the day all of the following runs still say Running and the users experienced the 'The project is already running' message:
However, looking at the logs each project was run (runMarxan?) and the results were received in 3 seconds (getResults?) (log times are one hour ahead). The following is the example for the jillashley2 micrnesia project:
So for some reason the runlog is not being updated.