trasa icon indicating copy to clipboard operation
trasa copied to clipboard

[BUG] too many open files

Open bhrg3se opened this issue 5 years ago • 0 comments

Describe the bug:

File descriptors are not closed properly. Hence it us getting maxed out until TRASA is unable to create any new file descriptors including network connections.

Expected behavior:

Files and network connections should be closed after use.

Log file / Code snippet / Screenshots:

time="2020-12-15T12:45:13+05:45" level=error msg="listen.Accept failed: accept tcp [::]:8022: accept4: too many open files" func=github.com/seknox/trasa/server/accessproxy/sshproxy.ListenSSH file="sshproxy/listner.go:71" Scope of issue:

  • [ ] TRASA codebase
  • [ ] dashboard
  • [x] server
  • [ ] mobile app
  • [ ] browser extension
  • [ ] device agent
  • [ ] website/docs

bhrg3se avatar Dec 17 '20 07:12 bhrg3se