[GH-ISSUE #1645] frps_0.31.2_linux_mipsle 连接数量过多导致内存不足运行时会报错 #1301

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

Originally created by @yamgxu on GitHub (Feb 12, 2020).
Original GitHub issue: https://github.com/fatedier/frp/issues/1645

goroutine 564 [IO wait]:
internal/poll.runtime_pollWait(0x6f1cb9f4, 0x72, 0xffffffff)
/home/wcl/.gvm/gos/go1.12.1/src/runtime/netpoll.go:182 +0x64
internal/poll.(*pollDesc).wait(0x138a884, 0x72, 0x4000, 0x4000, 0xffffffff)
/home/wcl/.gvm/gos/go1.12.1/src/internal/poll/fd_poll_runtime.go:87 +0xc8
internal/poll.(*pollDesc).waitRead(...)
/home/wcl/.gvm/gos/go1.12.1/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0x138a870, 0x17a2000, 0x4000, 0x4000, 0x0, 0x0, 0x0)
/home/wcl/.gvm/gos/go1.12.1/src/internal/poll/fd_unix.go:169 +0x1c8
net.(*netFD).Read(0x138a870, 0x17a2000, 0x4000, 0x4000, 0x4000, 0x2a5, 0x0)
/home/wcl/.gvm/gos/go1.12.1/src/net/fd_unix.go:202 +0x58
net.(*conn).Read(0x100dc20, 0x17a2000, 0x4000, 0x4000, 0x0, 0x0, 0x0)
/home/wcl/.gvm/gos/go1.12.1/src/net/net.go:177 +0x74
io.copyBuffer(0x6f1c6d60, 0x185d030, 0x6f1c6df8, 0x185d320, 0x17a2000, 0x4000, 0x4000, 0x2a8, 0x0, 0x0, ...)
/home/wcl/.gvm/gos/go1.12.1/src/io/io.go:402 +0x10c
io.CopyBuffer(...)
/home/wcl/.gvm/gos/go1.12.1/src/io/io.go:375
github.com/fatedier/frp/vendor/github.com/fatedier/golib/io.Join.func1(0x6f1c6cf8, 0x185d030, 0x6f1c6d90, 0x185d320, 0x13ff5a0)
/home/wcl/go_projects/src/github.com/fatedier/frp/vendor/github.com/fatedier/golib/io/io.go:35 +0x1c4
created by github.com/fatedier/frp/vendor/github.com/fatedier/golib/io.Join
/home/wcl/go_projects/src/github.com/fatedier/frp/vendor/github.com/fatedier/golib/io/io.go:39 +0x114

goroutine 550 [semacquire]:
sync.runtime_Semacquire(0x13ff388)
/home/wcl/.gvm/gos/go1.12.1/src/runtime/sema.go:56 +0x48
sync.(*WaitGroup).Wait(0x13ff380)
/home/wcl/.gvm/gos/go1.12.1/src/sync/waitgroup.go:130 +0xbc
github.com/fatedier/frp/vendor/github.com/fatedier/golib/io.Join(0x6f1c6cf8, 0x185cfa0, 0x6f1c6d90, 0x185d300, 0x185d300, 0x4, 0x0, 0x1ffbf90)
/home/wcl/go_projects/src/github.com/fatedier/frp/vendor/github.com/fatedier/golib/io/io.go:41 +0x164
github.com/fatedier/frp/server/proxy.HandleUserTcpConnection(0x750020, 0x100adf0, 0x7502c0, 0x185d300, 0x74dfc0, 0x100a140)
/home/wcl/go_projects/src/github.com/fatedier/frp/server/proxy/proxy.go:202 +0x46c
created by github.com/fatedier/frp/server/proxy.(*BaseProxy).startListenHandler.func1
/home/wcl/go_projects/src/github.com/fatedier/frp/server/proxy/proxy.go:116 +0xc0

goroutine 493 [select, 2 minutes]:
github.com/fatedier/frp/vendor/github.com/hashicorp/yamux.(*Stream).Read(0x139acb0, 0x13a0000, 0x4000, 0x4000, 0x0, 0x0, 0x0)
/home/wcl/go_projects/src/github.com/fatedier/frp/vendor/github.com/hashicorp/yamux/stream.go:133 +0x348
io.copyBuffer(0x6f1c6db0, 0x17bdb00, 0x6f1c6ce0, 0x18e8240, 0x13a0000, 0x4000, 0x4000, 0x0, 0x0, 0x0, ...)
/home/wcl/.gvm/gos/go1.12.1/src/io/io.go:402 +0x10c
io.CopyBuffer(...)
/home/wcl/.gvm/gos/go1.12.1/src/io/io.go:375
github.com/fatedier/frp/vendor/github.com/fatedier/golib/io.Join.func1(0x6f1c6d90, 0x17bdb00, 0x6f1c6cf8, 0x18e8240, 0x13ff558)
/home/wcl/go_projects/src/github.com/fatedier/frp/vendor/github.com/fatedier/golib/io/io.go:35 +0x1c4
created by github.com/fatedier/frp/vendor/github.com/fatedier/golib/io.Join
/home/wcl/go_projects/src/github.com/fatedier/frp/vendor/github.com/fatedier/golib/io/io.go:40 +0x154

goroutine 567 [select]:
github.com/fatedier/frp/vendor/github.com/hashicorp/yamux.(*Stream).Read(0x139b260, 0x179a000, 0x4000, 0x4000, 0x0, 0x0, 0x0)
/home/wcl/go_projects/src/github.com/fatedier/frp/vendor/github.com/hashicorp/yamux/stream.go:133 +0x348
io.copyBuffer(0x6f1c6db0, 0x185d350, 0x6f1c6ce0, 0x185d010, 0x179a000, 0x4000, 0x4000, 0x2a9, 0x0, 0x0, ...)
/home/wcl/.gvm/gos/go1.12.1/src/io/io.go:402 +0x10c
io.CopyBuffer(...)
/home/wcl/.gvm/gos/go1.12.1/src/io/io.go:375
github.com/fatedier/frp/vendor/github.com/fatedier/golib/io.Join.func1(0x6f1c6d90, 0x185d350, 0x6f1c6cf8, 0x185d010, 0x13ff668)
/home/wcl/go_projects/src/github.com/fatedier/frp/vendor/github.com/fatedier/golib/io/io.go:35 +0x1c4
created by github.com/fatedier/frp/vendor/github.com/fatedier/golib/io.Join
/home/wcl/go_projects/src/github.com/fatedier/frp/vendor/github.com/fatedier/golib/io/io.go:40 +0x154

goroutine 565 [select]:
github.com/fatedier/frp/vendor/github.com/hashicorp/yamux.(*Stream).Read(0x139b340, 0x1854000, 0x4000, 0x4000, 0x0, 0x0, 0x0)
/home/wcl/go_projects/src/github.com/fatedier/frp/vendor/github.com/hashicorp/yamux/stream.go:133 +0x348
io.copyBuffer(0x6f1c6db0, 0x185d320, 0x6f1c6ce0, 0x185d030, 0x1854000, 0x4000, 0x4000, 0xa2faf0, 0x0, 0x747970, ...)
/home/wcl/.gvm/gos/go1.12.1/src/io/io.go:402 +0x10c
io.CopyBuffer(...)
/home/wcl/.gvm/gos/go1.12.1/src/io/io.go:375
github.com/fatedier/frp/vendor/github.com/fatedier/golib/io.Join.func1(0x6f1c6d90, 0x185d320, 0x6f1c6cf8, 0x185d030, 0x13ff5a8)
/home/wcl/go_projects/src/github.com/fatedier/frp/vendor/github.com/fatedier/golib/io/io.go:35 +0x1c4
created by github.com/fatedier/frp/vendor/github.com/fatedier/golib/io.Join
/home/wcl/go_projects/src/github.com/fatedier/frp/vendor/github.com/fatedier/golib/io/io.go:40 +0x154

Originally created by @yamgxu on GitHub (Feb 12, 2020). Original GitHub issue: https://github.com/fatedier/frp/issues/1645 goroutine 564 [IO wait]: internal/poll.runtime_pollWait(0x6f1cb9f4, 0x72, 0xffffffff) /home/wcl/.gvm/gos/go1.12.1/src/runtime/netpoll.go:182 +0x64 internal/poll.(*pollDesc).wait(0x138a884, 0x72, 0x4000, 0x4000, 0xffffffff) /home/wcl/.gvm/gos/go1.12.1/src/internal/poll/fd_poll_runtime.go:87 +0xc8 internal/poll.(*pollDesc).waitRead(...) /home/wcl/.gvm/gos/go1.12.1/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x138a870, 0x17a2000, 0x4000, 0x4000, 0x0, 0x0, 0x0) /home/wcl/.gvm/gos/go1.12.1/src/internal/poll/fd_unix.go:169 +0x1c8 net.(*netFD).Read(0x138a870, 0x17a2000, 0x4000, 0x4000, 0x4000, 0x2a5, 0x0) /home/wcl/.gvm/gos/go1.12.1/src/net/fd_unix.go:202 +0x58 net.(*conn).Read(0x100dc20, 0x17a2000, 0x4000, 0x4000, 0x0, 0x0, 0x0) /home/wcl/.gvm/gos/go1.12.1/src/net/net.go:177 +0x74 io.copyBuffer(0x6f1c6d60, 0x185d030, 0x6f1c6df8, 0x185d320, 0x17a2000, 0x4000, 0x4000, 0x2a8, 0x0, 0x0, ...) /home/wcl/.gvm/gos/go1.12.1/src/io/io.go:402 +0x10c io.CopyBuffer(...) /home/wcl/.gvm/gos/go1.12.1/src/io/io.go:375 github.com/fatedier/frp/vendor/github.com/fatedier/golib/io.Join.func1(0x6f1c6cf8, 0x185d030, 0x6f1c6d90, 0x185d320, 0x13ff5a0) /home/wcl/go_projects/src/github.com/fatedier/frp/vendor/github.com/fatedier/golib/io/io.go:35 +0x1c4 created by github.com/fatedier/frp/vendor/github.com/fatedier/golib/io.Join /home/wcl/go_projects/src/github.com/fatedier/frp/vendor/github.com/fatedier/golib/io/io.go:39 +0x114 goroutine 550 [semacquire]: sync.runtime_Semacquire(0x13ff388) /home/wcl/.gvm/gos/go1.12.1/src/runtime/sema.go:56 +0x48 sync.(*WaitGroup).Wait(0x13ff380) /home/wcl/.gvm/gos/go1.12.1/src/sync/waitgroup.go:130 +0xbc github.com/fatedier/frp/vendor/github.com/fatedier/golib/io.Join(0x6f1c6cf8, 0x185cfa0, 0x6f1c6d90, 0x185d300, 0x185d300, 0x4, 0x0, 0x1ffbf90) /home/wcl/go_projects/src/github.com/fatedier/frp/vendor/github.com/fatedier/golib/io/io.go:41 +0x164 github.com/fatedier/frp/server/proxy.HandleUserTcpConnection(0x750020, 0x100adf0, 0x7502c0, 0x185d300, 0x74dfc0, 0x100a140) /home/wcl/go_projects/src/github.com/fatedier/frp/server/proxy/proxy.go:202 +0x46c created by github.com/fatedier/frp/server/proxy.(*BaseProxy).startListenHandler.func1 /home/wcl/go_projects/src/github.com/fatedier/frp/server/proxy/proxy.go:116 +0xc0 goroutine 493 [select, 2 minutes]: github.com/fatedier/frp/vendor/github.com/hashicorp/yamux.(*Stream).Read(0x139acb0, 0x13a0000, 0x4000, 0x4000, 0x0, 0x0, 0x0) /home/wcl/go_projects/src/github.com/fatedier/frp/vendor/github.com/hashicorp/yamux/stream.go:133 +0x348 io.copyBuffer(0x6f1c6db0, 0x17bdb00, 0x6f1c6ce0, 0x18e8240, 0x13a0000, 0x4000, 0x4000, 0x0, 0x0, 0x0, ...) /home/wcl/.gvm/gos/go1.12.1/src/io/io.go:402 +0x10c io.CopyBuffer(...) /home/wcl/.gvm/gos/go1.12.1/src/io/io.go:375 github.com/fatedier/frp/vendor/github.com/fatedier/golib/io.Join.func1(0x6f1c6d90, 0x17bdb00, 0x6f1c6cf8, 0x18e8240, 0x13ff558) /home/wcl/go_projects/src/github.com/fatedier/frp/vendor/github.com/fatedier/golib/io/io.go:35 +0x1c4 created by github.com/fatedier/frp/vendor/github.com/fatedier/golib/io.Join /home/wcl/go_projects/src/github.com/fatedier/frp/vendor/github.com/fatedier/golib/io/io.go:40 +0x154 goroutine 567 [select]: github.com/fatedier/frp/vendor/github.com/hashicorp/yamux.(*Stream).Read(0x139b260, 0x179a000, 0x4000, 0x4000, 0x0, 0x0, 0x0) /home/wcl/go_projects/src/github.com/fatedier/frp/vendor/github.com/hashicorp/yamux/stream.go:133 +0x348 io.copyBuffer(0x6f1c6db0, 0x185d350, 0x6f1c6ce0, 0x185d010, 0x179a000, 0x4000, 0x4000, 0x2a9, 0x0, 0x0, ...) /home/wcl/.gvm/gos/go1.12.1/src/io/io.go:402 +0x10c io.CopyBuffer(...) /home/wcl/.gvm/gos/go1.12.1/src/io/io.go:375 github.com/fatedier/frp/vendor/github.com/fatedier/golib/io.Join.func1(0x6f1c6d90, 0x185d350, 0x6f1c6cf8, 0x185d010, 0x13ff668) /home/wcl/go_projects/src/github.com/fatedier/frp/vendor/github.com/fatedier/golib/io/io.go:35 +0x1c4 created by github.com/fatedier/frp/vendor/github.com/fatedier/golib/io.Join /home/wcl/go_projects/src/github.com/fatedier/frp/vendor/github.com/fatedier/golib/io/io.go:40 +0x154 goroutine 565 [select]: github.com/fatedier/frp/vendor/github.com/hashicorp/yamux.(*Stream).Read(0x139b340, 0x1854000, 0x4000, 0x4000, 0x0, 0x0, 0x0) /home/wcl/go_projects/src/github.com/fatedier/frp/vendor/github.com/hashicorp/yamux/stream.go:133 +0x348 io.copyBuffer(0x6f1c6db0, 0x185d320, 0x6f1c6ce0, 0x185d030, 0x1854000, 0x4000, 0x4000, 0xa2faf0, 0x0, 0x747970, ...) /home/wcl/.gvm/gos/go1.12.1/src/io/io.go:402 +0x10c io.CopyBuffer(...) /home/wcl/.gvm/gos/go1.12.1/src/io/io.go:375 github.com/fatedier/frp/vendor/github.com/fatedier/golib/io.Join.func1(0x6f1c6d90, 0x185d320, 0x6f1c6cf8, 0x185d030, 0x13ff5a8) /home/wcl/go_projects/src/github.com/fatedier/frp/vendor/github.com/fatedier/golib/io/io.go:35 +0x1c4 created by github.com/fatedier/frp/vendor/github.com/fatedier/golib/io.Join /home/wcl/go_projects/src/github.com/fatedier/frp/vendor/github.com/fatedier/golib/io/io.go:40 +0x154
Author
Owner

@fatedier commented on GitHub (Feb 12, 2020):

系统内存多少,占用了多少,嵌入式设备内存太小也没有办法。

<!-- gh-comment-id:584991152 --> @fatedier commented on GitHub (Feb 12, 2020): 系统内存多少,占用了多少,嵌入式设备内存太小也没有办法。
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#1301
No description provided.