Hello,
I’m trying to understand why on the same hardware, same config (mariadb + redis) nextcloud is more slower than owncloud.
I’m using official docker image for both program.
Nextcloud version 21 and owncloud version 10.7
Regards,
Edouard
Hello,
I’m trying to understand why on the same hardware, same config (mariadb + redis) nextcloud is more slower than owncloud.
I’m using official docker image for both program.
Nextcloud version 21 and owncloud version 10.7
Regards,
Edouard
Slow in what way?
When owncloud take 2 sec to load a folder, nextcloud take 5 sec.
If you do not share more details or behaviour… I do not know how we are be able to help you
Share your config file, PHP version, php config… More comparing between NC and OC…
Hello,
I thinks my problem is related to cron job. I’ve move job to a real cron service (not ajax cron) speed is better now.
Please find simple sharing test (same server, same files)
Owncloud:
https://www.webpagetest.org/result/210410_BiDc53_d05bf8281d1d70deb8352e5c105dfaac/
Nextcloud:
https://www.webpagetest.org/result/210410_AiDcWN_9572dcff46b65dcd34827f6ad6d70d81/
Config for Owncloud
<?php
$CONFIG = array (
'apps_paths' =>
array (
0 =>
array (
'path' => '/var/www/owncloud/apps',
'url' => '/apps',
'writable' => false,
),
1 =>
array (
'path' => '/var/www/owncloud/custom',
'url' => '/custom',
'writable' => true,
),
),
'trusted_domains' =>
array (
0 => 'nas.kleinhans.info',
),
'datadirectory' => '/mnt/data/files',
'dbtype' => 'mysql',
'dbhost' => 'xxxxx',
'dbname' => 'xxxx',
'dbuser' => 'xxxx',
'dbpassword' => 'xxxx',
'dbtableprefix' => 'oc_',
'log_type' => 'owncloud',
'supportedDatabases' =>
array (
0 => 'sqlite',
1 => 'mysql',
2 => 'pgsql',
),
'upgrade.disable-web' => true,
'default_language' => 'fr',
'overwrite.cli.url' => 'https://nas.kleinhans.info/',
'htaccess.RewriteBase' => '/',
'logfile' => '/mnt/data/files/owncloud.log',
'loglevel' => 2,
'memcache.local' => '\\OC\\Memcache\\APCu',
'mysql.utf8mb4' => true,
'filelocking.enabled' => true,
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => 'xxxx',
'port' => '6379',
),
'passwordsalt' => 'xxxxx',
'secret' => 'xxxx',
'version' => '10.7.0.4',
'logtimezone' => 'UTC',
'installed' => true,
'instanceid' => 'xxxx',
);
Config for Nextcloud
<?php
$CONFIG = array (
'htaccess.RewriteBase' => '/',
'memcache.local' => '\\OC\\Memcache\\APCu',
'apps_paths' =>
array (
0 =>
array (
'path' => '/var/www/html/apps',
'url' => '/apps',
'writable' => false,
),
1 =>
array (
'path' => '/var/www/html/custom_apps',
'url' => '/custom_apps',
'writable' => true,
),
),
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => 'xxxxx',
'password' => '',
'port' => 6379,
),
'passwordsalt' => 'xxxx',
'secret' => 'xxxx',
'trusted_domains' =>
array (
0 => 'localhost',
1 => 'nas2.kleinhans.info',
),
'datadirectory' => '/var/www/html/data',
'dbtype' => 'mysql',
'version' => '20.0.9.1',
'overwrite.cli.url' => 'https://nas2.kleinhans.info',
'overwriteprotocol' => 'https',
'dbname' => 'nextcloud',
'dbhost' => 'xxxxxx',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'xxxxx',
'dbpassword' => 'XXXXX',
'installed' => true,
'instanceid' => 'XXXXX',
'loglevel' => 2,
'maintenance' => false,
);