Nextcloud version : 19.0.10
Operating system and version (eg, Ubuntu 20.04): Debian buster
Apache or nginx version (eg, Apache 2.4.25): nginx/1.14.2
PHP version (eg, 7.4): 7.3.27-1
The issue you are facing:
I have a largeish Netxcloud installation, which performs really slowly. I just installed Mariadb monitoring, and it is seeing between 2 and 5 thousand queries per second.
In order to help narrow down the problem, I installed an exact copy of the installation on a VM with 8 cores, 24GB RAM, and a fast SSD disk. This copy sees almost no user activity (only me). Scarily, it is seeing 10,000 queries per second!
I have redis and APCu (see config below).
I have a crob job running every 5 minutes to run php -f /data/nextcloud/html/cron.php
. But ps reveals there is only a single job running, which started 7 minutes ago.
Is this the first time you’ve seen this error? (Y/N): N
The output of your Nextcloud log in Admin > Logging:
There are no log entries since yesterday (when I took the Mariadb server down briefly for some tweaks).
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'passwordsalt' => 'removed',
'secret' => 'removed',
'trusted_domains' =>
array (
0 => 'localhost',
1 => 'removed',
),
'datadirectory' => '/data/nextcloud/ncdata',
'dbtype' => 'mysql',
'version' => '19.0.4.2',
'overwrite.cli.url' => 'http://localhost',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' => 'nextcloud',
'dbpassword' => 'removed',
'installed' => true,
'instanceid' => 'removed',
'activity_expire_days' => 1,
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => 'localhost',
'port' => 6379,
'timeout' => 1.5,
'password' => '',
),
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'memcache.local' => '\\OC\\Memcache\\APCu',
'mail_from_address' => 'ddat+cloud',
'mail_smtpmode' => 'smtp',
'mail_sendmailmode' => 'smtp',
'mail_domain' => 'removed',
'mail_smtphost' => '127.0.0.1',
'mail_smtpport' => '25',
'maintenance' => false,
'default_locale' => 'en-GB',
'default_language' => 'en-GB',
'loglevel' => 2,
'updater.release.channel' => 'stable',
'theme' => '',
);
The output of your Apache/nginx/system log in /var/log/____
:
I don’t seem to have a system log. The error log is empty. The access log shows every 30 seconds or so:
GET /ocs/v2.php/apps/notifications/api/v2/notifications