High-Logic Font Management Service revs too much [Closed]

Post your bug reports here. Include information that helps us to understand and reproduce the bug.
Erwin Denissen
Moderator
Moderator
Posts: 9014
Joined: Fri Oct 04, 2002 12:41 am
Location: Bilthoven, The Netherlands
Contact:

Re: High-Logic Font Management Service revs too much

Post by Erwin Denissen » Wed Nov 01, 2017 10:51 pm

I'll contact you to see if we can locate the cause of this issue.
Erwin Denissen
High-Logic
Proven Font Technology

CraftedDesigns
Posts: 1
Joined: Thu Dec 26, 2019 11:32 pm

Re: High-Logic Font Management Service revs too much

Post by CraftedDesigns » Thu Dec 26, 2019 11:39 pm

Hi, I am also experiencing this (along with high memory usage) and am not even running the program. Also, cannot even get the program to run again after uninstalling and reinstalling. Won't go past the "Initializing" on the startup splash screen. I don't believe they are related, but important to note.
Attachments
2019_12_26_1737.png
Screen shot of Task Mgr with program not running.
2019_12_26_1737.png (11.17 KiB) Viewed 1879 times

Erwin Denissen
Moderator
Moderator
Posts: 9014
Joined: Fri Oct 04, 2002 12:41 am
Location: Bilthoven, The Netherlands
Contact:

Re: High-Logic Font Management Service revs too much

Post by Erwin Denissen » Fri Dec 27, 2019 12:56 am

The most recent update of MainType contains several improvements related to these issues. What version of MainType do you have?
Erwin Denissen
High-Logic
Proven Font Technology

hlff
Posts: 37
Joined: Sat Dec 17, 2016 8:32 pm

Re: High-Logic Font Management Service revs too much

Post by hlff » Thu Jan 09, 2020 11:02 pm

I confirm that in MainType 9.0 this issue is worse.

This is representative of the periodic CPU spiking occurring even while the MainType app isn't running:

high-logic2.jpg
high-logic2.jpg (56.72 KiB) Viewed 1796 times

Erwin Denissen
Moderator
Moderator
Posts: 9014
Joined: Fri Oct 04, 2002 12:41 am
Location: Bilthoven, The Netherlands
Contact:

Re: High-Logic Font Management Service revs too much

Post by Erwin Denissen » Fri Jan 10, 2020 8:55 am

Please download and install this version and let us know your results:
MainType 9.0.0.1176
Erwin Denissen
High-Logic
Proven Font Technology

hlff
Posts: 37
Joined: Sat Dec 17, 2016 8:32 pm

Re: High-Logic Font Management Service revs too much

Post by hlff » Fri Jan 10, 2020 9:39 am

Thanks, Erwin.

With MainType 9.0.0.1176, CPU spikes occur every 2-3 minutes, even when the MainType application window is closed. This version seems to be spiking less dramatically (in terms of % CPU) but still hovers in the 15% - 20% range on average.

Erwin Denissen
Moderator
Moderator
Posts: 9014
Joined: Fri Oct 04, 2002 12:41 am
Location: Bilthoven, The Netherlands
Contact:

Re: High-Logic Font Management Service revs too much

Post by Erwin Denissen » Fri Jan 10, 2020 11:08 am

I'm glad to know this update works way better for you.

The font service checks if fonts have been installed or uninstalled. It does this every couple of minutes in the background, so this is most likely expected behavior.

Alternatively you have synced font folders with a short synchronization interval.

How many fonts do you have installed?
Erwin Denissen
High-Logic
Proven Font Technology

hlff
Posts: 37
Joined: Sat Dec 17, 2016 8:32 pm

Re: High-Logic Font Management Service revs too much

Post by hlff » Fri Jan 10, 2020 3:51 pm

Thanks, Erwin.

I have 2,485 fonts installed.

The CPU spikes are still significant on a system that is also used for realtime production tasks. I don't like having ≈20%+ CPU being used so often to check for font changes when I very rarely change my font installation. I'm not installing fonts every few minutes, thus there is no need for MainType to check over and over again. I realize that some users may do this (particularly graphic designers with varying font packages used multiple times a day), but it's not my use case. I'm using MainType to organize a stable, consistent group of installed fonts. To arbitrarily grind the system often for no reason is an onerous load that makes me inclined to uninstall MainType, since my top priority is a stable, low-background-load system. I want a font tool to use resources when it's running, and to use little to no resources when it's not running. For this tool to be using anywhere from 20% to 50% of resources in the background every few minutes isn't the situation I seek.

A few suggestions:
- Could MainType perhaps use a watch-folder type algorithm, so that instead of scanning through files for changes per se, it simply waits to detect any changes in specified font install locations? I have other apps that operate in this manner which use almost no resources unless/until something in a watch folder actually changes; then they spring into action.
- If not, could you provide an option where the user might reduce the intervals, especially when MainType itself is not in use? You could make this an option the user could set. I wouldn't mind if MainType ran checks for changed fonts once per day or so, for example.
- And even if the interval is reduced, could the checks to be even more efficient on CPU usage?

Again, I am highly appreciative of your excellent software. Thanks for your consideration.

Erwin Denissen
Moderator
Moderator
Posts: 9014
Joined: Fri Oct 04, 2002 12:41 am
Location: Bilthoven, The Netherlands
Contact:

Re: High-Logic Font Management Service revs too much

Post by Erwin Denissen » Fri Jan 10, 2020 4:28 pm

That is a fair amount of fonts, and shouldn't be an issue.

I have 800 fonts installed, and with MainType closed, the font service "spikes" to 1% once every couple of minutes or so.

So I don't understand why it takes so much CPU cycles on your computer. How long does one such spike take on your system?
Erwin Denissen
High-Logic
Proven Font Technology

hlff
Posts: 37
Joined: Sat Dec 17, 2016 8:32 pm

Re: High-Logic Font Management Service revs too much

Post by hlff » Fri Jan 10, 2020 5:10 pm

The spikes usually last anywhere from 5 to 20 seconds, every 2-3 minutes.

I note that CraftedDesigns reported seeing this issue as well (see previous post).

Erwin Denissen
Moderator
Moderator
Posts: 9014
Joined: Fri Oct 04, 2002 12:41 am
Location: Bilthoven, The Netherlands
Contact:

Re: High-Logic Font Management Service revs too much

Post by Erwin Denissen » Fri Jan 10, 2020 5:20 pm

To further look into this, I ask you to force a crash within the font service, which will generate a stack trace of the current state of the software. That might reveal what takes so much cpu usage.

To let the font service crash, do add a new group with this specific name:

****** [we will provide this secret group name on request only]

It is your challenge to submit the group at the right time ;-)

After you've done it, the group won't be added, and the font service needs to be restarted (through FmsConfig).

You will find the error report in this folder:
C:\ProgramData\High-Logic\Errors

Looking forward to the results.
Erwin Denissen
High-Logic
Proven Font Technology

hlff
Posts: 37
Joined: Sat Dec 17, 2016 8:32 pm

Re: High-Logic Font Management Service revs too much

Post by hlff » Fri Jan 10, 2020 5:31 pm

Erwin, thanks for providing this method of generating error reports.

I sent you the .dat file via PM.

I note that, while adding the ********* group did successfully generate the Error .dat file, the High-Logic Font Management Service is still running after doing so.
Last edited by hlff on Fri Jan 10, 2020 6:29 pm, edited 1 time in total.

Erwin Denissen
Moderator
Moderator
Posts: 9014
Joined: Fri Oct 04, 2002 12:41 am
Location: Bilthoven, The Netherlands
Contact:

Re: High-Logic Font Management Service revs too much

Post by Erwin Denissen » Fri Jan 10, 2020 6:23 pm

hlff wrote:
Fri Jan 10, 2020 5:31 pm
Erwin, thanks for providing this method of generating error reports.

I sent you the .dat file via PM.
Thank you for providing the report.

I can see it is indeed busy with "ResolveLoadedFonts".

I don't know why it takes that much resources on your side.

hlff wrote:
Fri Jan 10, 2020 5:31 pm
I note that, while adding the Crash2019 group did successfully generate the Error .dat file, the High-Logic Font Management Service is still running after doing so.
You won't be able to perform group related tasks right. A restart of the font service is recommended :wink:

P.s. I will now removed the special "Group Name" above, as it is only meant for debugging purposes.
Erwin Denissen
High-Logic
Proven Font Technology

hlff
Posts: 37
Joined: Sat Dec 17, 2016 8:32 pm

Re: High-Logic Font Management Service revs too much

Post by hlff » Fri Jan 10, 2020 6:30 pm

Thanks for looking at the report.

I just wanted to clarify: At this time, are you looking into this further, or was there something I should be looking into as well?

Erwin Denissen
Moderator
Moderator
Posts: 9014
Joined: Fri Oct 04, 2002 12:41 am
Location: Bilthoven, The Netherlands
Contact:

Re: High-Logic Font Management Service revs too much

Post by Erwin Denissen » Fri Jan 10, 2020 6:47 pm

We could further look into this, but then we should consider a remote desktop session. For example with Chrome Remote Desktop if you don't mind me taking a look at your computer.
Erwin Denissen
High-Logic
Proven Font Technology

Post Reply