Elevato consumo delle risorse del server da parte del tuo account
-
Salve a tutti,
ho un dominio [link sotto] su siteground
Dentro essenzialmente ci sono pochi plugin e woocommerce installato con al massimo 6-7 prodotti e qualche pagina informativa oltre la home.Il sito non è più accessibile
Ho aperto un ticket su siteground e la risposta è stata
“CAUSA DEL CONSUMO ELEVATO DI RISORSE:
Abbiamo svolto uno studio approfondito e abbiamo scoperto che WordPress esegue query lente in direzione del suo database, che infine monopolizzano il server. Il server tenta di eseguire le query lente mettendo altri processi in coda fino a quando viene liberata un po’ di memoria. Tuttavia, mentre sono in attesa, i processi si accumulano e causano ulteriori problemi. I motivi per query lente nel database possono essere molteplici, ma i seguenti tre sono i più comuni:”
E continua ancora:
Ecco alcune delle query di database che sono lente e consumano molte risorse del server:
=== Databases Info =========================================================================
Database Label Tables Views InnoDB MyISAM Slow Queries Slowest Query DB Size
————– ————- —— —– —— —— ———— ————- ——-
dbbqkxtgr564py meditashop.it 45 0 45 0 2293 9.538 52.5 MB
——————————————————————————————–=== TOP 10 of 2293 (total) Slow Queries for the past 24 hours ====================================================
1. Executed 9h 54m 51s ago for 17.010839 sec on Database –> dbbqkxtgr564py
Date: 2020-04-10 08:24:21 Query_time: 17.010839 Rows_examined: 1: Rows_sent 0 Lock_time: 0.000209 Query_chars: 415
UPDATE usc_packlink_entity SET type = ‘Configuration’, index_1 = ‘taskRunnerStatus’, index_2 = ‘1’, index_3 = NULL, index_4 = NULL, index_5 = NULL, index_6 = NULL, index_7 = NULL, data = ‘{\”class_name\”:\”Logeecom\\\\Infrastructure\\\\Configuration\\\\ConfigEntity\”,\”id\”:\”1\”,\”name\”:\”taskRunnerStatus\”,\”value\”:{\”guid\”:\”\”,\”timestamp\”:null},\”systemId\”:\”1\”}’ WHERE id = ‘1’;
——————————————————————————————————————-
2. Executed 9h 54m 51s ago for 15.057252 sec on Database –> dbbqkxtgr564py
Date: 2020-04-10 08:24:21 Query_time: 15.057252 Rows_examined: 385: Rows_sent 385 Lock_time: 0.050277 Query_chars: 74
SELECT option_name, option_value FROM usc_options WHERE autoload = ‘yes’;
——————————————————————————————————————-
3. Executed 9h 54m 51s ago for 12.268459 sec on Database –> dbbqkxtgr564py
Date: 2020-04-10 08:24:21 Query_time: 12.268459 Rows_examined: 385: Rows_sent 385 Lock_time: 0.050340 Query_chars: 74
SELECT option_name, option_value FROM usc_options WHERE autoload = ‘yes’;
——————————————————————————————————————-
4. Executed 2h 33m 48s ago for 10.020625 sec on Database –> dbbqkxtgr564py
Date: 2020-04-10 15:45:24 Query_time: 10.020625 Rows_examined: 0: Rows_sent 0 Lock_time: 0.071572 Query_chars: 101
SELECT option_value FROM usc_options WHERE option_name = ‘wc_connect_debug_logging_enabled’ LIMIT 1;
——————————————————————————————————————-
5. Executed 8h 12m 53s ago for 9.538467 sec on Database –> dbbqkxtgr564py
Date: 2020-04-10 10:06:19 Query_time: 9.538467 Rows_examined: 0: Rows_sent 0 Lock_time: 0.000098 Query_chars: 101
SELECT option_value FROM usc_options WHERE option_name = ‘_transient_et_builder_ajax_cache’ LIMIT 1;
——————————————————————————————————————-
6. Executed 8h 12m 53s ago for 9.528367 sec on Database –> dbbqkxtgr564py
Date: 2020-04-10 10:06:19 Query_time: 9.528367 Rows_examined: 0: Rows_sent 0 Lock_time: 0.012888 Query_chars: 104
SELECT option_value FROM usc_options WHERE option_name = ‘jetpack_edit_links_calypso_redirect’ LIMIT 1;
——————————————————————————————————————-
7. Executed 4h 34m 47s ago for 9.108485 sec on Database –> dbbqkxtgr564py
Date: 2020-04-10 13:44:25 Query_time: 9.108485 Rows_examined: 1: Rows_sent 1 Lock_time: 0.050165 Query_chars: 95
SELECT option_value FROM usc_options WHERE option_name = ‘_transient_et_core_version’ LIMIT 1;
——————————————————————————————————————-
8. Executed 7h 8m 5s ago for 7.904073 sec on Database –> dbbqkxtgr564py
Date: 2020-04-10 11:11:07 Query_time: 7.904073 Rows_examined: 362: Rows_sent 181 Lock_time: 0.006090 Query_chars: 214
SELECT usc_posts.* FROM usc_posts WHERE 1=1 AND usc_posts.post_parent = 16 AND usc_posts.post_type = ‘revision’ AND ((usc_posts.post_status = ‘inherit’)) ORDER BY usc_posts.post_date DESC, usc_posts.ID DESC;
——————————————————————————————————————-
9. Executed 7h 3m 57s ago for 7.156883 sec on Database –> dbbqkxtgr564py
Date: 2020-04-10 11:15:15 Query_time: 7.156883 Rows_examined: 362: Rows_sent 181 Lock_time: 0.043920 Query_chars: 214
SELECT usc_posts.* FROM usc_posts WHERE 1=1 AND usc_posts.post_parent = 16 AND usc_posts.post_type = ‘revision’ AND ((usc_posts.post_status = ‘inherit’)) ORDER BY usc_posts.post_date DESC, usc_posts.ID DESC;
——————————————————————————————————————-
10. Executed 4h 30m 7s ago for 6.986377 sec on Database –> dbbqkxtgr564py
Date: 2020-04-10 13:49:05 Query_time: 6.986377 Rows_examined: 0: Rows_sent 0 Lock_time: 0.031671 Query_chars: 101
SELECT option_value FROM usc_options WHERE option_name = ‘wc_connect_debug_logging_enabled’ LIMIT 1;
——————————————————————————————————————-=== Top 3 Similar SQL Queries and their query time =================================================================
Executed: 1814 time for minumum: 1.002449 sec, maximum: 9.538467 sec
SELECT option_value FROM usc_options WHERE option_name = ‘_transient_et_builder_ajax_cache’ LIMIT 1;
——————————————————————————————————————-
Executed: 184 time for minumum: 1.015242 sec, maximum: 6.586253 sec
SELECT * FROM usc_packlink_entity WHERE type = ‘Configuration’ AND ( index_1 = ‘taskRunnerStatus’ AND index_2 = ‘1’) LIMIT 0, 1;
——————————————————————————————————————-
Executed: 70 time for minumum: 1.052578 sec, maximum: 4.332906 sec
SELECT post_id, meta_key, meta_value FROM usc_postmeta WHERE post_id IN (150) ORDER BY meta_id ASC;
——————————————————————————————————————-Dalle query precedenti possiamo concludere che il tuo problema è causato da un script non ben compilati.
Come posso procedere?
Cosa va fatto?Grazie mille
Giovanni
aggiornamento
dovresti contattare uno sviluppatore professionista per controllare le query lente generate dal tuo database come specificato dal mio collega nella risposta precedente perché questo va oltre lo scopo del nostro supporto.La pagina su cui ho bisogno di aiuto: [devi essere connesso per vedere il link]
- Il topic ‘Elevato consumo delle risorse del server da parte del tuo account’ è chiuso a nuove risposte.