• Resolved bmartin1776

    (@bmartin1776)


    After almost 24hrs of trial and error testing spending abt 2-3hrs on phone with my hosting service I have no doubt jetpack is cause of my problems where I can/could barely log into my site getting server connect errors of all types etc. Not sure what was done in the last update but it created massive problems for me.

    My apologies if this post is in the wrong place but wanted to let developers know the plugin has a bug somewhere in it that is causing site to redline/maxout CPU and memory usage. Moment I disable it via CPanel file mgr, bc I cannot even login to my WP dashboard to disable via plugins page, everything calmed down.

    https://ww.wp.xz.cn/plugins/jetpack/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    I’m sorry to hear you’ve run into issues. If you’re willing to run some more tests with me, I’d love to look into this some more to try to understand what’s happening on your site.

    I can/could barely log into my site getting server connect errors of all types etc.

    Could you try to install that plugin, and post the results you get before, and after activating Jetpack?
    https://ww.wp.xz.cn/plugins/server-ip-memory-usage/

    Could you also add the following to your site’s wp-config.php file?

    define('WP_DEBUG', true);
    
    if ( WP_DEBUG ) {
    
            @error_reporting( E_ALL );
            @ini_set( 'log_errors', true );
            @ini_set( 'log_errors_max_len', '0' );
    
            define( 'WP_DEBUG_LOG', true );
            define('WP_DEBUG_DISPLAY', false);
            define( 'CONCATENATE_SCRIPTS', false );
            define( 'SAVEQUERIES', true );
    
    }

    Once you’ve done so, try activating Jetpack again, and then check the wp-content/debug.log file for errors. You can paste the results her, and you will then be bale to replace define('WP_DEBUG', true); by define('WP_DEBUG', false); in the code above.

    Let me know how that goes!

    Thread Starter bmartin1776

    (@bmartin1776)

    Im going to be totally honest with you that ⬆︎⬆︎ is completely alien to me… Im just a blogger I know absolutely nothing about programming how to do any of it. It would be “dangerous” for me to go poking around the line code for the site bc I obviously don’t know what Im doing

    Best I can do is tell you what plugins are running in addition to JP and show what came up in error log from CPanel after I turned the plugin on.

    CPU Usage with JP OFF = 11 / 100%
    Memory Usage with JP OFF= 552.3 / 2048 MB

    Theme: MH Newsdesk lite 1.3.1
    Plugins:
    Content.ad 1.1.13, Disqus Comment System 2.85, Follow Buttons by AddThis 3.0.0, Official StatCounter Plugin 2.0.1, Quick Adsense1.9.2, Shareaholic 7.8.0.3, Simple Trackback Disabler 1.3, Simple Trackback Validation with Topsy Blocker 1.2.4, Twitter Cards Meta 2.4.3, W3 Total Cache 0.9.4.1, Yoast SEO 3.3.4
    these two are inactive- Optimize Database after Deleting Revisions 4.1.8, P3 (Plugin Performance Profiler) 1.3.5.9,

    JP turned on=
    first problem get 500 error trying to get back to dashboard, takes several minutes for it to let me back in. So in CPanel I must go to File Mgr and rename the plugin to disable. Wait min or two I can get into dashboard and then I delete the plugin

    CPU Usage with JP ON = 88 / 100%
    Memory Usage with JP ON= 1937 / 2048 MB
    I/O Usage with JP ON= 1,996 / 2048 KB/s

    This is whats in the error log (i omitted anything that appeared to be personal info to “X”) [Tue Jul 12 08:31:32.353130 2016] [fcgid:warn] [pid 1402:tid “X”] [client “X”] mod_fcgid: stderr: PHP Fatal error: require_once(): Failed opening required ‘/home/“X”/public_html/blog/wp-content/plugins/jetpack/class.jetpack-ixr-client.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/“X”/public_html/blog/wp-content/plugins/jetpack/class.jetpack.php on line 5261, referer: http://savingtherepublic.com/blog/2016/07/dallas-pd-boycott-pres-obamas-visit-tuesday/
    [Tue Jul 12 08:31:32.324201 2016] [fcgid:warn] [pid 1402:tid “X”] [client “X”] mod_fcgid: stderr: PHP Warning: require_once(/home/“X”/public_html/blog/wp-content/plugins/jetpack/class.jetpack-ixr-client.php): failed to open stream: No such file or directory in /home/“X”/public_html/blog/wp-content/plugins/jetpack/class.jetpack.php on line 5261, referer: http://savingtherepublic.com/blog/2016/07/dallas-pd-boycott-pres-obamas-visit-tuesday/

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    Failed opening required ‘/home/“X”/public_html/blog/wp-content/plugins/jetpack/class.jetpack-ixr-client.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/“X”/public_html/blog/wp-content/plugins/jetpack/class.jetpack.php

    That’s interesting. It seems that your installation of Jetpack is incomplete; some files are missing. It’s most likely what’s creating all the errors.

    Could you try to log in to your site via FTP or CPanel, and delete the existing Jetpack plugin folder, and reinstall the plugin manually as explained here:
    http://codex.ww.wp.xz.cn/Managing_Plugins#Manual_Plugin_Installation

    You’ll find the Jetpack plugin folder here:

    wp-content
       plugins
         jetpack - DELETE THIS FOLDER

    If you’re not sure how to do this, you can ask your hosting company for help. They should also have documentation explaining how to edit or remove files from your site using FTP or a File Manager in your admin panel.

    Let me know how it goes.

    Thread Starter bmartin1776

    (@bmartin1776)

    Reinstalling manually via FTP appears to have worked… Ill keep an eye on it for few days. The update was 5 days ago but this acted up 2 days ago so…

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    Glad to hear that helped! Let me know if problems start appearing again!

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

The topic ‘Jetpack has a bug, using MASSIVE CPU resources’ is closed to new replies.