seknox / trasa

Zero Trust Service Access

Home Page:https://www.trasa.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] too many open files

bhrg3se opened this issue · 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
  • server
  • mobile app
  • browser extension
  • device agent
  • website/docs