taoensso / carmine

Redis client + message queue for Clojure
https://www.taoensso.com/carmine
Eclipse Public License 1.0
1.15k stars 130 forks source link

CPU stays occupied after carmine worker stops #196

Closed wsrhp closed 1 year ago

wsrhp commented 7 years ago

I am using carmine under the environment below: operation system : windows 10 IDE: IDEA plugin: cursive

I add a carmine worker to subscribe a message queue.

When messages come, it works fine and CPU occupation looks fine in the system monitor.

However ,when all the messages have been received, the CPU occupation raises to a certain rate, 25% in my case , and stays there, not going down even after I stopped the worker.

I checked the detail with visualvm, which shows that it is a "taoensso.carmine.protocal$get_unparsed_reply.invokeStatic()" that occupies the CPU.

Does anyone have the same problem here? Or any ideas about this problem? Thanks so much!

ZacksTsang commented 6 years ago

me too, sometimes the CPU is too high

ptaoussanis commented 6 years ago

even after I stopped the worker. I checked the detail with visualvm, which shows that it is a "taoensso.carmine.protocal$get_unparsed_reply.invokeStatic()" that occupies the CPU.

Could you describe how you stopped the worker? The get-unparsed-reply calls sound like a worker is still running.

ptaoussanis commented 1 year ago

Closing due to inactivity