Going Green
- Restructure connection handling to reduce memory and CPU use
- Observed drop of ~2MB from 8MB to 6MB with 4000 connections
- Remove
--threads
option, tarssh is now strictly single-threaded - Send the banner line-by-line
- Track bytes sent per-connection and globally
- Add
SIGINFO
(andSIGHUP
) support to log status on demand - Stop calling
accept()
when the connection limit is reached