Passer la navigation

[Résolu] wp-views plugin is throwing thousands of slow errors per hour

This support ticket is created Il y a 4 weeks, 1 day. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Fuseau horaire du supporter : Asia/Kolkata (GMT+05:30)

Ce sujet contient 1 reply, a 1 voix.

Dernière mise à jour par Minesh Il y a 4 weeks.

Assisté par: Minesh.

Auteur
Publications
#2858500
Screenshot 2026-04-27 at 18.21.11.png
Screenshot 2026-04-27 at 18.20.53.png

Hi support team,

This site has been using Toolset since its creation, at least 7 years and it's been working fine.
From time to time, we have Bots attack and the site is down.

Today, almost 4,500 slow errors were logged within a two hour time span calling out this plugin, causing database CPU to spike and the site to go down.
The site is hosted via Flywheel and the Flywheel support has found this error in the log.

Message from Flywheel support :
It appears the wp-views plugin is throwing thousands of slow errors per hour, all dealing with MySQL queries. These quieries are dealing with the _posts table and are similar to the one below :

SELECT id FROM wp_fb82uskzk4_posts
WHERE `post_type` = 'attachment'
AND `guid` IN ( 'lien caché', 'lien caché', 'lien caché', 'lien caché' )
ORDER BY CHAR_LENGTH( `guid` ) DESC

Could you please help analysing the log file here : lien caché ?
Maybe I need to optimise my queries with View.
Thank you in advance for your help.
Best regards,
Sawitri

#2858562

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Here are few links that shoiuld help you to improve performance:
- https://toolset.com/faq/how-to-use-optimization-plugins-with-toolset/
- https://toolset.com/documentation/legacy-features/views-plugin/how-to-use-views-parametric-search-on-large-sites/

Could you please send me debug information that will help us to investigate your issue.
=> https://toolset.com/faq/provide-debug-information-faster-support/