Hi all!
I’ve just noticed, that my table oc_jobs has huge job values for some classes:
mysql> select count(id) as jobs, class from oc_jobs group by class order by jobs desc;
+-------+-----------------------------------------------------------------+
| jobs | class |
+-------+-----------------------------------------------------------------+
| 64017 | OCA\DAV\BackgroundJob\UploadCleanup |
| 17288 | OC\Command\CommandJob |
| 806 | OCA\QuotaWarning\Job\User |
| 799 | OCA\Maps\BackgroundJob\UserInstallScanJob |
| 790 | OCA\LookupServerConnector\BackgroundJobs\RetryJob |
| 730 | OCA\Settings\BackgroundJobs\VerifyUserData |
| 239 | OCA\FirstRunWizard\Notification\BackgroundJob |
| 155 | OC\Settings\BackgroundJobs\VerifyUserData |
| 45 | OCA\Mail\BackgroundJob\SyncJob |
| 45 | OCA\Mail\BackgroundJob\TrainImportanceClassifierJob |
| 8 | OCA\Maps\BackgroundJob\AddPhotoJob |
| 6 | OCA\DAV\BackgroundJob\RefreshWebcalJob |
| 3 | OCA\FederatedFileSharing\BackgroundJob\RetryJob |
| 1 | OCA\DAV\BackgroundJob\CleanupDirectLinksJob |
| 1 | OC\Core\BackgroundJobs\CleanupLoginFlowV2 |
| 1 | OCA\Passman\BackgroundJob\ExpireCredentials |
| 1 | OCA\DAV\BackgroundJob\CleanupInvitationTokenJob |
| 1 | OC\Log\Rotate |
| 1 | OCA\Passwords\Cron\BackupJob |
| 1 | OCA\DAV\BackgroundJob\EventReminderJob |
| 1 | OC\Preview\BackgroundCleanupJob |
| 1 | OCA\Passwords\Cron\CheckNightlyUpdates |
| 1 | OCA\Passwords\Cron\CheckPasswordsJob |
| 1 | OCA\DAV\BackgroundJob\UpdateCalendarResourcesRoomsBackgroundJob |
| 1 | OCA\Passwords\Cron\CleanUpSessions |
| 1 | OCA\Passwords\Cron\ProcessDeletedEntities |
| 1 | OCA\Deck\Cron\CardDescriptionActivity |
| 1 | OCA\Passwords\Cron\ProcessDeletedUsers |
| 1 | OCA\Deck\Cron\DeleteCron |
| 1 | OCA\Passwords\Cron\SendServerSurvey |
| 1 | OCA\Deck\Cron\ScheduledNotifications |
| 1 | OCA\Passwords\Cron\SynchronizeShares |
| 1 | OCA\PhoneTrack\Cron\AutoExport |
| 1 | OCA\Federation\SyncJob |
| 1 | OCA\Polls\Cron\NotificationCron |
| 1 | OCA\Files\BackgroundJob\CleanupDirectEditingTokens |
| 1 | OCA\Files\BackgroundJob\CleanupFileLocks |
| 1 | OCA\RansomwareDetection\BackgroundJob\CleanUpJob |
| 1 | OCA\Files\BackgroundJob\DeleteOrphanedItems |
| 1 | OCA\Richdocuments\Backgroundjobs\ObtainCapabilities |
| 1 | OCA\Files\BackgroundJob\ScanFiles |
| 1 | OCA\Files_Antivirus\BackgroundJob\BackgroundScanner |
| 1 | OCA\Support\BackgroundJobs\CheckSubscription |
| 1 | OCA\Files_Sharing\BackgroundJob\FederatedSharesDiscoverJob |
| 1 | OCA\Talk\BackgroundJob\CheckReferenceIdColumn |
| 1 | OCA\Files_Sharing\DeleteOrphanedSharesJob |
| 1 | OCA\Talk\BackgroundJob\ExpireSignalingMessage |
| 1 | OCA\Files_Sharing\ExpireSharesJob |
| 1 | OCA\Talk\BackgroundJob\RemoveEmptyRooms |
| 1 | OCA\Talk\BackgroundJob\ResetAssignedSignalingServer |
| 1 | OCA\Files_Trashbin\BackgroundJob\ExpireTrash |
| 1 | OCA\Text\Cron\Cleanup |
| 1 | OCA\Files_Versions\BackgroundJob\ExpireVersions |
| 1 | OCA\TwoFactorBackupCodes\BackgroundJob\CheckBackupCodes |
| 1 | OCA\Activity\BackgroundJob\EmailNotification |
| 1 | OCA\UpdateNotification\Notification\BackgroundJob |
| 1 | OCA\FullTextSearch\Cron\Index |
| 1 | OCA\Activity\BackgroundJob\ExpireActivities |
| 1 | OCA\UpdateNotification\ResetTokenBackgroundJob |
| 1 | OCA\GroupFolders\BackgroundJob\ExpireGroupVersions |
| 1 | OCA\AdminAudit\BackgroundJobs\Rotate |
| 1 | OCA\User_LDAP\Jobs\CleanUp |
| 1 | OCA\Analytics\BackgroundJob\Daily |
| 1 | OCA\User_LDAP\Jobs\Sync |
| 1 | OCA\Analytics\BackgroundJob\Hourly |
| 1 | OCA\User_LDAP\Jobs\UpdateGroups |
| 1 | OCA\Bookmarks\BackgroundJobs\CrawlJob |
| 1 | OCA\WorkflowEngine\BackgroundJobs\Rotate |
| 1 | OCA\Bookmarks\BackgroundJobs\PreviewsJob |
| 1 | OC\Authentication\Token\DefaultTokenCleanupJob |
| 1 | OCA\Maps\BackgroundJob\LookupMissingGeoJob |
| 1 | OCA\Circles\Cron\ContactsExistingShares |
| 1 | OC\BackgroundJob\Legacy\RegularJob |
| 1 | OCA\ContactsInteraction\BackgroundJob\CleanupJob |
| 1 | OCA\News\Cron\Updater |
| 1 | OCA\Contacts\Cron\SocialUpdateRegistration |
| 1 | OC\Core\BackgroundJobs\BackgroundCleanupUpdaterBackupsJob |
| 1 | OCA\NextcloudAnnouncements\Cron\Crawler |
+-------+-----------------------------------------------------------------+
78 rows in set (0.14 sec)
Cron.php is running in while loop, average time is 5min
The question is: are such values ok or not? If not, what should I do?