| Summary: | spammed with "pack32: Buffer size limit exceeded" | ||
|---|---|---|---|
| Product: | Slurm | Reporter: | James Botts <jfbotts> |
| Component: | slurmdbd | Assignee: | Tim Wickberg <tim> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | 3 - Medium Impact | ||
| Priority: | --- | CC: | dmjacobsen, gpocina, tim, tshaw |
| Version: | 17.02.1 | ||
| Hardware: | Linux | ||
| OS: | Linux | ||
| See Also: | https://bugs.schedmd.com/show_bug.cgi?id=2346 | ||
| Site: | NERSC | 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: | --- | Machine Name: | |
| CLE Version: | Version Fixed: | 17.11.0-pre2 | |
| Target Release: | --- | DevPrio: | --- |
| Emory-Cloud Sites: | --- | ||
|
Description
James Botts
2017-03-27 12:50:40 MDT
I don't have anything at the moment unfortunately; we've been debating internally one how best to solve this long-term and a solution hasn't emerged yet. I'll revisit this again internally - at the very least we should make sure that function bails out early instead of spamming the log with garbage. *** Ticket 3488 has been marked as a duplicate of this ticket. *** *** Ticket 2346 has been marked as a duplicate of this ticket. *** Commit 390da8cf963291 addresses this on master, and will be in 17.11-pre2 and up. That should apply cleanly to 17.02 if you'd like to back port it. This does not prevent excessively large queries from being constructed; other bugs track that issue. Rather, it checks that the response messages being generated is not >3GB; if so it discards the results, and returns a new error code to the client, rather than filling the log file up. One caveat - this can potentially block queries that used to work from completing that are returning between 3-4GB. - Tim The original patch appears to be flawed. I believe that I have a fix for that, but we're reviewing it now. Commit 6d15591f2cde5 handles the failed return in a different manner and ensures an error message gets printed and an appropriate non-zero return code comes from sacct, and avoids problems introduced in the original commit. (Commit 8cf1835c6ad was a partial reversion of the original.) You're welcome to back-port the results of all that, or I can make a consolidated patch available if you'd rather not run through all the work. - Tim |