[Azure] high CPU usage - Searching with Lucene to get media item by id.
Hi,
My current task is to investigate why Azure Umbraco instance is constantly using around 20-30% of the CPU. Website uses Cloudflare to do the caching of the output for 24 hours. But even when the application has 6 instances it still uses 20-30% of CPU constantly on each instance.
We are running on the Umbraco 7.5.13 and Examine Version is 0.1.83.
We setup the Examine to be stored on machine local disk.
After getting some profiling snapshot from production server I have discovered that a lot of CPU is used by Lucene:
After looking at the call stack I have found that it is being called by PublishedMediaCache class.
Does any one know why Lucene is taking so much CPU time for a simple query to get media with id ?
Cannot remember which version swapped from db to lucene for Media but in older versions it used to hit db when getting media. Now it hits lucene if it cannot get it from lucene then it will hit db. Re examine / lucene speed is the setup for azure as per the documentation?
[Azure] high CPU usage - Searching with Lucene to get media item by id.
Hi,
My current task is to investigate why Azure Umbraco instance is constantly using around 20-30% of the CPU. Website uses Cloudflare to do the caching of the output for 24 hours. But even when the application has 6 instances it still uses 20-30% of CPU constantly on each instance.
We are running on the Umbraco 7.5.13 and Examine Version is 0.1.83. We setup the Examine to be stored on machine local disk.
After getting some profiling snapshot from production server I have discovered that a lot of CPU is used by Lucene:
After looking at the call stack I have found that it is being called by PublishedMediaCache class.
Does any one know why Lucene is taking so much CPU time for a simple query to get media with id ?
Dawid,
Cannot remember which version swapped from db to lucene for Media but in older versions it used to hit db when getting media. Now it hits lucene if it cannot get it from lucene then it will hit db. Re examine / lucene speed is the setup for azure as per the documentation?
Regards
Ismail
is working on a reply...