Webshop crashes when doing search
-
Hey guys,
Great plugin. Looks really good. But we are having trouble with the AWS plugin crashing the entire site when doing a search.
The query generated is very long:
Count: 2 Time=335.07s (670s) Lock=0.00s (0s) Rows_sent=10.0 (20), Rows_examined=41089354.0 (82178708), Rows_affected=0.0 (0), wp_m2vr9[wp_m2vr9]@localhost SELECT distinct ID, (SUM( ( case when ( term_source = 'title' AND term = 'lob' ) then 260 * count else 0 end ) + ( case when ( term_source = 'title' AND term LIKE '%lob%' ) then 46 * count else 0 end ) + ( case when ( term_source = 'content' AND term = 'lob' ) then 47 * count else 0 end ) + ( case when ( term_source = 'content' AND term LIKE '%lob%' ) then 38 * count else 0 end ) + ( case when ( term_source = 'sku' AND term = 'lob' ) then 300 else 0 end ) + ( case when ( term_source = 'sku' AND term LIKE '%lob%' ) then 50 else 0 end ) + ( case when ( term_source = 'excerpt' AND term = 'lob' ) then 47 * count else 0 end ) + ( case when ( term_source = 'excerpt' AND term LIKE '%lob%' ) then 38 * count else 0 end ) )) as relevance FROM wp_aws_index WHERE 1=1 AND ( ( term LIKE '%lob%' ) ) AND visibility NOT IN ( 'hidden', 'catalog' )
And CPU usage as a reason of that spikes incredibly when AWS is activated and being used, so the site crashes. See screenshot: http://imageshack.com/a/img923/1349/YHo7P5.png
We have had the plugin installed for i think more than a year, and only recently started having these issues 11. february, 2021. We have about 5.500 indexed products, and have had a lot of products for a long time.
The page I need help with: [log in to see the link]
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Webshop crashes when doing search’ is closed to new replies.