Created attachment 23313 [details] 02/07/2022 crash Our slurmctld crashed for past 3 days. # sinfo -V slurm 18.08.8 I will attach backtraces of the 3 core files. Please help us to troubleshoot this issue. Thanks a lot!
Created attachment 23314 [details] 02/06/2022 crash
Created attachment 23315 [details] 02/05/2022 crash
Created attachment 23316 [details] 02/03/2022 crash This is most recent crash before 3 consecutively crash.
Hi. Sorry you're getting these and I see different issues from your supplied backtraces. To resolve, we recommend upgrading to the latest version of Slurm since many memory issues have been fixed. Please see the news release about Slurm 21.08 here (note its release marked the end of Slurm 20.02 support). https://www.schedmd.com/news.php
Closing for now. If your problems continue after upgrading, let us know.
Back to this. The slurmctld daemon is crashing again as noted in earlier posts. Upgrading versions is not likely to happen quickly. Ideally, we need a way to resolve this. Note this older version has been running without this problem for years. It appears to get triggered during a night logrotate cronjob run thought that should be unrelated as this cron has also been running for years without issue. What else might I look at? Nothing overly revealing in the slurmctld logs other than this. [58064.573819] sigmgr[1451]: segfault at 58 ip 00000000004b52bb sp 00007f595252f760 error 4 in slurmctld[400000+ea000] [73158.648854] slurmctld[6130]: segfault at 58 ip 00000000004b52bb sp 00007ffce8fd8dc0 error 4 in slurmctld[400000+ea000] [73476.811504] slurmctld[6186]: segfault at 58 ip 00000000004b52bb sp 00007fffb1b07f90 error 4 in slurmctld[400000+ea000]
Also seeing this. Possible to delete a specific job from the slurm database without the controller being available? If I run slurmctld -D, these are the last 2 lines before the segfault, not sure if it means anything: slurmctld: _sync_nodes_to_comp_job: JobId=17618218_75(17618218) in completing state slurmctld: cleanup_completing: JobId=17618218_75(17618218) completion process took 59291 seconds
(In reply to Tom Skipper from comment #9) > Also seeing this. Possible to delete a specific job from the slurm database > without the controller being available? > > If I run slurmctld -D, these are the last 2 lines before the segfault, not > sure if it means anything: > slurmctld: _sync_nodes_to_comp_job: JobId=17618218_75(17618218) in > completing state > slurmctld: cleanup_completing: JobId=17618218_75(17618218) completion > process took 59291 seconds This is helpful--it's certainly possible to delete a job but am looking into this failure signature--more in a bit.
As we were unsure if the problems are the same, another colleague opened a new bug ticket. So may be duplicated. That ticket is 13463.
The newer problem that Tom was reporting was a duplicate of bug 10980. Not clear if the crash on logrotate is the same problem.
Ryan and Tom, I am resolving this issue out. There are a number of bugs that have been resolved related to crashes just like this one over the last three years. Even though you have a patched slurmctld for the other issues you ran into today, we are just not able to support you on such an old version. It only complicates the situation with support now that you have a controller running with patches found in later versions of Slurm. I would be happy and willing to have a call with you to discuss this further.
No problem. No need for a call; we get it. Just to give you a little bit of the backstory, we use Slurm packaged by OpenHPC, OpenHPC effectively stopped maintaining their CentOS 7 build in favor of a new version based on CentOS 8, and then RedHat screwed everybody up on CentOS 8. Had all of that not happened, we wouldn't be in this situation at the moment. But we took some time to figure out where to go next with all of it, and I think we'll get out of it shortly.