Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
High CPU usage browsing VFP Help Site
Message
From
31/05/2021 23:46:06
 
 
To
31/05/2021 11:55:57
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Product Documentation
Miscellaneous
Thread ID:
01680823
Message ID:
01680859
Views:
39
>>Hi Tore,
>>
>>I understand you host the online VFP help site at https://www.vfphelp.com/vfp9/ . Thanks for hosting this excellent resource.
>>
>>I've noticed what seems to me some unusual behaviour. When I visit the site I see a left pane with navigable table of contents, and the right pane shows the contents of the current selection. Initially CPU utilization is very low. This is all as expected.
>>If I navigate the left pane, CPU remains low. However, as soon as I click on any topic CPU jumps up to about 30% on my quad core machine and remains there as long as I have the site open. After the initial page load I would normally expect CPU to drop back down to a low level.
>>I see this in current versions of Firefox and MS Edge on Windows 10.
>>Is this known/expected behaviour? I ask because there is a type of malware which, when injected into a compromised site, causes visitors' computers to mine cryptocurrencies. This manifests as unexpectedly high CPU utilization.
>
>Hi Al,
>unfortunately I am far from an expert on the subject you ask. This "project" is something I have worked with, on and off, over a long time, as a challenge and for fun. I am far from an expert on the subject. I have owned the URL for a long time, it is just a coincident that the name of my website fits perfectly in this case.
>
>First I downloaded the source files from Francis' area at Github, https://github.com/VFPX/HelpFile. Since it's a collection of HTML files, I tried to get it to "work", but it required a lot of changes, mostly to make the folder structure "match", there was a huge number of broken links. But with the help of WW Help Builder and some VFP code that I made myself, I finally made it work.
>
>Why it requires so much processor power, I have no idea. If you want, I can zip all the files into one, and give you a download link, so that you can inspect it yourself.

OK, thanks. I wondered if you already knew of this and a possible cause. If you use any framework to build the site, I also wonder if there could be an update that might address known issues, or if what's being seen is a known issue.

Besides that, if you're happy that the underlying server computer and the web server (e.g. IIS) are updated and secured, then this is really only of academic interest.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Reply
Map
View

Click here to load this message in the networking platform