Support » Plugin: Jetpack by WordPress.com » Jetpack uses a lot of resources from the server

  • Resolved almarma

    (@almarma)


    I’ve been using jetpack in several blogs I run. I was very happy with the features it provides, but in the last weeks my hosting provider alerted me about high CPU usage. I monitored the blogs, and using p3 plugin profiler, to check the resources usage of each plugin I have installed, I discovered that Jetpack uses A LOT of resources. It makes my sites load 2 seconds slower, and that’s too much.
    Without jetpack, the impact of the plugins on my site load time is 30%. With jetpack it’s 65%! And there’s no different on how many jetpack plugins I enable or disable. I’ve disable almost all jetpack plugins, and it’s the same delay, so I have them disabled. It’s a pity, because there are some that I really like and would love to be able to use :(. Any other with the same problem? Any idea about how I could debug more to see if there is a problem or incompatibility with any other plugin I use?

    http://wordpress.org/plugins/jetpack/

Viewing 15 replies - 1 through 15 (of 15 total)
  • I would like to add that I’ve tested it with several websites, and disabling ALL OTHER plugins I had installed. The problem is the same. I’m very sad, as I really love Jetpack, and I think it should come included with WordPress by default. Maybe Jetpack is too big to be a single plugin with many other plugins inside. Maybe I would be better as independent plugins, or optimizing it much better. I don’t know, I’m not programmer, but I think if something is disabled, it shouldn’t load at all. That’s why I don’t understand how Jetpack, with all its plugins disabled (all that one can disable), keeps slowing my webs a lot 🙁

    That sounds alerting, I have to test this with my website.

    Jetpack takes up 73% load time of my site. Here are my P3 results:
    http://image-upload.de/image/BHMFFt/7e9df0cdfe.png
    The only modules I have activated:
    Statistics
    Carousel
    Tiled Galleries
    Shortcodes
    Widgets
    Distribution

    I did some more testing with P3 and it seems the results stabilized to the following:
    http://image-upload.de/image/xGwWWX/14c373c8b1.png
    Not too much anymore. I don’t know…

    Plugin Contributor designsimply

    (@designsimply)

    Regarding load time as a percentage, it makes sense for the comparative percentage to be high when looking at other plugins because Jetpack does more than the other plugins.

    What matters more is the load time in seconds. @wt85, I think to get a solid idea of the impact in your case, you’d need to test load times in seconds.

    Aside from that, of course it will add some additional processing time to existing pages when present, but I know that the developers are always working to improve load time. 🙂

    Hi #Sheri,

    Sorry to say, but for me, it doesn’t make sense that Jetpack use more time to load than the full WordPress core. And again, around 1 second of delay after enabling Jetpack, is way too much.

    http://i43.tinypic.com/2yn5a2h.png

    http://i43.tinypic.com/2iuamwh.png

    Of course, it enables some nice features, and it’s normal that it needs resources, but when I see those graphics I think it’s way too much. I have other powerful plugins enabled like W3 Total Cache, BackWPup, and some others, and the impact of those is insignificant compared to Jetpack :(.

    As I told before, really sad, because I love the features provided by Jetpack.

    Hi again,

    I’ve found the reason: it’s the Statistics plugin within Jetpack. My server is in Island, Europe, so I’m wondering if maybe, the statistics plugin calls home (wordpress.com) and being overseas, the ping is higher, and that slows the performance. Or maybe it’s just resource-intensive.
    Anyway, after disabling it and enabling the ones I use more, like the carrousel, post by email, social sharing, etc, the loading time has decreased from 0.5 to 0.1 or 0.2 seconds, which is much more reasonable considering the many things it contains.

    I hope it can help others and it can be improved in the future. Also, as when you disable Jetpack and enable it again, the settings are lost, I’ve even had 502 errors until I was able to get to the Jetpack admin panel to disable the statistics module.

    Nobody else has this issue? I cannot believe I’m the only one having this issue on my 5 wordpress sites 🙁

    BTW, I don’t know who marked this thread as solved. I don’t consider it solved, as the problem is still there. I’ve disabled the statistics module, but I would like to use it

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    I’ve found the reason: it’s the Statistics plugin within Jetpack. My server is in Island, Europe, so I’m wondering if maybe, the statistics plugin calls home (wordpress.com) and being overseas, the ping is higher, and that slows the performance. Or maybe it’s just resource-intensive.

    Have you tried running your tests while being logged out of your WordPress account? If you’re logged in, the Stats module checks your user role on each page load, since we might not want to track your own visits to your site. When logged out, WordPress.com Stats behaves just like any other tracking service, like Google Analytics for example: a tracking pixel is added to the bottom of your site and a call is made to the Stats library on WordPress.com. That call will obviously impact your site’s loading time since it’s one more resource to load from another domain, but it’s like loading Google Analytics’ library.

    You might want to run traceroutes to WordPress.com domains to see if you’re having trouble reaching WordPress.com servers. You can run traceroutes for the following domains:

    http://s0.wp.com/
    http://sat.wordpress.com/
    http://ord.wordpress.com/
    http://luv.wordpress.com/

    You can find some information to help you run a traceroute here:
    http://en.support.wordpress.com/browser-issues/advanced-browser-troubleshooting/#traceroutes

    I’ve even had 502 errors until I was able to get to the Jetpack admin panel to disable the statistics module.

    Could you try to increase the memory allocated to PHP on your site, as explained here:
    http://codex.wordpress.org/Common_WordPress_Errors#Allowed_memory_size_exhausted

    Let me know if it helps.

    Hi #Jeremi,

    Thanks for your help, but, if I logout from wordpress.com, all the modules are disabled, aren’t they? As far as I know, to logout from wp.com is just like disabling Jetpack, right? Because when I do it all modules stop working 🙁

    About the traceroute, the hosting server is in Iceland, but I’m in Norway. The traceroute will be done from Norway, not from Iceland. Is it useful?

    about the PHP settings, memory_limit is 256MB and max_execution_time is 30s. Isn’t it enough?

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    Thanks for your help, but, if I logout from wordpress.com, all the modules are disabled, aren’t they?

    Sorry, I should have been more clear. I meant logging out of your self-hosted WordPress site.

    About the traceroute, the hosting server is in Iceland, but I’m in Norway. The traceroute will be done from Norway, not from Iceland. Is it useful?

    I think you should run the traceroute from the computer where you’re experiencing issues, and where you’re running the tests. So doing it from your own computer is totally fine.

    about the PHP settings, memory_limit is 256MB and max_execution_time is 30s. Isn’t it enough?

    That should be more than enough, but some hosts sometimes limit the memory that can be used per site, so I would be worth contacting them about it to make sure.

    You can also check your server error logs around the time where you experienced the 502 errors, to find out more about what’s causing the issue.

    Hi guys.
    I’m experiencing the same issue.
    I have a total of 39 plugins.
    Backend loading were up to 20 sec.
    Now I have gained a considerable timing in loading backend pages by disabling the following ones:
    . Jetpack with only Publicize – Vault press is activated but don’t know if working
    . W3 total cache
    Is there a sort of conflict between them?

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    Is there a sort of conflict between them?

    There is no conflict between these 3 plugins, they should work well together.
    I’d suggest that you review all the other plugins, deactivate them one at a time, until you find the one that seems to caused the biggest performance hit on your site.

    Hi Jeremy,
    thanks for your reply and sorry for my delay.
    I waited for a few days before giving you an answer.
    Unfortunately, I cannot understand what happened to my website.
    Backend is still so slow that I cannot understand what happened. Still, I upgraded hosting server too.
    Moreover, I have only woothemes.com extension, in order to have the best expected compatibility.
    I cannot work without Publicize, so jetpack is still alive.
    W3 total cache has been deactivated.
    Vaultpress… uh, could it be that it continues to inspect web space and thus server performance slow down?
    The only thing I noticed is that Jetpack slow down my website once activated.
    Even if I left the vital plugin like Woocommerce and Rev Slider, which are bundled with theme.
    Could it be that I renamed wp-content into another folder name and use the following to redirect?

    define ('WP_CONTENT_FOLDERNAME', 'folder_name');
    define ('WP_CONTENT_DIR', ABSPATH . WP_CONTENT_FOLDERNAME);
    define('WP_SITEURL', 'http://' . $_SERVER['HTTP_HOST'] . '/');
    define('WP_CONTENT_URL', WP_SITEURL . WP_CONTENT_FOLDERNAME);
    define ('WP_PLUGIN_DIR', WP_CONTENT_DIR . '/plugins');
    define ('WP_PLUGIN_URL', WP_CONTENT_URL.'/plugins');

    I hope not… 🙂

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    @alemarengo84 Could you please start your own thread, as per the Forum Welcome?
    http://wordpress.org/support/plugin/jetpack#postform

    Thank you!

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Jetpack uses a lot of resources from the server’ is closed to new replies.