GoogleCloudPlatform / GoogleCloudPlatform/gcsfuse

Investigation os.Open and open file descriptors

Open
#641 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.