Over the past few weeks I’ve been tracing down issues with habpanel taking forever to load and I noticed that under the development console of FireFox that the bottleneck seems to be that /rest/items takes 6000+ ms to load and I’m not sure why. I’m running my OpenHab 2.3 in a Ubuntu 18.04 LTS server HyperV (2016) VM that is configured with 3GB of RAM and 2 CPUs, CPU load in top hovers around 10% with occasional spikes to 50% but never much more than that and RAM usage is right around 32% as well. The VM itself is running on SSD with a disk response time of 1ms, and there’s no paging or anything going on. The physical server seems to be running ok, none of the other VMs are exhibiting issues and rules fire timely as they should.
If I go to /rest/items manually I can confirm that it does take multiple seconds to load and comes back with 423 items, which seems like a lot so maybe that’s the issue? I don’t recall having any issues running the same config on 2.2 though but my memory may be faulty there.
Is this normal or how do I troubleshoot from here? The rest interface doesn’t appear to generate any kind of log that I can find