[GH-ISSUE #4882] Stop frps once frpc disconnects #3850

Closed
opened 2026-05-05 14:27:42 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @hpckurt on GitHub (Jul 15, 2025).
Original GitHub issue: https://github.com/fatedier/frp/issues/4882

Describe the feature request

Is it possible to configure frps to stop running when frpc disconnects from it? In our environment, we are spinning up an frp connection to connect to specific short-running applications. As of right now, we have to manually stop frp after the short job is over.

Describe alternatives you've considered

No response

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @hpckurt on GitHub (Jul 15, 2025). Original GitHub issue: https://github.com/fatedier/frp/issues/4882 ### Describe the feature request Is it possible to configure frps to stop running when frpc disconnects from it? In our environment, we are spinning up an frp connection to connect to specific short-running applications. As of right now, we have to manually stop frp after the short job is over. ### Describe alternatives you've considered _No response_ ### Affected area - [ ] Docs - [ ] Installation - [x] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [x] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
Author
Owner

@hpckurt commented on GitHub (Jul 15, 2025):

For anyone coming across this. We ultimately decided to just run a pkill on the compute node spawning the frps instance

<!-- gh-comment-id:3075690738 --> @hpckurt commented on GitHub (Jul 15, 2025): For anyone coming across this. We ultimately decided to just run a `pkill` on the compute node spawning the frps instance
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#3850
No description provided.