scalar: too many open files
I’m worried that Scalar is causing me to not be running git gc enough. Is there something I can do to check?
The symptom I’m seeing, is after a while, I get this failure when git pushing:
$ git push
...
ref <sha>:: open <path>git/objects/pack/pack-<sha>.pack: too many open files
Then if I run
$ git gc
Enumerating objects: 1395635, done.
Counting objects: 100% (1395635/1395635), done.
Delta compression using up to 12 threads
Compressing objects: 100% (325900/325900), done.
Writing objects: 100% (1395635/1395635), done.
Total 1395635 (delta 938477), reused 1390778 (delta 933690), pack-reused 0
Checking connectivity: 1395929, done.
It starts to work again.
I do see scalar running in my repo:
$ scalar list
/Users/paul.tarjan/robinhood/rh-staging
/Users/paul.tarjan/robinhood/rh
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 18 (7 by maintainers)
This just happened to me personally. Then by running:
it resolved it.
I have: