[GH-ISSUE #103] Tunneld server error: too many open files #57

Closed
opened 2026-05-05 10:59:00 -06:00 by gitea-mirror · 0 comments
Owner

Originally created by @speeltronics on GitHub (Sep 3, 2019).
Original GitHub issue: https://github.com/mmatczuk/go-http-tunnel/issues/103

After running the tunneld server for an extended period of time. In my case this happens within a few days to a week with 3 or 4 client tunnels. The tunneld process opens too many files and never closes them and reaches the specified open file limit for the process which I currently have set at 1024.

"level 0 msg accept of control connection failed addr [::]:38694 err accept tcp [::]:38694: accept4: too many open files"

Originally created by @speeltronics on GitHub (Sep 3, 2019). Original GitHub issue: https://github.com/mmatczuk/go-http-tunnel/issues/103 After running the tunneld server for an extended period of time. In my case this happens within a few days to a week with 3 or 4 client tunnels. The tunneld process opens too many files and never closes them and reaches the specified open file limit for the process which I currently have set at 1024. "level 0 msg accept of control connection failed addr [::]:38694 err accept tcp [::]:38694: accept4: too many open files"
Sign in to join this conversation.
No labels
pull-request
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/go-http-tunnel#57
No description provided.