GoogleCloudPlatform / GoogleCloudPlatform/gcsfuse
Investigation os.Open and open file descriptors
Open
Eng-Backlog
feature request
p2
- Dominant language
- Go
- Stars
- 2.3k
- Forks
- 510
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 35
Description
We currently run os.Open for each file we add to our cache.
Linux fs limits single process to open max of 1024 file descriptors so this is probably not scalable and we need to fix this.
See: https://github.com/GoogleCloudPlatform/gcsfuse/blob/8a18ae4affcc063bf51e3eeabf7c14b88a237635/internal/contentcache/contentcache.go#L131
Contributor guide
Assessment
This issue has not been assessed yet.