go-socket.io icon indicating copy to clipboard operation
go-socket.io copied to clipboard

conn session,only have Add(), not have Remove()

Open iGoogle-ink opened this issue 3 years ago • 19 comments

from v1.5.x later, newSesson() can Add(), but there is no place to remove This will cause the number of sessions to increase indefinitely

iGoogle-ink avatar May 24 '21 06:05 iGoogle-ink

yes, same problem, this project so bad

eric-zhangqi avatar Jul 21 '21 10:07 eric-zhangqi

yes, same problem, this project so bad

用老版本吧,虽然多少也有点问题

iGoogle-ink avatar Jul 23 '21 02:07 iGoogle-ink

哪个版本问题少一些,我们现在测试的版本内存都有点泄漏,哎

eric-zhangqi avatar Jul 26 '21 02:07 eric-zhangqi

反正我测试着新老版本都不行,让我一度怀疑是不是go不行。。

piksonGit avatar Aug 04 '21 08:08 piksonGit

我们更新到V1.6.0 版本,压测后发现,内存不断增长,一直不会释放。 然而,我们将版本降低到V1.4.5,压测后发现内存会释放,希望新版本可以解决。

chanbigbig avatar Aug 25 '21 02:08 chanbigbig

我们更新到V1.6.0 版本,压测后发现,内存不断增长,一直不会释放。 然而,我们将版本降低到V1.4.5,压测后发现内存会释放,希望新版本可以解决。

看样子 1.4.5 不错啊,我也试试

iGoogle-ink avatar Aug 31 '21 01:08 iGoogle-ink

我们更新到V1.6.0 版本,压测后发现,内存不断增长,一直不会释放。 然而,我们将版本降低到V1.4.5,压测后发现内存会释放,希望新版本可以解决。

看样子 1.4.5 不错啊,我也试试

1.4.5怎么样,还泄露不

piksonGit avatar Sep 13 '21 06:09 piksonGit

我们更新到V1.6.0 版本,压测后发现,内存不断增长,一直不会释放。 然而,我们将版本降低到V1.4.5,压测后发现内存会释放,希望新版本可以解决。

看样子 1.4.5 不错啊,我也试试

1.4.5怎么样,还泄露不

我只在测试环境上了,线上环境还没搞

iGoogle-ink avatar Sep 17 '21 01:09 iGoogle-ink

server.Count()一直整加,没有减少

zstttttt avatar Nov 16 '21 06:11 zstttttt

server.Count()一直整加,没有减少

对对

iGoogle-ink avatar Nov 16 '21 15:11 iGoogle-ink

我怀疑有内存泄漏,无论再哪个版本,我们现在线上在使用,10w+的连接,给多少机器都没办法满足

zstttttt avatar Nov 23 '21 08:11 zstttttt

对的,很严重

iGoogle-ink avatar Dec 08 '21 02:12 iGoogle-ink

我怀疑有内存泄漏,无论再哪个版本,我们现在线上在使用,10w+的连接,给多少机器都没办法满足

我是13万+的连接,之前是一直有内存泄露,不过测试了最近的1.6.2,问题还是没有解决,虽然开发者说解决了这个问题。

希望你们也测试下。

piksonGit avatar May 24 '22 11:05 piksonGit

我是13万+的连接,之前是一直有内存泄露,不过测试了最近的1.6.2,问题还是没有解决,虽然开发者说解决了这个问题。

希望你们也测试下。

I am connected to 130,000+, and there has been a memory leak before, but after testing the most recent 1.6.2, the problem is still not solved, although the developer said it solved the problem.

I hope you will also test it.

sshaplygin avatar May 24 '22 13:05 sshaplygin

@piksonGit Could share you tests case?

sshaplygin avatar May 24 '22 13:05 sshaplygin

same with before. I will test again

piksonGit avatar May 25 '22 08:05 piksonGit

Hey, @piksonGit and @iGoogle-ink Do you have any updates?

sshaplygin avatar May 26 '22 16:05 sshaplygin

Hey, @piksonGit and @iGoogle-ink Do you have any updates?

no,never updated version

iGoogle-ink avatar May 27 '22 03:05 iGoogle-ink

So you guys uses this project, and write your own client implementation? I come from JS and JS version of socketIO is already v4. Is it compatible?

daveteu avatar Jun 14 '22 07:06 daveteu