You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From time to time Nextcloud becomes unavailable with a 502 - Bad Gateway error and the load is between 10 - 15.
I checked the processlist of MariaDB/MySQL and there seem to be a lot of queries going on for many hours:
MySQL processlist
+--------+--------------+-----------+--------------+---------+------+----------------+------------------------------------------------------------------------------------------------------+----------+
| Id | User | Host | db | Command | Time | State | Info | Progress |
+--------+--------------+-----------+--------------+---------+------+----------------+------------------------------------------------------------------------------------------------------+----------+
| 324404 | <REMOVED> | localhost | <REMOVED> | Query | 187 | Sorting result | SELECT `f`.* FROM `oc_filecache` `f` WHERE (`f`.`storage` IN (1, 23, 1, 8, 1, 1, 30)) AND ((`f`.`mim | 0.000 |
| 326496 | <REMOVED> | localhost | <REMOVED> | Query | 200 | Sorting result | SELECT `f`.* FROM `oc_filecache` `f` WHERE (`f`.`storage` IN (1, 23, 1, 8, 1, 1, 30)) AND ((`f`.`mim | 0.000 |
| 334566 | <REMOVED> | localhost | <REMOVED> | Query | 99 | Sorting result | SELECT `f`.* FROM `oc_filecache` `f` WHERE (`f`.`storage` IN (1, 165)) AND ((`f`.`mimetype` <> 2) OR | 0.000 |
| 334646 | <REMOVED> | localhost | <REMOVED> | Query | 99 | Sorting result | SELECT `f`.* FROM `oc_filecache` `f` WHERE (`f`.`storage` IN (1, 165)) AND ((`f`.`mimetype` <> 2) OR | 0.000 |
| 334847 | <REMOVED> | localhost | <REMOVED> | Query | 67 | Sorting result | SELECT `f`.* FROM `oc_filecache` `f` WHERE (`f`.`storage` IN (1, 20, 1, 1, 55)) AND ((`f`.`mimetype` | 0.000 |
| 339223 | <REMOVED> | localhost | <REMOVED> | Query | 53 | Sorting result | SELECT `f`.* FROM `oc_filecache` `f` WHERE (`f`.`storage` IN (1, 88)) AND ((`f`.`mimetype` <> 2) OR | 0.000 |
| 341354 | <REMOVED> | localhost | <REMOVED> | Query | 20 | Sorting result | SELECT `f`.* FROM `oc_filecache` `f` WHERE (`f`.`storage` IN (20, 1, 8, 1, 1, 61)) AND ((`f`.`mimety | 0.000 |
| 341418 | <REMOVED> | localhost | <REMOVED> | Query | 51 | Sorting result | SELECT `f`.* FROM `oc_filecache` `f` WHERE (`f`.`storage` IN (20, 1, 8, 1, 1, 61)) AND ((`f`.`mimety | 0.000 |
| 341527 | <REMOVED> | localhost | <REMOVED> | Query | 51 | Sorting result | SELECT `f`.* FROM `oc_filecache` `f` WHERE (`f`.`storage` IN (20, 1, 8, 1, 1, 61)) AND ((`f`.`mimety | 0.000 |
| 341617 | <REMOVED> | localhost | <REMOVED> | Query | 20 | Sorting result | SELECT `f`.* FROM `oc_filecache` `f` WHERE (`f`.`storage` IN (20, 1, 8, 1, 1, 61)) AND ((`f`.`mimety | 0.000 |
| 341643 | <REMOVED> | localhost | <REMOVED> | Query | 20 | Sorting result | SELECT `f`.* FROM `oc_filecache` `f` WHERE (`f`.`storage` IN (20, 1, 8, 1, 1, 61)) AND ((`f`.`mimety | 0.000 |
| 341685 | <REMOVED> | localhost | <REMOVED> | Query | 20 | Sorting result | SELECT `f`.* FROM `oc_filecache` `f` WHERE (`f`.`storage` IN (20, 1, 8, 1, 1, 61)) AND ((`f`.`mimety | 0.000 |
| 341714 | <REMOVED> | localhost | <REMOVED> | Query | 54 | Sorting result | SELECT `f`.* FROM `oc_filecache` `f` WHERE (`f`.`storage` IN (20, 1, 8, 1, 1, 61)) AND ((`f`.`mimety | 0.000 |
| 341730 | <REMOVED> | localhost | <REMOVED> | Query | 20 | Sorting result | SELECT `f`.* FROM `oc_filecache` `f` WHERE (`f`.`storage` IN (20, 1, 8, 1, 1, 61)) AND ((`f`.`mimety | 0.000 |
| 341835 | <REMOVED> | localhost | <REMOVED> | Query | 20 | Sorting result | SELECT `f`.* FROM `oc_filecache` `f` WHERE (`f`.`storage` IN (20, 1, 8, 1, 1, 61)) AND ((`f`.`mimety | 0.000 |
| 341875 | <REMOVED> | localhost | <REMOVED> | Query | 51 | Sorting result | SELECT `f`.* FROM `oc_filecache` `f` WHERE (`f`.`storage` IN (20, 1, 8, 1, 1, 61)) AND ((`f`.`mimety | 0.000 |
| 341938 | <REMOVED> | localhost | <REMOVED> | Query | 20 | Sorting result | SELECT `f`.* FROM `oc_filecache` `f` WHERE (`f`.`storage` IN (20, 1, 8, 1, 1, 61)) AND ((`f`.`mimety | 0.000 |
| 342183 | <REMOVED> | localhost | <REMOVED> | Query | 20 | Sorting result | SELECT `f`.* FROM `oc_filecache` `f` WHERE (`f`.`storage` IN (20, 1, 8, 1, 1, 61)) AND ((`f`.`mimety | 0.000 |
| 343104 | <REMOVED> | localhost | <REMOVED> | Query | 204 | Sorting result | SELECT `f`.* FROM `oc_filecache` `f` WHERE (`f`.`storage` IN (1, 8, 1, 1, 224)) AND ((`f`.`mimetype` | 0.000 |
| 343386 | <REMOVED> | localhost | <REMOVED> | Query | 20 | Sorting result | SELECT `f`.* FROM `oc_filecache` `f` WHERE (`f`.`storage` IN (20, 1, 8, 1, 1, 61)) AND ((`f`.`mimety | 0.000 |
Server configuration
Operating system:
Debian 9.9 Web server:
Nginx Database:
MariaDB 10.1 PHP version:
7.2 Nextcloud version: (see Nextcloud admin page)
16.0.1 Updated from an older Nextcloud/ownCloud or fresh install:
Updated from 13.0.4 Where did you install Nextcloud from:
Website
Are you using external storage, if yes which one: local/smb/sftp/...
no Are you using encryption: yes/no
yes Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
no
Logs
Nothing interesting in the logs.
The text was updated successfully, but these errors were encountered:
Steps to reproduce
Expected behaviour
Load should be normal and no 502 error
Actual behaviour
From time to time Nextcloud becomes unavailable with a 502 - Bad Gateway error and the load is between 10 - 15.
I checked the processlist of MariaDB/MySQL and there seem to be a lot of queries going on for many hours:
MySQL processlist
Operating system:
Debian 9.9
Web server:
Nginx
Database:
MariaDB 10.1
PHP version:
7.2
Nextcloud version: (see Nextcloud admin page)
16.0.1
Updated from an older Nextcloud/ownCloud or fresh install:
Updated from 13.0.4
Where did you install Nextcloud from:
Website
List of activated apps:
App list
Nextcloud configuration:
Config report
Are you using external storage, if yes which one: local/smb/sftp/...
no
Are you using encryption: yes/no
yes
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
no
Logs
Nothing interesting in the logs.
The text was updated successfully, but these errors were encountered: