Slow Queries ByRankMath Free

#788034
  • Mohamed
    Rank Math free

    Dear,
    I hope you are doing this website with more than 200K posts. Your plugin always add time to Page Generation Time please check the attachment
    Regards

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hello,

    I apologize for the inconvenience you are experiencing with Rank Math on your website with over 200K posts. Thank you for sharing the attachment showing the slow queries caused by Rank Math Free.

    Based on the information provided, it seems like you are facing performance issues related to Rank Math. While Rank Math is primarily an SEO plugin and not a performance plugin, we understand the importance of optimizing your website’s speed.

    If you are encountering slow queries due to Rank Math, we recommend checking if there are any specific features or settings within Rank Math that might be causing these delays. Additionally, you can consider optimizing your database, caching, and server resources to help improve the overall performance of your website.

    If you need further assistance in identifying and resolving these slow queries, please reply with more details or assign this ticket to a human agent using the available buttons for personalized support.

    Thank you for bringing this concern to our attention. We are here to help you optimize your website’s performance while using Rank Math.

    Best regards.

    Sources:
    Does Installing Rank Math Slow Down My Website? » Rank Math
    The #1 WordPress SEO Plugin in 2023 – Rank Math

    This is an automated reply from Rank Math Support Bot. Your ticket has been assigned to a human agent and we will get back to you shortly.

    Hello,

    Thank you for contacting us and sorry for any inconvenience that might have been caused due to that.

    It looks like you’re using a backdated version of the Rank Math plugin on your website. Please try to update the plugin to the latest version: https://rankmath.com/changelog/free/

    Also, as you have a large number of posts on your website, we suggest you get in touch with your hosting provider and ask them to increase the PHP values of your site and see if that works for you.

    If the issue persists, then we might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.

    Please do take a complete backup of your website before sharing the information with us.

    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    Let us know how it goes. Looking forward to helping you.

    Thank you.

    Mohamed
    Rank Math free

    Is the latest version fix this? what kind of PHP parameters you suggest to increase
    Thanks

    Hello,

    We recommend using the updated version of our plugin. We can investigate further if this does not solve the issue with the slow queries.

    Also, please get in touch with your host and ask them to increase the PHP values to the following:

    PHP Memory Limit: 1024M
    Max input time: 500
    PHP time limit: 240
    PHP max input variables: 2000

    That should fix the issue. Let us know if it doesn’t.

    We are here to assist.

    Mohamed
    Rank Math free

    By more inspections I found the followings:
    1- Scheduled Actions has: Pending (67647) | Failed (6147) | Canceled (10) | Past-due (67647) related to RankMath how to reset or fix this and what purpose
    2- The website down because of this:

    SELECT l.ID, post_title, post_content, post_name, post_parent, post_author, post_modified_gmt, post_date, post_date_gmt, post_type                                                                
                            FROM (                                                                                                                                                                              
                                    SELECT DISTINCT p.ID FROM wp_posts as p                                                                                                                                     
                                                                                                                                                                                                                
                                    LEFT JOIN wp_postmeta AS pm ON ( p.ID = pm.post_id AND pm.meta_key = 'rank_math_robots' )                                                                                   
                                    WHERE (                                                                                                                                                                     
                                            ( pm.meta_key = 'rank_math_robots' AND pm.meta_value NOT LIKE '%noindex%' ) OR                                                                                      
                                            pm.post_id IS NULL                                                                                                                                                  
                                    )                                                                                                                                                                           
                                    AND p.post_type = 'post' AND p.post_status IN ( 'publish' ) AND p.post_password = ''                                                                                        
                                    AND p.ID != ''                                                                                                                                                              
                                                                                                                                                                                                                
                                    ORDER BY p.post_modified DESC LIMIT 200 OFFSET 59400                                                                                                                        
                            )                                                                                                                                                                                   
                            o JOIN wp_posts l ON l.ID = o.ID

    any help?

    Hello,

    Can you please check if the Cron jobs on your website are working properly? You can install the WP Crontrol plugin and navigate to WP Dashboard > Tools > Cron Events to make sure that the Cron Jobs is working fine on your site. If you find any issue with the Cron jobs, please contact your hosting provider to fix this.

    For more details, you can check this URL: https://rankmath.com/kb/analytics-issues/#num-1-3-check-cron-issues

    In case, you’re not able to find any issue with the Cron jobs, please share your WordPress and FTP logins in the sensitive data section so that we can check the issue further for you.

    Looking forward to helping you.

    Thank you.

    Mohamed
    Rank Math free

    I had an issue before now everything is working how to remove all these pending tasks

    Hello,

    On your Scheduled Actions page, you can select all the pending items and delete them by bulk:

    Rank Math support

    Here are some other options on how you would remove actions from WordPress: https://www.mrkwp.com/2023/09/how-to-clear-scheduled-action-logs-in-wordpress/

    Looking forward to helping you.

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

You must be logged in to reply to this ticket.