Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

22.2.1 is very slow #29678

Closed
DmDS opened this issue Nov 12, 2021 · 9 comments · Fixed by #29682
Closed

22.2.1 is very slow #29678

DmDS opened this issue Nov 12, 2021 · 9 comments · Fixed by #29682
Labels
4. to release Ready to be released and/or waiting for tests to finish bug regression

Comments

@DmDS
Copy link

DmDS commented Nov 12, 2021

after upgrading to 22.2.1, nextcloud is very slow. after opening the page, everything is fine. after 1-2 minutes (possibly inactivity), the load on the web server increases greatly during rendering (I tried apache and nginx. php 7.4 and 8.0. and installed nextcloud from scratch). the site loads very slowly. if you log out of the account and log in again or restart the browser, it starts working fine, but after 1-2 minutes everything slows down again.
on a test machine with one user, this is still fast enough. in the working environment, it slows down much more.

gif

Запись_2021_11_12_14_24_27_953


Solution

Fix: #29682
Patch: https://patch-diff.githubusercontent.com/raw/nextcloud/server/pull/29682.patch
Patch instructions: https://docs.nextcloud.com/server/latest/admin_manual/issues/applying_patch.html

@DmDS DmDS added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Nov 12, 2021
@jacotec
Copy link

jacotec commented Nov 12, 2021

I copy this! Updated by "test cloud" and the "felt performance" dropped by around factor 10! Switching to a different app in the menu takes around 5 or more seconds, while it was "immediately" before.

I also see that with every action two php-fpm processes are spawning, each taking around 50% of a CPU core (my VM has 12 vCPU) which does not happen in 22.2.0.

I've rolled back the snapshot and I'm currently retesting. But for now I explicitely warn anyone from upgrading to 22.2.1 in production environments!

PHP: 7.4.25
Apache using php-fpm7.4

@szaimen szaimen added 2. developing Work in progress and removed 0. Needs triage Pending check for reproducibility or if it fits our roadmap labels Nov 12, 2021
@jacotec
Copy link

jacotec commented Nov 12, 2021

Confirmed on a second instance!

Some time measurements to compare on the instance before and after the upgrade (from clicking until all page elements have been loaded):

Changing from files view to the room overview of BigBlueButton:
22.2.0: 1,4 sec / 22.2.1: 16,7 sec

Back to the file view:
22.2.0: 3.2 sec / 22.2.1: 27,3 sec

To calendar view:
22.2.0: 3,8 sec / 22.2.1: 30,2 sec

@szaimen Pulling back immediately the 22.2.1 release is a wise decision! ;-)

@JB1985
Copy link

JB1985 commented Nov 12, 2021

Are there any problems with 21.0.6? Can anybody confirm this?

@szaimen
Copy link
Contributor

szaimen commented Nov 12, 2021

21.0.6 should work fine as #29380 wasn't merged yet

@tdoerschel
Copy link

I can confirm this on apache 2.4.51 and PHP 8.0-FPM

@nickvergessen
Copy link
Member

nickvergessen commented Nov 12, 2021

Patch forward is at #29682

@jacotec
Copy link

jacotec commented Nov 12, 2021

@nickvergessen Will there be a bugfix release (22.2.2) in short term, or what is the plan?

@nickvergessen
Copy link
Member

Not my department sorry, but you can apply the patch manually for now:
https://docs.nextcloud.com/server/latest/admin_manual/issues/applying_patch.html#getting-a-patch-from-a-github-pull-request

@cwilby
Copy link

cwilby commented Nov 12, 2021

This was some fast work 😐

Nice work all

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish bug regression
Projects
None yet
9 participants