Hi all. I have the nextcloud-server 29 + apache2.6 + php8.2 + mariadb.
With virtual disk 300G opening file structure is very slow (5 minutes) on https access. May be who know why its happening?
Virtual server - debian 12 (cpu 8 cores, RAM 16G)
I would look at nextcloud.log first, the the php-slow log.
You didn’t provide much context. You tagged this with update_problems
. Does that mean this problem started immediately after an update of some sort? Or is this a new installation?
Anyhow, post your config for starters (occ config:list system
) and try to get some high level view of where the resource usage is - e.g. check the output of top
/ htop
- so you know where to perhaps focus your efforts.
Does it happen on all folders or only certain folders? etc.
Hi!
that’s config of nextcloud
{
"system": {
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"snc5.local"
],
"maintenance_window_start": 1,
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "29.0.7.1",
"overwrite.cli.url": "http:\/\/snc5.local",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"maintenance": false,
"default_phone_region": "RU",
"filelocking.enabled": true,
"memcache.locking": "\\OC\\Memcache\\Memcached",
"memcache.local": "\\OC\\Memcache\\Memcached",
"memcache.distributed": "\\OC\\Memcache\\Memcached",
"memcached_servers": [
[
"127.0.0.1",
11211
]
],
"loglevel": 3
when using access by https I see that:
Can you answer my other query: You tagged this with update_problems
. Does that mean this problem started immediately after an update of some sort? Or is this a new installation?
Virtual server - debian 12 (cpu 8 cores, RAM 16G)
Also, what changes have you made to your Apache or MariaDB configuration?
And is anything else running in this VM?
Swap is much slower than RAM. Either up your RAM or get down your memory usage (e.g. optimize memory settings, use less parallel processes, reduce resource-hungry apps).
On VM working only nextcloud. Im added memory to 24G, in /etc/php/8.30/apache2/php/ini Im wrote memory_limit = 16G.
But by https-acces its still loading. (RAM used to 2,84 G)
may be it because I copyed data (210G) from old server to this, But i did
sudo -u www-data php occ files:scan --all
210G of data includes about 200k of catalogs.
Perhaps should you track network errors on debug panel on your browser ( F12 button) .
You should be able what it is waiting for …