I have a NC 28.0.12 instance (→ without the Recognitize
app) running bare metal on a home server (NUC, i7 mobile processor, plenty of RAM, local NVMe storage). All day it is quiet, even when accessed heavily.
Yet, every night, its fan suddenly is on full speed, for approx. 40 minutes. Every night, no matter whether files were changed or not during that day. Then, ps ax
yields php -f …/cron.php
. Using lsof -p PID
, I see that it had …/__groupfolders/versions/NUMBER
open.
Questions:
- Are there better ways to see which tasks
cron.php
performs, and how long they take? - Are 40 minutes a reasonable time for the daily cron for a system such as the following figures depict?
occ versions:cleanup
(for 121 users) only takes a few seconds
occ groupfolders:scan --all
takes 2 minutes
+----+------------+-------+----------+
| Id | Groups | Size | Adv.Perm |
+----+------------+-------+-----------
| 2 | 1: r/w/s/d | 7 GB | Disabled |
| 6 | 2: r/w/s/d | 4 GB | Enabled |
| | 1: r/w/s/d | | |
| 10 | 3: r/w/s/d | 13 GB | Disabled |
| | 1: r/-/-/- | | |
| | 6: r/w/s/d | | |
| 12 | 5: r/w/s/d | 20 GB | Enabled |
| 13 | 1: r/w/s/d | 16 GB | Enabled |
| 20 | 1: r/w/s/d | 20 GB | Disabled |
+----+------------+-------+----------+
occ files:scan --all
takes 5 minutes
+---------+--------+-----+---------+---------+--------+--------------+
| Folders | Files | New | Updated | Removed | Errors | Elapsed time |
+---------+--------+-----+---------+---------+--------+--------------+
| 38000 | 250000 | 0 | 480000 | 0 | 0 | 00:05:00 |
+---------+--------+-----+---------+---------+--------+--------------+
I also don’t quite understand what the “Updated” figure means here: More updates than files?