this post was submitted on 20 Dec 2023
7 points (88.9% liked)

Nextcloud

442 readers
1 users here now

Community dedicated to Nextcloud

founded 1 year ago
MODERATORS
 

Okay i have a strange problem. Im running a nextcloud instance with linuxserver.io docker. And every night at 03:00 AM i get 100% load. And it disapears when i restart the docker.

I have entered docker shell when the high loads occurs and i see that the process is php /app/www/public/cron.php that is causing the high load.

Nothing i the logs shows errors and i have checked all settings. How can i continue the search of what making the high load?

I cant trigger the high load from anything else execpt waiting until 03:00 AM.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 6 points 11 months ago (4 children)

So without knowing much about you setup, I would say that there is a cronjob set to run in the background at 3am. You can enter the docker shell and check crontab and see what is scheduled to run. crontab -e to edit for the current user. crontab -l to check the list of configured tasks. Keep in mind that it is by user so any user may be the one with the cron configured, I suppose. It is also possible that the cron is set up on the docker host as well. So maybe try to check crontab on the host as well.

Hopefully, this is helpful. I am not an expert.

load more comments (3 replies)