mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #4920] Running multiple frp server instances in bulk to reduce memory usage #3882
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#3882
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @TheKhanj on GitHub (Aug 9, 2025).
Original GitHub issue: https://github.com/fatedier/frp/issues/4920
Describe the feature request
I tend to run multiple frps server instances (separate processes) for different configurations. However, this approach consumes a significant amount of memory.
I have a couple of questions:
1. Is there currently a feature in frp to run multiple server instances in a “bulk” or consolidated way (e.g., within a single process)?
2. If not, would running them in bulk actually reduce the overall memory usage in practice? I assume it might due to shared resources.
3. If this is beneficial, do you see this as something that should be implemented as part of frp itself, or should I instead create another CLI/tool that uses frp as a library (if that’s possible at all)?
This could be helpful for setups that require many frp instances without the overhead of separate processes.
Describe alternatives you've considered
No response
Affected area
@fatedier commented on GitHub (Aug 10, 2025):
Generally, you don’t need a large number of frps instances; with just a few, memory isn’t an issue. If you have special requirements, implementing your own extensions/scaling may be more appropriate.
@TheKhanj commented on GitHub (Aug 10, 2025):
Ok then, thanks :)🙏