php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #78585 High CPU usage while syncing Nextcloud apps from phone
Submitted: 2019-09-22 20:43 UTC Modified: 2019-09-30 19:58 UTC
From: uozl3xwtrc25ri4u at mailban dot de Assigned:
Status: Closed Package: FPM related
PHP Version: 7.3.9 OS: Arch Linux ARM
Private report: No CVE-ID: None
 [2019-09-22 20:43 UTC] uozl3xwtrc25ri4u at mailban dot de
Description:
------------
-Phone with Nextcloud News app
-Raspberry Pi 3 Model B with Nextcloud, MariaDB, Lighttpd, php – all up to date
-php-fpm version: 7.3.9 and 7.3.8

php-fpm 7.3.7 and earlier worked fine. Bug occurs on versions 7.3.8 and 7.3.9 only.
Syncing with other apps brings up the same behavior. Nextcloud web access via browser seems normal.


I initiate the syncing of the news app with my Nextcloud via http.

Expected result:
----------------
Syncing takes 1-2 seconds. 1-3 threads utilize 10-20% CPU.

Actual result:
--------------
Syncing takes ca. 10-12 seconds. 1-3 threads utilize 50-100% CPU, at least one close to 100% in that time. 

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-09-22 21:44 UTC] cmb@php.net
Did you already get in touch with the Nextcloud developers?  They
may have some idea what's causing the performance regression.
 [2019-09-23 18:55 UTC] uozl3xwtrc25ri4u at mailban dot de
I just opened an issue. I will update you on any relevant info.
https://github.com/nextcloud/server/issues/17241
 [2019-09-30 19:58 UTC] uozl3xwtrc25ri4u at mailban dot de
-Status: Open +Status: Closed
 [2019-09-30 19:58 UTC] uozl3xwtrc25ri4u at mailban dot de
I have no idea what fixed it, but now it's working as expected.
Thanks for the time. Closing...
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Fri Oct 18 11:01:27 2019 UTC