execessive memory usage when running in production
jalr opened this issue · 3 comments
jalr commented
I'm using sshpiper in production. After some days, it takes gigabytes of memory.
After adding pprof to sshpiper, I saw one gouroutine waiting in [chan send]
piling up for every closed ssh session.
I'm not that familiar with golang but I still tried to fix this issue: jalr/sshpiper.crypto@87ea0e0
tg123 commented
c := make(chan error, 2)
would fix it
I will update it and let you try
really appreciate
tg123 commented
fixed in latest version please check thanks
jalr commented
Thanks alot for the fast fix!