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
Unable to exec hugo: pthread_create failed: Resource temporarily unavailable #96
Comments
Hey @Jamesits! I just searched about it and it does not seem a problem with Hugo, nor Caddy, nor Go. Please check this issue on docker to see if it helps please. |
@hacdias I am not running Caddy inside Docker, though there is Docker service on my machine. As far as I'm concerned this is because caddy has reached some system resource limit, but which limit exactly is not sure. I've checked anything I know but in vain. |
I knew you weren't using Docker. I just sent you that issue because I thought the answers could help. By the way, when does that happen? When it supposedly runs the |
This happens randomly. Haven't tried |
Okay @Jamesits, but let me know if it happens again. |
For anyone who have a similar problem: try raise max process number from systemd, since systemd ignores other limits (ulimit, sysctl, etc.) [Service]
# ...
LimitNPROC=256
# ... |
After 1 or 2 builds, following trials will result in full site 404 and logs are here:
Environment: Caddy 0.9.3, Ubuntu 16.04.1 LTS, Linux 4.4.0-49-generic, inside a xen-based VM
Results of
ulimit -a
:The text was updated successfully, but these errors were encountered: