Over 72 hours I’ve had one little incident where the java thread in top had my cpu hitting 100%. Running the script Cody wrote cleared the problem so it obviously is still the safeCall queue issue but… big caveat… I disabled all my Jruby rules and was still having the problem. After installing the patch I (recklessly) re-enable all my Jruby rules. Most all of them had some issues. I figured out how to fix them (or at least a work around) and things have been quiet since. CPU never gets over 2 or 3 percent.
What follows is my humble opinion. I am an amateur programmer (hack) but never learned java, so I can’t help figure this out. But in my opinion, a buggy rules should not cripple openHAB. The bug in my rules I’m almost sure is a bug in Jruby was my own fault for misconfiguring Ruby (same link as above) and shame on me for blaming this issue on my poor rule writing skills and I’m happy it finally got looked into but again… should a buggy rule cripple openHAB? Just my opinion. Still huge gratitude for the fix, you gave me my beloved openHAB back after I almost threw my hands up and uninstalled it. I installed OH4 in April and Jruby rules that had run for months in OH3 started throwing errors. (again, new Jruby library, shame on me)
1 Like