Does anyone else remarked that the performances of a nethserver instance was severely impacted by NS 7.6 release ?
I was investigating today and it seems related to MySQL and Nextcloud. The system stays all the time under load with any real change in the way the server is used.
You see that the load suddenly augmented on Week 50 (when I upgraded to 7.6), and that when the users are coming back from holidays around week 02 the server beings to struggle to keep in pace.
The main load is nextcloud (10 users), and besides this there is only the mail and webmaill server.
The main CPU load is share by php-fm and mysql. There is some continuous disk activity too.
Stopping Apache stops almost all CPU & Disk activity.
Thanks @LayLow, nothing wrong in the logs. Indeed I use collabora (not only office). It is true that I installed it on 9/01/19. Could it be the culprit ?
Spoke too fast : removing your module and trying to install the new one somehow broke my nextcloud installation. Therefore the above graph is probably irrelevant. Investigating.
It looks like it is related to a bug that happens during nextcloud updates. The table oc_jobs, that contains all the periodic cron jobs that have to be run by the sql server every 15 minutes, was flooded by tons (-14000 in my case) of pointless jobs related to an obscure module used to hep discovering federated servers.
Since we don’t use federation currently, the fix was to delete all those jobs in the DB :
DELETE FROM `nextcloud`.`oc_jobs` WHERE `oc_jobs`.`class` LIKE 'OCA\\LookupServerConnector\\BackgroundJobs\\RetryJob';