Skip to main content

Unable to create threaded lstat

Comments

4 comments

  • APatchworkBoy
    So, I set: git config core.preloadIndex false
    ...and immediately began getting bash: fork: retry: Resource temporarily unavailable errors instead of the previous git error. Setting the above git config value back to true causes the original git error from OP to return. ulimit -u
    ...reveals this user's soft nproc limit is at 35, and hard is unlimited. /etc/security/limits.conf and /etc/security/limits.d/90-nproc.conf however are both set to override this and set it to a value MUCH higher (2048) - it would appear that this isn't applying, or is being overridden elsewhere (?)
    0
  • APatchworkBoy
    Just changed limits in limits.conf and 90-nproc.conf and rebooted server. ulimit -u still returns 35 for this user.
    0
  • APatchworkBoy
    Solution: disable Shell Fork Bomb Protection via WHM. Log out, log back in. Limits are then as per limits.conf / 90-nproc.conf. With Shell Fork Bomb Protection enabled, nproc soft limit is 35 regardless of what you set in the above conf files, as outlined at
    0
  • cPanelLauren
    Hi @APatchworkBoy I'm glad to see you were able to identify the cause of your issue, thanks for posting the detailed information on how to resolve it!
    0

Please sign in to leave a comment.