PurpleIRC icon indicating copy to clipboard operation
PurpleIRC copied to clipboard

PurpleIRC running massive threadpool

Open TerrorBite opened this issue 9 years ago • 3 comments

PurpleIRC (or more accurately, pircbotx) seems to be running an excessively huge threadpool in order to carry out its IRC tasks. At last count "listenerPool0" was running 54 threads on my server. I'm running a single bot and I feel that at most four threads would be needed to handle this. The current setup is a large waste of resources.

TerrorBite avatar Aug 07 '15 03:08 TerrorBite

Are any of the threads consuming too many resources?

cnaude avatar Aug 07 '15 04:08 cnaude

I've been running into out-of-memory issues with this server, and disabling PurpleIRC seems to have helped (no more crashes for now), though I'm unsure exactly how large of an impact it's having.

TerrorBite avatar Aug 07 '15 05:08 TerrorBite

What version of CraftBukkit? What version of PurpleIRC? What version of Java? What other plugins are you running? What are your jvm options? If you can generate a heap dump that would be extremely helpful.

cnaude avatar Aug 07 '15 05:08 cnaude