-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Potential deadlock in GroupByParam/ByParam #11039
Comments
I can reproduce with v0.97.0 and later. The problem is here: If I comment out the contents, the build completes quickly. To simplify the problem, replace the contents with:
Then run Then change it to this (remove the
No problems. We made some changes to You can use v0.112.x if you reduce the number of workers to 1.
|
Thank-you for looking at this so quickly, and having a work around! Do you know if this is something likely to be resolved in Hugo at some point? I don't want to put much effort into trying to change my logic (if I can), or adding
|
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I recently took a huge leap from v0.85.0 to v0.112.3 (and also tried v0.111.3) and have found my build it hanging more often than not. When it succeeds it builds fast, when it hangs it seems to do so forever. I have this issue locally on my mac, and also on Netlify. I have now wrapped my build script with
until timeout -s SIGABRT 5m hugo ; do : ; done
so that it is forced to retry after 5 minutes until it succeeds, and provides the useful go dump when it fails. I have a recent Netlify build log here, where it took 3 attempts to build - search for "Start building sites" for the top of each attempt. The site code is public at sparksp/lt-osp.Hopefully someone is able to see something useful in the go dump that might lead to either an issue with my site, or an issue with hugo.
Version
Does this issue reproduce with the latest release?
Yes.
The text was updated successfully, but these errors were encountered: