metabase stops working due to PermGen space exception and cpu uses increases to very much on my ubuntu server even when we do not use metabase and now it has become quite often.
And i have even tried running metabse by giving it 4gb of space but same problem
yes sameer i have a slack integration as pulse and thanks turning the pulse off helped me now every thing seems normal . So is there any bug in pulse or something else
Not sure. In general, we have trouble with the Slack API. I noticed the Metabot timeout in the top of your screenshot, and I’m guessing we’re not cleaning up after ourselves on a websocket drop.
If you’re able, can you turn slack back on and see if any errors hit the logs?
What JVM are you using? If it’s an older Oracle one or an open-source one I don’t think classes are GC’ed, which would explain the PermGen OOM error. Clojure tends to make a lot of little classes.
Try -XX:+CMSClassUnloadingEnabled in conjunction with -XX:+UseConcMarkSweepGC; the former makes classes in PermGen eligible for GC while the second needs to be used for class unloading to be enabled.
@sameer sameer making removing slack integration only reduced the cpu uses problem premgen is still there an metabase not working @camsaul i have tried -XX:+CMSClassUnloadingEnabled in conjunction with -XX:+UseConcMarkSweepGC also but PremGen still there below are the logs
metabase version 0.19 jar is working fine. When i have updated to latest version which is 0.20 had high cpu usage issue and bis not even worked. Latest version having some issues though.