Ticket 13344 - slurmctld crashed daily, core files dumped
Summary: slurmctld crashed daily, core files dumped
Status: RESOLVED INFOGIVEN
Alias: None
Product: Slurm
Classification: Unclassified
Component: slurmctld (show other tickets)
Version: - Unsupported Older Versions
Hardware: Linux Linux
: 2 - High Impact
Assignee: Chad Vizino
QA Contact:
URL:
Depends on:
Blocks:
 
Reported: 2022-02-07 08:31 MST by Lisheng Chen
Modified: 2023-09-15 08:33 MDT (History)
2 users (show)

See Also:
Site: Rutgers
Slinky Site: ---
Alineos Sites: ---
Atos/Eviden Sites: ---
Confidential Site: ---
Coreweave sites: ---
Cray Sites: ---
DS9 clusters: ---
Google sites: ---
HPCnow Sites: ---
HPE Sites: ---
IBM Sites: ---
NOAA SIte: ---
NoveTech Sites: ---
Nvidia HWinf-CS Sites: ---
OCF Sites: ---
Recursion Pharma Sites: ---
SFW Sites: ---
SNIC sites: ---
Tzag Elita Sites: ---
Linux Distro: CentOS
Machine Name:
CLE Version:
Version Fixed:
Target Release: ---
DevPrio: ---
Emory-Cloud Sites: ---


Attachments
02/07/2022 crash (6.93 KB, text/plain)
2022-02-07 08:31 MST, Lisheng Chen
Details
02/06/2022 crash (10.26 KB, text/plain)
2022-02-07 08:33 MST, Lisheng Chen
Details
02/05/2022 crash (34.39 KB, text/plain)
2022-02-07 08:34 MST, Lisheng Chen
Details
02/03/2022 crash (7.30 KB, text/plain)
2022-02-07 08:35 MST, Lisheng Chen
Details

Note You need to log in before you can comment on or make changes to this ticket.
Description Lisheng Chen 2022-02-07 08:31:04 MST
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!
Comment 1 Lisheng Chen 2022-02-07 08:33:18 MST
Created attachment 23314 [details]
02/06/2022 crash
Comment 2 Lisheng Chen 2022-02-07 08:34:08 MST
Created attachment 23315 [details]
02/05/2022 crash
Comment 3 Lisheng Chen 2022-02-07 08:35:56 MST
Created attachment 23316 [details]
02/03/2022 crash

This is most recent crash before 3 consecutively crash.
Comment 6 Chad Vizino 2022-02-08 11:55:18 MST
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
Comment 7 Chad Vizino 2022-02-16 15:01:16 MST
Closing for now. If your problems continue after upgrading, let us know.
Comment 8 Tom Skipper 2022-02-17 06:12:39 MST
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]
Comment 9 Tom Skipper 2022-02-17 07:21:34 MST
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
Comment 10 Chad Vizino 2022-02-17 09:16:24 MST
(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.
Comment 11 Tom Skipper 2022-02-17 09:34:42 MST
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.
Comment 12 Ryan Novosielski 2022-02-17 17:30:47 MST
The newer problem that Tom was reporting was a duplicate of bug 10980. Not clear if the crash on logrotate is the same problem.
Comment 13 Jason Booth 2022-02-17 17:44:29 MST
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.
Comment 14 Ryan Novosielski 2022-02-17 19:14:19 MST
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.