• Resolved davikk

    (@davikk)


    my site:

    investmentwatchblog.com

    ?huajax=1 still killing my site. takes 22 sec to load. This is awful.

    Performance result:

    https://gtmetrix.com/reports/investmentwatchblog.com/kdShXRaz

    the CPU just spike with a little increase of traffic or little traffic. This bug caused me dearly.

    Please email me the solution, its urgent.

    This is my functions/init-front.php:

    // Will be used by hu_is_ajax();
    if ( ! defined( ‘DOING_AJAX’ ) )
    define( ‘DOING_AJAX’, true );

    //Nonce is not needed as long as we don’t write in the db
    //Furthermore, when a cache plugin is used, front nonces can not be used.
    //@see https://github.com/presscustomizr/hueman/issues/512
    //’frontNonce’ => array( ‘id’ => ‘HuFrontNonce’, ‘handle’ => wp_create_nonce( ‘hu-front-nonce’ ) )
    //check_ajax_referer( ‘hu-front-nonce’, ‘HuFrontNonce’ );

    @header( ‘Content-Type: text/html; charset=’ . get_option( ‘blog_charset’ ) );
    send_nosniff_header();

    $action = $_REQUEST[‘action’];//we know it is set at this point
    do_action( “hu_ajax_{$action}” );
    die( ‘0’ );

    • This topic was modified 7 years, 9 months ago by davikk.
    • This topic was modified 7 years, 9 months ago by davikk.
Viewing 12 replies - 1 through 12 (of 12 total)
  • Hi @davikk
    when I look at the performance result you linked I cannot see where the huajax is impacting… I’m sure I’m missing it, could you point me in the right direction?

    Though I see that a lot of the suggestions to improve the performances refers to ads scripts, which are not part of the theme.

    Thread Starter davikk

    (@davikk)

    But I’m still seeing huajax is impacting in the report.

    I archieved the report for you:

    https://archive.is/MyXwC#selection-28589.1-28623.8

    In this archive, you can see, the huajax takes longest to load compare the other. 3.52 sec(I took this report at 4am in the morning when there is very few traffic). The number can go up to 20 secs in the worst one when there is just a few more people. The seems compounding for one more visitor. This is why I wasnt even notice this issue exist first time after update because it wont lead to sudden server crash, it will burden the server load and eventually crash or complete halt with the high traffic makes me think its just traffic issue. I found out that after use gtmetrix.com.

    My ad script is fine. Never change for years. I even disabled the ad plugin to test and other plugins as well for a couple times.

    Especially in the high traffic period, the issue compounding. My high end server with caches usually handles those traffic very well and cpu is just fine for a very long time.

    I used cloudflare to cache this link(mywebsite/?huajax=1) since it takes so long to load, do you think its the problem?

    • This reply was modified 7 years, 9 months ago by davikk.
    Thread Starter davikk

    (@davikk)

    I disabled Cloudfare cache, its still not fixed. Please help me out here. email me if you need anything from me to fix the issue.

    Hi @davikk,
    thanks for all the details, they really helped.
    The team is working on a fix!

    Best regards,

    Rocco

    Thread Starter davikk

    (@davikk)

    Thanks millions!

    I probably can’t wait for next update to release to fix this issue.

    Can you please tell me how to fix it here when your team figured it out or direct me to the page where the fix is explained.

    I had to implement extreme measures to keep my site running with this bug. I appreciate your effort. I will refresh this thread every few hour.

    Theme Author presscustomizr

    (@nikeo)

    version 3.3.14 should be available from your WordPress admin.

    The huajax request is now only processed when the sidebars are sticky ( in the customizer > Content > Sidebar settings ).

    We are still investigating why it is so slow on your server and not on the ones we are testing.

    Cheers

    Thread Starter davikk

    (@davikk)

    I can create an admin account for you to check out on my site if its needed.

    This is the plugin I use:

    Advanced Ads

    Akismet Anti-Spam

    All In One WP Security

    Auto Post Thumbnail PRO

    Auto Tags Generator

    Auto-hyperlink URLs

    Disable Embeds

    Disqus Conditional Load

    New Adman

    NextScripts: Social Networks Auto-Poster

    Simple Custom CSS

    WP Socializer

    WP Super Cache

    WP Super Minify

    WP-DBManager

    • This reply was modified 7 years, 9 months ago by davikk.
    • This reply was modified 7 years, 9 months ago by davikk.
    Theme Author presscustomizr

    (@nikeo)

    Thanks but I don’t think this will be necessary for the moment.
    How is it going with v3.3.14 ?

    Thread Starter davikk

    (@davikk)

    Give me a min, I need to backup my database first.

    Thread Starter davikk

    (@davikk)

    I updated the theme, so far the CPU drop a bit, and I use

    https://gtmetrix.com/reports/investmentwatchblog.com/4QYB7Bo1

    to check, the huajax=1 is not appearing. Good sign, I will look into it.

    I havent clear the caches yet.

    So far /?sccss=1&ver=4.8 takes the longest to load which I use cloudflare to cache it which I think its not related to the theme itself.

    I will keep you update in a few hours if its resolved. Thanks for your quick respond. Thank you so much!!

    Thread Starter davikk

    (@davikk)

    The issue is total resolved and my site runs faster than ever!

    Thanks for your hard works!

    Theme Author presscustomizr

    (@nikeo)

    Perfect ??
    Thank you very much for the feedback.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘?huajax=1 still killing me in 3.313’ is closed to new replies.