Title: High Account Execution
Last modified: July 28, 2020

---

# High Account Execution

 *  Resolved [meftech](https://wordpress.org/support/users/meftech/)
 * (@meftech)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/high-account-execution/)
 * Hi there, I’ve been advised by our hosting of the below. Seeing if you can please
   help to see why AMP would be causing high Account Executions. Thank you.
 * “Most of the requests to your page that are listed to be coming from the server
   IP are associated with a plugin and a theme on your website – the plugin is “
   amp”, and the theme is “bimber”
 * There are around 1700 requests from the server IP to your website today:
 * [massivee@massiveepicfail.com](https://wordpress.org/support/topic/high-account-execution/massivee@massiveepicfail.com?output_format=md)[
   ~/logs]# zgrep 35.213.135.48 massiveepicfail.com-ssl_log-24-07-2020.gz |wc -l
   
   1694
 * Checking your access logs from today, you can see that the requests with the 
   server IP are originating from “amp-wp”:
 *     ```
       35.213.135.48 - - [24/Jul/2020:19:33:21 +0800] "GET /wp-content/uploads/2020/04/minecraft-with-rtx-beta-neon-district-003-rtx-on.png HTTP/1.0" 200 540169 "-" “amp-wp, v1.5.5, https://www.massiveepicfail.com"
       35.213.135.48 - - [24/Jul/2020:19:33:21 +0800] "GET /wp-content/uploads/2020/04/minecraft-with-rtx-beta-neon-distric-rtx-on-1024x576.jpg HTTP/1.0" 200 146013 "-" "amp-wp, v1.5.5, https://www.massiveepicfail.com"
       35.213.135.48 - - [24/Jul/2020:19:36:54 +0800] "GET /wp-content/uploads/2019/07/2019-07-14_23.58.43-1024x576.png HTTP/1.1" 200 897039 "-" "amp-wp, v1.5.5, https://www.massiveepicfail.com”
       ```
   
 * Searching for the “amp-wp” string in your website’s files, there are multiple
   files in these two folders containing the string:
 * ~/public_html/wp-content/themes/bimber/css/8.3.1
    ~/public_html/wp-content/plugins/
   amp/
 * As such I can recommend reviewing the settings and configuration of both the 
   theme and the plugin for any instances of the server IP present in them, or consulting
   with their developer for more information on why are they using the server IP
   to make their requests to the page.”
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fhigh-account-execution%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 10 replies - 1 through 10 (of 10 total)

 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/high-account-execution/#post-13178335)
 * Thanks for raising this topic.
 * These requests are indeed coming from the AMP plugin. You can see that the requests
   are for images. The reason these requests are being made is that the AMP plugin
   is fetching the image in order to determine its width and height. AMP requires
   all HTML elements to have dimensions defined in order to prevent layout shifting
   when the page is loading. When WordPress serves a page that contains an image
   that lacks `width` and `height`, the AMP plugin then fetches the image during
   when generating the AMP page in order to supply the `width` and `height` in the
   resulting AMP page. Once this is done, then the results are stored in the WordPress
   transient cache so the request should not happen again until the cache expires.
 * Take for example the request for `minecraft-with-rtx-beta-neon-district-003-rtx-
   on.png`.
 * I can see a post on your site that uses this image: [https://www.massiveepicfail.com/gaming/minecraft-with-rtx-beta-is-live/](https://www.massiveepicfail.com/gaming/minecraft-with-rtx-beta-is-live/)
 * The `img` tag on the page (without lazy-loading) is:
 * `<img src="https://www.massiveepicfail.com/wp-content/uploads/2020/04/minecraft-
   with-rtx-beta-neon-district-003-rtx-on.png" alt="Minecraft with RTX Beta is Live!"
   data-id="20104" data-full-url="https://www.massiveepicfail.com/wp-content/uploads/
   2020/04/minecraft-with-rtx-beta-neon-district-003-rtx-on.png" data-link="https://
   www.massiveepicfail.com/?attachment_id=20104" class="wp-image-20104 lazyload"
   srcset="https://www.massiveepicfail.com/wp-content/uploads/2020/04/minecraft-
   with-rtx-beta-neon-district-003-rtx-on.png 850w, https://www.massiveepicfail.
   com/wp-content/uploads/2020/04/minecraft-with-rtx-beta-neon-district-003-rtx-
   on-300x169.png 300w, https://www.massiveepicfail.com/wp-content/uploads/2020/
   04/minecraft-with-rtx-beta-neon-district-003-rtx-on-768x432.png 768w, https://
   www.massiveepicfail.com/wp-content/uploads/2020/04/minecraft-with-rtx-beta-neon-
   district-003-rtx-on-728x409.png 728w, https://www.massiveepicfail.com/wp-content/
   uploads/2020/04/minecraft-with-rtx-beta-neon-district-003-rtx-on-364x205.png 
   364w, https://www.massiveepicfail.com/wp-content/uploads/2020/04/minecraft-with-
   rtx-beta-neon-district-003-rtx-on-334x188.png 334w, https://www.massiveepicfail.
   com/wp-content/uploads/2020/04/minecraft-with-rtx-beta-neon-district-003-rtx-
   on-758x427.png 758w" sizes="(max-width: 850px) 100vw, 850px" title="Minecraft
   with RTX Beta is Live!">`
 * Notice how it lacks a `width` and `height`. This is what is causing the AMP plugin
   to initiate that request for dimensions. Compare that same image on the AMP version:
   [https://www.massiveepicfail.com/gaming/minecraft-with-rtx-beta-is-live/amp/](https://www.massiveepicfail.com/gaming/minecraft-with-rtx-beta-is-live/amp/)
 * `<amp-img src="https://www.massiveepicfail.com/wp-content/uploads/2020/04/minecraft-
   with-rtx-beta-neon-district-003-rtx-on.png" alt="" data-id="20104" data-full-
   url="https://www.massiveepicfail.com/wp-content/uploads/2020/04/minecraft-with-
   rtx-beta-neon-district-003-rtx-on.png" data-link="https://www.massiveepicfail.
   com/?attachment_id=20104" class="wp-image-20104 amp-wp-enforced-sizes i-amphtml-
   layout-fill i-amphtml-layout-size-defined" srcset="https://www.massiveepicfail.
   com/wp-content/uploads/2020/04/minecraft-with-rtx-beta-neon-district-003-rtx-
   on.png 850w, https://www.massiveepicfail.com/wp-content/uploads/2020/04/minecraft-
   with-rtx-beta-neon-district-003-rtx-on-300x169.png 300w, https://www.massiveepicfail.
   com/wp-content/uploads/2020/04/minecraft-with-rtx-beta-neon-district-003-rtx-
   on-768x432.png 768w, https://www.massiveepicfail.com/wp-content/uploads/2020/
   04/minecraft-with-rtx-beta-neon-district-003-rtx-on-728x409.png 728w, https://
   www.massiveepicfail.com/wp-content/uploads/2020/04/minecraft-with-rtx-beta-neon-
   district-003-rtx-on-364x205.png 364w, https://www.massiveepicfail.com/wp-content/
   uploads/2020/04/minecraft-with-rtx-beta-neon-district-003-rtx-on-334x188.png 
   334w, https://www.massiveepicfail.com/wp-content/uploads/2020/04/minecraft-with-
   rtx-beta-neon-district-003-rtx-on-758x427.png 758w" width="850" height="478" 
   layout="fill" object-fit="cover" i-amphtml-layout="fill">...</amp-img>`
 * See how the `width` and `height` are added?
 * Now, that being said, it turns out that WordPress 5.5 will actually start to 
   provide the dimensions for these images when generating the page. See [https://core.trac.wordpress.org/ticket/50367](https://core.trac.wordpress.org/ticket/50367)
 * I’ve already opened an issue to backport this to the AMP plugin: [https://github.com/ampproject/amp-wp/issues/4838](https://github.com/ampproject/amp-wp/issues/4838)
 * That being said, there are two reasons why the AMP plugin should not have to 
   open HTTP requests for this specific image:
    1. Since this image here has a `fill` layout then AMP doesn’t actually need a `
       width` and `height`, so the AMP plugin could actually skip obtaining the dimensions.
       I think this is because the image is inside of an `amp-carousel` and so the `
       fill` layout is getting applied after the image is already processed.
    2. Since the image is on the filesystem, the AMP plugin could more efficiently 
       obtain the dimensions by loading the image from the filesystem rather than by
       doing an HTTP request. The AMP plugin uses the [FasterImage](https://github.com/willwashburn/fasterimage)
       library to fetch dimensions in parallel, but it doesn’t currently support obtaining
       dimensions from the filesystem.
 * I’ve filed an issue for that: [https://github.com/ampproject/amp-wp/issues/5115](https://github.com/ampproject/amp-wp/issues/5115)
 * But long story short: once you update to WordPress 5.5, which will be released
   in 2 weeks (on August 11), you should see a dramatic reduction in these requests.
    -  This reply was modified 5 years, 10 months ago by [Weston Ruter](https://wordpress.org/support/users/westonruter/).
 *  Thread Starter [meftech](https://wordpress.org/support/users/meftech/)
 * (@meftech)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/high-account-execution/#post-13178463)
 * Thanks for all the great info will review and see if I can fix. Thanks again.
    -  This reply was modified 5 years, 10 months ago by [meftech](https://wordpress.org/support/users/meftech/).
 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/high-account-execution/#post-13178659)
 * (Sorry for the confusion. My comment was held in moderation for having too many
   links.)
 *  Thread Starter [meftech](https://wordpress.org/support/users/meftech/)
 * (@meftech)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/high-account-execution/#post-13322432)
 * Hi Weston, I’ve been hoping the update would help with discussed above. But since
   the update to 2.0 Account Execution has only increased to higher levels.
 * Hoping there might be something I can do?
 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/high-account-execution/#post-13323717)
 * Did you update WordPress core to v5.5?
 *  Thread Starter [meftech](https://wordpress.org/support/users/meftech/)
 * (@meftech)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/high-account-execution/#post-13325445)
 * Yes core has been updated to v5.5
 * WP Version 5.5
    AMP Version 2.0.0 by AMP Project Contributors
 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/high-account-execution/#post-13325474)
 * On [https://www.massiveepicfail.com/gaming/minecraft-with-rtx-beta-is-live/](https://www.massiveepicfail.com/gaming/minecraft-with-rtx-beta-is-live/)
   I’m seeing the `width` and `height` attributes being supplied, so that should
   avoid the AMP plugin having to fetch the dimensions for those images. For example:
 * `<img width="850" height="478" src="https://www.massiveepicfail.com/wp-content/
   uploads/2020/04/minecraft-with-rtx-beta-neon-district-003-rtx-on.png" alt="Minecraft
   with RTX Beta is Live!" data-id="20104" data-full-url="https://www.massiveepicfail.
   com/wp-content/uploads/2020/04/minecraft-with-rtx-beta-neon-district-003-rtx-
   on.png" data-link="https://www.massiveepicfail.com/?attachment_id=20104" class
   ="wp-image-20104 lazyload" srcset="https://www.massiveepicfail.com/wp-content/
   uploads/2020/04/minecraft-with-rtx-beta-neon-district-003-rtx-on.png 850w, https://
   www.massiveepicfail.com/wp-content/uploads/2020/04/minecraft-with-rtx-beta-neon-
   district-003-rtx-on-300x169.png 300w, https://www.massiveepicfail.com/wp-content/
   uploads/2020/04/minecraft-with-rtx-beta-neon-district-003-rtx-on-768x432.png 
   768w, https://www.massiveepicfail.com/wp-content/uploads/2020/04/minecraft-with-
   rtx-beta-neon-district-003-rtx-on-728x409.png 728w, https://www.massiveepicfail.
   com/wp-content/uploads/2020/04/minecraft-with-rtx-beta-neon-district-003-rtx-
   on-364x205.png 364w, https://www.massiveepicfail.com/wp-content/uploads/2020/
   04/minecraft-with-rtx-beta-neon-district-003-rtx-on-334x188.png 334w, https://
   www.massiveepicfail.com/wp-content/uploads/2020/04/minecraft-with-rtx-beta-neon-
   district-003-rtx-on-758x427.png 758w" sizes="(max-width: 850px) 100vw, 850px"
   title="Minecraft with RTX Beta is Live!">`
 * What requests are currently representative of those which are causing high account
   execution?
 * Also, do you have a page caching solution in place?
 *  Thread Starter [meftech](https://wordpress.org/support/users/meftech/)
 * (@meftech)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/high-account-execution/#post-13325616)
 * We are using SiteGround Optimizer (SG Optimizer) with below on:
 * Remove Query Strings From Static Resources
    Optimize Loading of Google Fonts 
   Combine CSS Files Minify CSS Files Defer Render-blocking JS (excluding /wp-includes/
   js/jquery/jquery.js) Combine JavaScript Files Minify JavaScript Files Minify 
   the HTML Output
 * and Lazy Load for most elements.
 * Not sure on the exact pages i will try and get this from our hosting.
 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/high-account-execution/#post-13325678)
 * I don’t see page caching as being included among the features enabled. Then again,
   I’m not familiar with SiteGround’s platform.
 *  Thread Starter [meftech](https://wordpress.org/support/users/meftech/)
 * (@meftech)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/high-account-execution/#post-13325705)
 * Sorry missed that.
 * Dynamic Caching
    Memcached Automatic Cache Purge (Automatically perform a smart
   cache purge after every content modification.)
 * Is also on.
    -  This reply was modified 5 years, 9 months ago by [meftech](https://wordpress.org/support/users/meftech/).

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘High Account Execution’ is closed to new replies.

 * ![](https://ps.w.org/amp/assets/icon.svg?rev=2527602)
 * [AMP](https://wordpress.org/plugins/amp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/amp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/amp/)
 * [Active Topics](https://wordpress.org/support/plugin/amp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amp/reviews/)

 * 10 replies
 * 2 participants
 * Last reply from: [meftech](https://wordpress.org/support/users/meftech/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/high-account-execution/#post-13325705)
 * Status: resolved