Skip to content

feat(max_thread): adding cap for fuse-request handler go-routines#196

Open
raj-prince wants to merge 3 commits into
jacobsa:masterfrom
raj-prince:max_thread
Open

feat(max_thread): adding cap for fuse-request handler go-routines#196
raj-prince wants to merge 3 commits into
jacobsa:masterfrom
raj-prince:max_thread

Conversation

@raj-prince

@raj-prince raj-prince commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Changes:

  • Added MaxThreads mount configuration to bound fuse-request handler go-routine (by default no cap)
  • Added test to validate the functionality capped.

Motivation:
GCSFuse needs a way to limit the cpu/memory resources for memory constrained environment to get rid of OOM or any out of resource issues. max_thread is supported by libfuse2 too, not making the go-routine pool as of now and keeping the similar behavior that means every time go-routine is created.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant