Skip to content

22.2.1 is very slow #29678

Closed
Closed

Description

@DmDS

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

Activity

  1. added
    0. Needs triage
    on Nov 12, 2021
  2. jacotec commented on Nov 12, 2021

    @jacotec

    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

  3. added
    2. developing
    and removed
    0. Needs triage
    on Nov 12, 2021
  4. jacotec commented on Nov 12, 2021

    @jacotec

    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! ;-)

  5. JB1985 commented on Nov 12, 2021

    @JB1985

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

  6. szaimen commented on Nov 12, 2021

    @szaimen
    Contributor

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

  7. tdoerschel commented on Nov 12, 2021

    @tdoerschel

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

  8. nickvergessen commented on Nov 12, 2021

    @nickvergessen
    Member

    Patch forward is at #29682

  9. jacotec commented on Nov 12, 2021

    @jacotec

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

  10. nickvergessen commented on Nov 12, 2021

    @nickvergessen
    Member
  11. added
    4. to release
    and removed
    2. developing
    on Nov 12, 2021
  12. added this to the Nextcloud 22.2.2 milestone on Nov 12, 2021
  13. cwilby commented on Nov 12, 2021

    @cwilby

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    4. to releasebugregression

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions