Hi there!
Since I upgraded to nextcloud 11,
I 'm having some considerations about the nextcloud’s background cron job eating my server ressources. Heres the facts
I’m running nextcloud in a OVH VPS with 1 vcpu and 4GB of ram.
here’s what I see in supervision: > CPU consumption
Blue : dec 1rst,I switched the cron from ajax to crontab
Red: Dec 15th, Upgraded to nextcloud 11.
I have killed the process manually some times (as you can see on the previous graph)
but as this is recurrent, it need further analysis.
I’m not saying this is a bug, it could be a lot of things…
I need some advises for debugging, as I have no skill in PHP (yet).
Can you share with us more about your configuration, what apps are you using? External storage? Can you post the content of the nc_jobs-table? Any errors in your logfile?
Hi @tflidd,
An hour after posting, I’ve read that Nextant has an issue about php cron job in version 1.0.0.
As I use it, I disabled the app for now and I’ll see If the problem persist.
I suppose that nextant register it self (in the oc_jobs table probably) to the nextcloud cron job to be run once a day.
that would explain why the cron job uses 100% CPU only once a day in v10 while it is launched every 15 minutes by the crontab.
Otherwise, I haven’t seen any errors in the nextcloud’s logs that would refer to the cron job.
Hi, @guddl, thank you for your answer,
I keep the apps up to date and, in fact, nextant was already in 1.0.1 when a created this topic.
On the last few days, I have probed my server while nextant was deactivated and had no performance “issues”.
since yesterday, I have reactivated Nextant and observed the same performance issue today.
my conclusion is that the issue is not with nextcloud but with nextant, but, as I upgraded nextcloud & nextant the same day and didn’t kwown how the cron.php worked, i could figure it out.
So i’ll try to edit the topic for support with Nextant, or close it if I can’t.
Thank you for your support all!
Edit : in fact I’m using nextant 1.0.3 now and the problem is still here