ahww520 / xmemcached

Automatically exported from code.google.com/p/xmemcached
Apache License 2.0
0 stars 0 forks source link

集成在spring里运行,tomcat shutdown但是进程无法退出 #170

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
我们在spring里集成了xmemcached

当tomcat 
shutdown的时候,本应该tomcat进程顺利从linux退出,但是命令执�
��完后发现tomcat进程还在,怀疑xmemcached里面有非daemon得进程��
�导致主进程无法退出。

在源码找到WorkerThreadFactory类有t.setDaemon(false),改为tue还是无�
��退出,我们去掉使用bean 
memcachedClient的场景,不适用xmemcached就能够正常退出,请问我�
��该如何解决这个问题?

Original issue reported on code.google.com by Lianzhi...@gmail.com on 7 Dec 2011 at 1:36

GoogleCodeExporter commented 8 years ago
确认有设置destory-method=shutdown?

Original comment by killme2...@gmail.com on 7 Dec 2011 at 1:55

GoogleCodeExporter commented 8 years ago
有没有后续反馈?没有将关闭了。

Original comment by killme2...@gmail.com on 21 Dec 2011 at 3:26

GoogleCodeExporter commented 8 years ago

Original comment by killme2...@gmail.com on 30 Dec 2011 at 1:53