[Bug]: php-fpm eats all cpus executing select from oc_schedulingobjects #39758
Labels
0. Needs triage
Pending check for reproducibility or if it fits our roadmap
27-feedback
bug
feature: caldav
Related to CalDAV internals
needs info
stale
Ticket or PR with no recent activity
Bug description
pgtop shows
apachetop shows ~7-8 req/sec most of them are not about calendar
Steps to reproduce
On my installation with ~500 users and 20-30 shared calendars (some of them shared for all) you need just wait for some time. For me it does not look like nextcloud is highly loaded, it looks like some infinite loops execute sql.
oc_schedulingobjects contains more than 1 000 000 records.
Expected behavior
Do not eat all cpu cores on less than 10 http requests per second
Installation method
Other Community project
Nextcloud Server version
27
Operating system
Other
PHP engine version
PHP 8.1
Web server
Apache (supported)
Database engine version
PostgreSQL
Is this bug present after an update or on a fresh install?
Upgraded to a MAJOR version (ex. 22 to 23)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
Nextcloud intallation from ArchLinux repos
The text was updated successfully, but these errors were encountered: