[GH-ISSUE #496] I got a warning call too many open files and then can't connect to the reverse tcp proxy server #397

Closed
opened 2026-02-27 23:16:46 +03:00 by kerem · 0 comments
Owner

Originally created by @seng96 on GitHub (Aug 8, 2022).
Original GitHub issue: https://github.com/snail007/goproxy/issues/496

Expected Behavior

client可以正常連線到reverse tcp proxy server

Current Behavior

client無法對server建立正常連線,server出現"too many open files"的warning

Possible Solution

Steps to Reproduce

  1. 達到一定量的user後就會出現上述狀況(差不多150個連線)

Context (Environment)

  1. proxy version is : v? goproxy_sdk_commercial-11.8
  2. full command is :? proxy tcp non tls
  3. system is : Raspbian GNU/Linux 11 (bullseye)
  4. full log is:
2022/08/08 22:23:14.954532 WARN accept error: accept tcp [::]:10006: accept4: too many open files
2022/08/08 22:57:32.030522 WARN accept error: accept tcp [::]:10006: accept4: too many open files
2022/08/08 22:57:32.030811 WARN accept error: accept tcp [::]:10006: accept4: too many open files
2022/08/08 22:57:32.030942 WARN accept error: accept tcp [::]:10006: accept4: too many open files
2022/08/08 22:57:32.031068 WARN accept error: accept tcp [::]:10006: accept4: too many open files
2022/08/08 22:57:32.031181 WARN accept error: accept tcp [::]:10006: accept4: too many open files
2022/08/08 22:57:32.031289 WARN accept error: accept tcp [::]:10006: accept4: too many open files
2022/08/08 22:57:32.031388 WARN accept error: accept tcp [::]:10006: accept4: too many open files
2022/08/08 22:57:32.031490 WARN accept error: accept tcp [::]:10006: accept4: too many open files
2022/08/08 22:57:32.031594 WARN accept error: accept tcp [::]:10006: accept4: too many open files
2022/08/08 22:57:32.031708 WARN accept error: accept tcp [::]:10006: accept4: too many open files

Detailed Description

Possible Implementation

Originally created by @seng96 on GitHub (Aug 8, 2022). Original GitHub issue: https://github.com/snail007/goproxy/issues/496 <!--- Provide a general summary of the issue in the Title above --> ## Expected Behavior <!--- Tell us what should happen --> client可以正常連線到reverse tcp proxy server ## Current Behavior <!--- Tell us what happens instead of the expected behavior --> client無法對server建立正常連線,server出現"too many open files"的warning ## Possible Solution <!--- Not obligatory, but suggest a fix/reason for the bug, --> ## Steps to Reproduce <!--- Provide a link to a live example, or an unambiguous set of steps to --> <!--- reproduce this bug. Include code to reproduce, if relevant --> 1. 達到一定量的user後就會出現上述狀況(差不多150個連線) ## Context (Environment) <!--- How has this issue affected you? What are you trying to accomplish? --> <!--- Providing context helps us come up with a solution that is most useful in the real world --> 1. proxy version is : v? goproxy_sdk_commercial-11.8 1. full command is :? proxy tcp non tls 1. system is : Raspbian GNU/Linux 11 (bullseye) 1. full log is: ``` 2022/08/08 22:23:14.954532 WARN accept error: accept tcp [::]:10006: accept4: too many open files 2022/08/08 22:57:32.030522 WARN accept error: accept tcp [::]:10006: accept4: too many open files 2022/08/08 22:57:32.030811 WARN accept error: accept tcp [::]:10006: accept4: too many open files 2022/08/08 22:57:32.030942 WARN accept error: accept tcp [::]:10006: accept4: too many open files 2022/08/08 22:57:32.031068 WARN accept error: accept tcp [::]:10006: accept4: too many open files 2022/08/08 22:57:32.031181 WARN accept error: accept tcp [::]:10006: accept4: too many open files 2022/08/08 22:57:32.031289 WARN accept error: accept tcp [::]:10006: accept4: too many open files 2022/08/08 22:57:32.031388 WARN accept error: accept tcp [::]:10006: accept4: too many open files 2022/08/08 22:57:32.031490 WARN accept error: accept tcp [::]:10006: accept4: too many open files 2022/08/08 22:57:32.031594 WARN accept error: accept tcp [::]:10006: accept4: too many open files 2022/08/08 22:57:32.031708 WARN accept error: accept tcp [::]:10006: accept4: too many open files ``` <!--- Provide a general summary of the issue in the Title above --> ## Detailed Description <!--- Provide a detailed description of the change or addition you are proposing --> ## Possible Implementation <!--- Not obligatory, but suggest an idea for implementing addition or change -->
kerem closed this issue 2026-02-27 23:16:46 +03:00
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
starred/goproxy#397
No description provided.