rptInspectorOnlineBrokerGUI.exe 100% CPU

.rpt Inspector Online Broker Version:
major.minor.revision

0.5.8

Please tell us about your environment where the Broker is running:

  • Operating System:
    Windows [7|8|8.1|10]
    WIndows 7

  • Is this running in a virtual machine:
    Yes / No
    Yes

    • If answered yes above, which virtual machine environment and version:
      VMWare ESX 6

Please tell us about your environment where the Web Browser is running:

  • Operating System:
    Windows [7|8|8.1|10]|Linux (distro and version)|OSX 10.x
    Windows 7

  • Browser kind and version:
    Firefox XX | Chrome XX

Chrome 63

  • Crystal Reports version:
    Crystal Reports [2016 / 14.2.x|2013 / 14.1.x|2011 / 14.0.x|2008 / 12.x.x|XI R2 / 11.5.x|XI / 11.x.x|10.x.x|9.x.x|8.5.x]

CRXI-R2

Current behavior:

Broker is running solid 25% of 4 CPU (so 100% actually) even when its logged out.

Expected behavior:

We’ll look in to this. Please also try the 0.6.0 version that was just released and let us know if you experience same.

Yes, 0.6.0 has the same behavior. It goes to 100% right on logging in. Could it be related to the broken ODBC report list?

@petergruenbeck unrelated to the ODBC report list. We haven’t been able to reproduce this behavior so far but will continue to evaluate it.

@petergruenbeck we were able to duplicate and fix as part of the just released 0.6.1 broker update. Please try it out and let us know if it’s resolved for you as well.

I’ve upgraded but am still seeing 100% of 1 CPU being used. I loaded up 22 simple reports and used ODBC to map them. Then without exiting ODBC, selected the same set and mapped them again. Unloaded and exited the web portal. Broker is still running flat out.

Per your original comments, we focused on the issue when you logged out of the broker. We’ll try to duplicate what you’ve described now. Please let us know if logging out does however drop the usage in the 0.6.1 broker.

Today I started from a clean main portal page and a fresh reboot of my machine.Upon starting the broker the CPU was 0 or 1%. Once logging in it hit 25% (100% of 1 of 4 CPUs) immediately. During active processing, the CPU jumps to 37% indicating a second thread is doing the actual work.

If this does not occur for your tests, one possibility is there something about the state of my server side account or folder left over from previous problems that could be causing issues for the background thread that communicates with the server. You can clean/reset my server side folders anytime. I’ll try to leave them empty most of the time.

Unaware of anything that is left behind or that would be causing by being left behind. When you do logout, does the CPU utilization drop?

Yes. Its 0% on initial start, but jump to 100% on logon, and back to 0% at logout. This is an improvement on the previous version which used to continue at 100% on logout.

We’ve not been able to duplicate the 100% utilization on login. We continuously see 0% CPU utilization before logging in, and between 32% and 50% when logged in and then back to 0% when logged out.

Running on Windows 10 (1709), Fall Creators Edition not logged in:

Logged in:
rio_Logged_In_CPU_Percentage:

Ahh, but how many cores on your machine. Mine shows 25% but I have 4 cores so that tells me 1 task/thread is running flat out using 100% of 1 CPU, but getting moved around. I can also tell because the fans kick on after a minute or so.

This was taken from a virtual machine with 1 CPU and 1 core.

Maybe try it on a VM with more than 1 CPU/core. Does the multi-threading code detect CPUs/core counts before spawning threads? If I had to guess, I’d look at the thread pool idle loop.

Just tried the released 0.6.2 in a VM with 1 CPU and 2 cores – still behaving well, with similar results as I had before when logged in. I made a bunch of actions, changing ODBC, changing formulas, saving without data. After each was completed, it did hover a little higher in the CPU utilization but then after about a minute of idle did drop back down. Can’t seem to reproduce.