too many open files
See original GitHub issueI’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 push
ing:
$ 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
Issue Analytics
- State:
- Created 3 years ago
- Comments:18 (7 by maintainers)
Top Results From Across the Web
How to Solve the "Too Many Open Files" Error on Linux
If you've ever seen the "Too many files open" error message in a terminal window or found it in your system logs, it...
Read more >Fixing the "Too many open files" Error in Linux
On Linux servers under heavy load, "too many open files" problems occur frequently. It denotes that a process is unable to open new...
Read more >In Linux I got Too many open files issue
When the “Too Many Open Files” error message is written to the logs, it indicates that all available file handles for the process...
Read more >How to Fix the 'Too Many Open Files' Error in Linux
It means that a process has opened too many files (file descriptors) and cannot open new ones. On Linux, the “max open file...
Read more >Fixing the “Too many open files” Error in Linux
Fixing the “Too many open files” Error in Linux ; A process has three file descriptors open by default, denoted by 0 for...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This just happened to me personally. Then by running:
it resolved it.
I have:
Why did this close?