This is a huge site, 80,000 articles, so it already has its challenges.
============================
PHP Built OnLinux 4.19.0-26-cloud-amd64 #1 SMP Debian 4.19.304-1 (2024-01-09) x86_64
Database Typemysql
Database Version10.6.7-MariaDB
Database Collationutf8mb3_general_ci
Database Connection Collationutf8mb4_general_ci
PHP Version8.0.16
Web ServerApache/2.4.52 (Unix) OpenSSL/1.1.1n
WebServer to PHP Interfacefpm-fcgi
Joomla! VersionJoomla! 3.10.12 Stable [ Daraja ] 8-July-2023 15:18 GMT
============================
ISSUE:
We are periodically seeing a MariaDB query that runs that appears to be so memory-intensive that it requires MariaDB to create a bunch of temporary tables. It creates so many that the temporary tables fill the hard drive and the website crashes.
Line prior to the query: Sort aborted, host: localhost, user: root, thread: 1181,I think the rest of the query is cut off in the MariaDB log, but you get the idea.
Help!
============================
PHP Built OnLinux 4.19.0-26-cloud-amd64 #1 SMP Debian 4.19.304-1 (2024-01-09) x86_64
Database Typemysql
Database Version10.6.7-MariaDB
Database Collationutf8mb3_general_ci
Database Connection Collationutf8mb4_general_ci
PHP Version8.0.16
Web ServerApache/2.4.52 (Unix) OpenSSL/1.1.1n
WebServer to PHP Interfacefpm-fcgi
Joomla! VersionJoomla! 3.10.12 Stable [ Daraja ] 8-July-2023 15:18 GMT
============================
ISSUE:
We are periodically seeing a MariaDB query that runs that appears to be so memory-intensive that it requires MariaDB to create a bunch of temporary tables. It creates so many that the temporary tables fill the hard drive and the website crashes.
- I've already consulted Bitnami, the stack vendor we use, and they think it's a query related to some Joomla-specific function.
- I've disabled the third-party indexing component, so it's not them.
- This doesn't appear to be a CRON job; I already checked that list.
- The crashes occur at different times of the day, so we're at a loss as to how to track down the source.
Line prior to the query: Sort aborted, host: localhost, user: root, thread: 1181,
Code:
query: SELECT a.id, a.title, a.alias, a.introtext, a.fulltext, a.checked_out, a.checked_out_time, a.catid, a.created, a.created_by, a.created_by_alias, CASE WHEN c.published = 2 AND a.state > 0 THEN 2 WHEN c.published != 1 THEN 0 ELSE a.state END as state,CASE WHEN a.modified = '0000-00-00 00:00:00' THEN a.created ELSE a.modified END as modified, a.modified_by, uam.name as modified_by_name,CASE WHEN a.publish_up = '0000-00-00 00:00:00' THEN a.created ELSE a.publish_up END as publish_up,a.publish_down, a.images, a.urls, a.attribs, a.metadata, a.metakey, a.metadesc, a.access, a.hits, a.xreference, a.featured, a.language, LENGTH(a.fulltext) AS readmore, a.ordering,c.title AS category_title, c.path AS category_route, c.access AS category_access, c.alias AS category_alias,c.published, c.published AS parents_published, c.lft,CASE WHEN a.created_by_alias > ' ' THEN a.created_by_alias ELSE ua.name END AS author,ua.email AS author_email,parent.title as parent_
Help!
Statistics: Posted by Toolie — Sun Jun 09, 2024 5:58 pm