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

[NC21] Extensive memory usage by cron.php and occ causes server to crash #26530

Closed
Jan-NiklasB opened this issue Apr 12, 2021 · 10 comments
Closed
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug

Comments

@Jan-NiklasB
Copy link

Jan-NiklasB commented Apr 12, 2021

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce

  1. Update to NC 21.0.1
  2. wait few minutes (took about 30 min. at first, now within 5min after reboot)

Expected behaviour

Nothing, server should run perfectly fine as before upgrade to 21.0.1

Actual behaviour

Server crashes after few minutes by exhausted memory and swap (7.2 GB / 7.5 GB) when running, and also if issuing occ command

Server configuration detail

Operating system: Linux 5.10.0-2-amd64 #1 SMP Debian 5.10.9-1 (2021-01-20) x86_64

Webserver: Apache/2.4.46 (Debian) (apache2handler)

Database: mysql 10.5.8

PHP version: 7.4.14

Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, session, standard, sodium, apache2handler, mysqlnd, PDO, xml, apcu, bcmath, bz2, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, gmp, iconv, imagick, intl, json, exif, mysqli, pdo_mysql, apc, posix, readline, shmop, SimpleXML, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlwriter, xsl, zip, Phar, Zend OPcache

Nextcloud version: 21.0.1 - 21.0.1.1

Updated from an older Nextcloud/ownCloud or fresh install: update from 20.0.8

Where did you install Nextcloud from: webiste

Signing status

Array
(
)

List of activated apps
Enabled:
 - accessibility: 1.7.0
 - activity: 2.14.3
 - admin_audit: 1.11.0
 - bruteforcesettings: 2.1.0
 - calendar: 2.2.0
 - checksum: 1.1.2
 - cloud_federation_api: 1.4.0
 - comments: 1.11.0
 - contacts: 3.5.1
 - contactsinteraction: 1.2.0
 - dashboard: 7.1.0
 - dav: 1.17.1
 - deck: 1.3.2
 - federatedfilesharing: 1.11.0
 - federation: 1.11.0
 - files: 1.16.0
 - files_accesscontrol: 1.11.0
 - files_mindmap: 0.0.24
 - files_pdfviewer: 2.1.0
 - files_rightclick: 1.0.0
 - files_sharing: 1.13.1
 - files_trackdownloads: 1.10.0
 - files_trashbin: 1.11.0
 - files_versions: 1.14.0
 - files_videoplayer: 1.10.0
 - firstrunwizard: 2.10.0
 - guests: 2.0.0
 - logreader: 2.6.0
 - lookup_server_connector: 1.9.0
 - metadata: 0.13.0
 - nextcloud_announcements: 1.10.0
 - notes: 4.0.4
 - notifications: 2.9.0
 - oauth2: 1.9.0
 - password_policy: 1.11.0
 - photos: 1.3.0
 - polls: 1.8.1
 - privacy: 1.5.0
 - provisioning_api: 1.11.0
 - recommendations: 1.0.0
 - serverinfo: 1.11.0
 - settings: 1.3.0
 - sharebymail: 1.11.0
 - support: 1.4.0
 - survey_client: 1.9.0
 - systemtags: 1.11.0
 - tasks: 0.13.6
 - text: 3.2.0
 - theming: 1.12.0
 - twofactor_backupcodes: 1.10.0
 - twofactor_totp: 6.0.0
 - updatenotification: 1.11.0
 - user_status: 1.1.1
 - viewer: 1.5.0
 - weather_status: 1.1.0
 - workflowengine: 2.3.0
Disabled:
 - cospend
 - encryption
 - files_antivirus
 - files_automatedtagging
 - files_downloadactivity
 - files_external
 - flowupload
 - groupfolders
 - mail_official
 - previewgenerator
 - printer
 - ransomware_detection
 - richdocuments
 - twofactor_admin
 - twofactor_email
 - twofactor_gateway
 - user_ldap
 - w2g2

Configuration (config/config.php)
{
    "instanceid": "***REMOVED SENSITIVE VALUE***",
    "passwordsalt": "***REMOVED SENSITIVE VALUE***",
    "secret": "***REMOVED SENSITIVE VALUE***",
    "trusted_domains": [
        "127.0.0.1",
        "192.168.13.162",
        "nxc.bogatka.org"
    ],
    "datadirectory": "***REMOVED SENSITIVE VALUE***",
    "dbtype": "mysql",
    "version": "21.0.1.1",
    "overwrite.cli.url": "http:\/\/127.0.0.1\/nextcloud",
    "dbname": "***REMOVED SENSITIVE VALUE***",
    "dbhost": "***REMOVED SENSITIVE VALUE***",
    "dbport": "",
    "dbtableprefix": "oc_",
    "mysql.utf8mb4": true,
    "dbuser": "***REMOVED SENSITIVE VALUE***",
    "dbpassword": "***REMOVED SENSITIVE VALUE***",
    "installed": true,
    "memcache.local": "\\OC\\Memcache\\APCu",
    "default_language": "de",
    "default_locale": "de_DE",
    "mail_smtpmode": "smtp",
    "mail_smtpsecure": "tls",
    "mail_sendmailmode": "smtp",
    "mail_from_address": "***REMOVED SENSITIVE VALUE***",
    "mail_domain": "***REMOVED SENSITIVE VALUE***",
    "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpport": "587",
    "maintenance": false,
    "theme": "",
    "loglevel": 0,
    "logdateformat": "F d, Y H:i:s",
    "mail_smtpauthtype": "LOGIN",
    "mail_smtpauth": 1,
    "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
    "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
    "twofactor_enforced": "false",
    "twofactor_enforced_groups": [
        "AkEzHK"
    ],
    "twofactor_enforced_excluded_groups": [],
    "updater.secret": "***REMOVED SENSITIVE VALUE***"
}

External storages: files_external is disabled

Encryption: no

User-backends:

  • OC\User\Database
  • OCA\Guests\UserBackend

Browser: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0

Operating system:
Debian 11 & Linux Mint 20.1

Logs

Web server error log

Web server error log
[Mon Apr 12 00:00:02.836558 2021] [mpm_prefork:notice] [pid 933] AH00163: Apache/2.4.46 (Debian) OpenSSL/1.1.1i configured -- resuming normal operations
[Mon Apr 12 00:00:02.836577 2021] [core:notice] [pid 933] AH00094: Command line: '/usr/sbin/apache2'
[Mon Apr 12 10:28:30.066581 2021] [autoindex:error] [pid 26853] [client 92.118.160.37:32768] AH01276: Cannot serve directory /var/www/updater/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive
[Mon Apr 12 11:53:12.544814 2021] [mpm_prefork:notice] [pid 933] AH00171: Graceful restart requested, doing restart
[Mon Apr 12 11:53:12.644028 2021] [mpm_prefork:notice] [pid 933] AH00163: Apache/2.4.46 (Debian) OpenSSL/1.1.1i configured -- resuming normal operations
[Mon Apr 12 11:53:12.644038 2021] [core:notice] [pid 933] AH00094: Command line: '/usr/sbin/apache2'
[Mon Apr 12 11:53:29.879416 2021] [mpm_prefork:notice] [pid 933] AH00171: Graceful restart requested, doing restart
[Mon Apr 12 11:53:29.935301 2021] [mpm_prefork:notice] [pid 933] AH00163: Apache/2.4.46 (Debian) OpenSSL/1.1.1i configured -- resuming normal operations
[Mon Apr 12 11:53:29.935322 2021] [core:notice] [pid 933] AH00094: Command line: '/usr/sbin/apache2'
[Mon Apr 12 15:26:31.771026 2021] [php7:error] [pid 85530] [client 167.71.13.196:38988] script '/var/www/html/info.php' not found or unable to stat
[Mon Apr 12 15:26:32.314540 2021] [authz_core:error] [pid 81106] [client 167.71.13.196:39500] AH01630: client denied by server configuration: /var/www/html/server-status
[Mon Apr 12 15:28:23.962857 2021] [php7:error] [pid 81107] [client 167.71.75.87:55072] script '/var/www/html/index.php' not found or unable to stat
[Mon Apr 12 21:45:44.140552 2021] [mpm_prefork:notice] [pid 937] AH00163: Apache/2.4.46 (Debian) OpenSSL/1.1.1i configured -- resuming normal operations
[Mon Apr 12 21:45:44.140594 2021] [core:notice] [pid 937] AH00094: Command line: '/usr/sbin/apache2'
[Mon Apr 12 21:59:34.091719 2021] [mpm_prefork:notice] [pid 981] AH00163: Apache/2.4.46 (Debian) OpenSSL/1.1.1i configured -- resuming normal operations
[Mon Apr 12 21:59:34.092026 2021] [core:notice] [pid 981] AH00094: Command line: '/usr/sbin/apache2'
[Mon Apr 12 22:08:09.348811 2021] [mpm_prefork:notice] [pid 929] AH00163: Apache/2.4.46 (Debian) OpenSSL/1.1.1i configured -- resuming normal operations
[Mon Apr 12 22:08:09.348883 2021] [core:notice] [pid 929] AH00094: Command line: '/usr/sbin/apache2'
[Mon Apr 12 22:27:05.684880 2021] [mpm_prefork:notice] [pid 940] AH00163: Apache/2.4.46 (Debian) OpenSSL/1.1.1i configured -- resuming normal operations
[Mon Apr 12 22:27:05.684956 2021] [core:notice] [pid 940] AH00094: Command line: '/usr/sbin/apache2'
cat: /sys/class/net/wlp3s0/speed: Invalid argument
cat: /sys/class/net/wlp3s0/duplex: Invalid argument
[Mon Apr 12 22:52:34.603838 2021] [mpm_prefork:notice] [pid 973] AH00163: Apache/2.4.46 (Debian) OpenSSL/1.1.1i configured -- resuming normal operations
[Mon Apr 12 22:52:34.603919 2021] [core:notice] [pid 973] AH00094: Command line: '/usr/sbin/apache2'
[Mon Apr 12 23:06:08.377941 2021] [mpm_prefork:notice] [pid 944] AH00163: Apache/2.4.46 (Debian) OpenSSL/1.1.1i configured -- resuming normal operations
[Mon Apr 12 23:06:08.378002 2021] [core:notice] [pid 944] AH00094: Command line: '/usr/sbin/apache2'

Nextcloud log (data/nextcloud.log)

Nextcloud log
[Shortened to the last lines, overall 98MB of data]

21:14:50","remoteAddr":"192.168.11.160","user":"bogatkaj","app":"contacts","method":"GET","url":"/ocs/v2.php/apps/serverinfo/api/v1//basicdata?format=json","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0","version":"21.0.1.1"}
{"reqId":"AoangHGmvDLn86c3nglO","level":0,"time":"April 12, 2021 21:14:50","remoteAddr":"192.168.11.160","user":"bogatkaj","app":"files_mindmap","method":"GET","url":"/ocs/v2.php/apps/serverinfo/api/v1//basicdata?format=json","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0","version":"21.0.1.1"}
{"reqId":"AoangHGmvDLn86c3nglO","level":0,"time":"April 12, 2021 21:14:50","remoteAddr":"192.168.11.160","user":"bogatkaj","app":"files_sharing","method":"GET","url":"/ocs/v2.php/apps/serverinfo/api/v1//basicdata?format=json","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0","version":"21.0.1.1"}
{"reqId":"AoangHGmvDLn86c3nglO","level":0,"time":"April 12, 2021 21:14:50","remoteAddr":"192.168.11.160","user":"bogatkaj","app":"metadata","method":"GET","url":"/ocs/v2.php/apps/serverinfo/api/v1//basicdata?format=json","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0","version":"21.0.1.1"}
{"reqId":"GNndjodCpg302w3qCbfn","level":0,"time":"April 12, 2021 21:14:51","remoteAddr":"192.168.11.160","user":"bogatkaj","app":"guests","method":"GET","url":"/ocs/v2.php/apps/serverinfo/api/v1//basicdata?format=json","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0","version":"21.0.1.1"}
{"reqId":"GNndjodCpg302w3qCbfn","level":0,"time":"April 12, 2021 21:14:51","remoteAddr":"192.168.11.160","user":"bogatkaj","app":"contacts","method":"GET","url":"/ocs/v2.php/apps/serverinfo/api/v1//basicdata?format=json","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0","version":"21.0.1.1"}
{"reqId":"GNndjodCpg302w3qCbfn","level":0,"time":"April 12, 2021 21:14:51","remoteAddr":"192.168.11.160","user":"bogatkaj","app":"files_mindmap","method":"GET","url":"/ocs/v2.php/apps/serverinfo/api/v1//basicdata?format=json","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0","version":"21.0.1.1"}
{"reqId":"GNndjodCpg302w3qCbfn","level":0,"time":"April 12, 2021 21:14:51","remoteAddr":"192.168.11.160","user":"bogatkaj","app":"files_sharing","method":"GET","url":"/ocs/v2.php/apps/serverinfo/api/v1//basicdata?format=json","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0","version":"21.0.1.1"}
{"reqId":"GNndjodCpg302w3qCbfn","level":0,"time":"April 12, 2021 21:14:51","remoteAddr":"192.168.11.160","user":"bogatkaj","app":"metadata","method":"GET","url":"/ocs/v2.php/apps/serverinfo/api/v1//basicdata?format=json","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0","version":"21.0.1.1"}
{"reqId":"02lCoXRYl5DmQu42jOHe","level":0,"time":"April 12, 2021 21:14:51","remoteAddr":"192.168.11.160","user":"bogatkaj","app":"guests","method":"GET","url":"/index.php/apps/serverinfo/update","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0","version":"21.0.1.1"}
{"reqId":"02lCoXRYl5DmQu42jOHe","level":0,"time":"April 12, 2021 21:14:51","remoteAddr":"192.168.11.160","user":"bogatkaj","app":"contacts","method":"GET","url":"/index.php/apps/serverinfo/update","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0","version":"21.0.1.1"}
{"reqId":"02lCoXRYl5DmQu42jOHe","level":0,"time":"April 12, 2021 21:14:51","remoteAddr":"192.168.11.160","user":"bogatkaj","app":"files_mindmap","method":"GET","url":"/index.php/apps/serverinfo/update","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0","version":"21.0.1.1"}
{"reqId":"02lCoXRYl5DmQu42jOHe","level":0,"time":"April 12, 2021 21:14:51","remoteAddr":"192.168.11.160","user":"bogatkaj","app":"files_sharing","method":"GET","url":"/index.php/apps/serverinfo/update","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0","version":"21.0.1.1"}
{"reqId":"02lCoXRYl5DmQu42jOHe","level":0,"time":"April 12, 2021 21:14:51","remoteAddr":"192.168.11.160","user":"bogatkaj","app":"metadata","method":"GET","url":"/index.php/apps/serverinfo/update","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0","version":"21.0.1.1"}
{"reqId":"ifaEFK6zYjG1fuMn5IyJ","level":0,"time":"April 12, 2021 21:14:52","remoteAddr":"192.168.11.160","user":"bogatkaj","app":"guests","method":"GET","url":"/index.php/apps/serverinfo/update","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0","version":"21.0.1.1"}
{"reqId":"ifaEFK6zYjG1fuMn5IyJ","level":0,"time":"April 12, 2021 21:14:52","remoteAddr":"192.168.11.160","user":"bogatkaj","app":"contacts","method":"GET","url":"/index.php/apps/serverinfo/update","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0","version":"21.0.1.1"}
{"reqId":"ifaEFK6zYjG1fuMn5IyJ","level":0,"time":"April 12, 2021 21:14:52","remoteAddr":"192.168.11.160","user":"bogatkaj","app":"files_mindmap","method":"GET","url":"/index.php/apps/serverinfo/update","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0","version":"21.0.1.1"}
{"reqId":"ifaEFK6zYjG1fuMn5IyJ","level":0,"time":"April 12, 2021 21:14:52","remoteAddr":"192.168.11.160","user":"bogatkaj","app":"files_sharing","method":"GET","url":"/index.php/apps/serverinfo/update","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0","version":"21.0.1.1"}
{"reqId":"ifaEFK6zYjG1fuMn5IyJ","level":0,"time":"April 12, 2021 21:14:52","remoteAddr":"192.168.11.160","user":"bogatkaj","app":"metadata","method":"GET","url":"/index.php/apps/serverinfo/update","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0","version":"21.0.1.1"}
{"reqId":"SAv9oMAis1RXLpHszbVX","level":0,"time":"April 12, 2021 21:14:52","remoteAddr":"192.168.11.160","user":"bogatkaj","app":"guests","method":"GET","url":"/ocs/v2.php/apps/serverinfo/api/v1//basicdata?format=json","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0","version":"21.0.1.1"}
{"reqId":"SAv9oMAis1RXLpHszbVX","level":0,"time":"April 12, 2021 21:14:52","remoteAddr":"192.168.11.160","user":"bogatkaj","app":"contacts","method":"GET","url":"/ocs/v2.php/apps/serverinfo/api/v1//basicdata?format=json","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0","version":"21.0.1.1"}
{"reqId":"SAv9oMAis1RXLpHszbVX","level":0,"time":"April 12, 2021 21:14:52","remoteAddr":"192.168.11.160","user":"bogatkaj","app":"files_mindmap","method":"GET","url":"/ocs/v2.php/apps/serverinfo/api/v1//basicdata?format=json","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0","version":"21.0.1.1"}
{"reqId":"SAv9oMAis1RXLpHszbVX","level":0,"time":"April 12, 2021 21:14:52","remoteAddr":"192.168.11.160","user":"bogatkaj","app":"files_sharing","method":"GET","url":"/ocs/v2.php/apps/serverinfo/api/v1//basicdata?format=json","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0","version":"21.0.1.1"}
{"reqId":"SAv9oMAis1RXLpHszbVX","level":0,"time":"April 12, 2021 21:14:52","remoteAddr":"192.168.11.160","user":"bogatkaj","app":"metadata","method":"GET","url":"/ocs/v2.php/apps/serverinfo/api/v1//basicdata?format=json","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0","version":"21.0.1.1"}
{"reqId":"yPLAjMVMp83cMavMB2rf","level":0,"time":"April 12, 2021 21:14:54","remoteAddr":"192.168.11.160","user":"bogatkaj","app":"guests","method":"GET","url":"/ocs/v2.php/apps/serverinfo/api/v1//basicdata?format=json","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0","version":"21.0.1.1"}
{"reqId":"yPLAjMVMp83cMavMB2rf","level":0,"time":"April 12, 2021 21:14:54","remoteAddr":"192.168.11.160","user":"bogatkaj","app":"contacts","method":"GET","url":"/ocs/v2.php/apps/serverinfo/api/v1//basicdata?format=json","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0","version":"21.0.1.1"}
{"reqId":"yPLAjMVMp83cMavMB2rf","level":0,"time":"April 12, 2021 21:14:54","remoteAddr":"192.168.11.160","user":"bogatkaj","app":"files_mindmap","method":"GET","url":"/ocs/v2.php/apps/serverinfo/api/v1//basicdata?format=json","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0","version":"21.0.1.1"}
{"reqId":"yPLAjMVMp83cMavMB2rf","level":0,"time":"April 12, 2021 21:14:54","remoteAddr":"192.168.11.160","user":"bogatkaj","app":"files_sharing","method":"GET","url":"/ocs/v2.php/apps/serverinfo/api/v1//basicdata?format=json","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0","version":"21.0.1.1"}
{"reqId":"yPLAjMVMp83cMavMB2rf","level":0,"time":"April 12, 2021 21:14:54","remoteAddr":"192.168.11.160","user":"bogatkaj","app":"metadata","method":"GET","url":"/ocs/v2.php/apps/serverinfo/api/v1//basicdata?format=json","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0","version":"21.0.1.1"}
{"reqId":"823twmG3PSW7W7BQ3iIM","level":0,"time":"April 12, 2021 21:14:54","remoteAddr":"192.168.11.160","user":"bogatkaj","app":"guests","method":"GET","url":"/index.php/apps/serverinfo/update","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0","version":"21.0.1.1"}
{"reqId":"823twmG3PSW7W7BQ3iIM","level":0,"time":"April 12, 2021 21:14:54","remoteAddr":"192.168.11.160","user":"bogatkaj","app":"contacts","method":"GET","url":"/index.php/apps/serverinfo/update","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0","version":"21.0.1.1"}
{"reqId":"823twmG3PSW7W7BQ3iIM","level":0,"time":"April 12, 2021 21:14:54","remoteAddr":"192.168.11.160","user":"bogatkaj","app":"files_mindmap","method":"GET","url":"/index.php/apps/serverinfo/update","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0","version":"21.0.1.1"}
{"reqId":"823twmG3PSW7W7BQ3iIM","level":0,"time":"April 12, 2021 21:14:54","remoteAddr":"192.168.11.160","user":"bogatkaj","app":"files_sharing","method":"GET","url":"/index.php/apps/serverinfo/update","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0","version":"21.0.1.1"}
{"reqId":"823twmG3PSW7W7BQ3iIM","level":0,"time":"April 12, 2021 21:14:54","remoteAddr":"192.168.11.160","user":"bogatkaj","app":"metadata","method":"GET","url":"/index.php/apps/serverinfo/update","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0","version":"21.0.1.1"}
{"reqId":"e66cCN9qo2b3K2vjFwnI","level":0,"time":"April 12, 2021 21:14:55","remoteAddr":"192.168.11.160","user":"bogatkaj","app":"guests","method":"GET","url":"/ocs/v2.php/apps/serverinfo/api/v1//basicdata?format=json","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0","version":"21.0.1.1"}
{"reqId":"e66cCN9qo2b3K2vjFwnI","level":0,"time":"April 12, 2021 21:14:55","remoteAddr":"192.168.11.160","user":"bogatkaj","app":"contacts","method":"GET","url":"/ocs/v2.php/apps/serverinfo/api/v1//basicdata?format=json","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0","version":"21.0.1.1"}
{"reqId":"e66cCN9qo2b3K2vjFwnI","level":0,"time":"April 12, 2021 21:14:55","remoteAddr":"192.168.11.160","user":"bogatkaj","app":"files_mindmap","method":"GET","url":"/ocs/v2.php/apps/serverinfo/api/v1//basicdata?format=json","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0","version":"21.0.1.1"}
{"reqId":"e66cCN9qo2b3K2vjFwnI","level":0,"time":"April 12, 2021 21:14:55","remoteAddr":"192.168.11.160","user":"bogatkaj","app":"files_sharing","method":"GET","url":"/ocs/v2.php/apps/serverinfo/api/v1//basicdata?format=json","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0","version":"21.0.1.1"}
{"reqId":"e66cCN9qo2b3K2vjFwnI","level":0,"time":"April 12, 2021 21:14:55","remoteAddr":"192.168.11.160","user":"bogatkaj","app":"metadata","method":"GET","url":"/ocs/v2.php/apps/serverinfo/api/v1//basicdata?format=json","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0","version":"21.0.1.1"}
{"reqId":"ycoAQQqJd5knmUkEsST6","level":0,"time":"April 12, 2021 21:14:55","remoteAddr":"192.168.11.160","user":"bogatkaj","app":"guests","method":"GET","url":"/index.php/apps/serverinfo/update","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0","version":"21.0.1.1"}
{"reqId":"ycoAQQqJd5knmUkEsST6","level":0,"time":"April 12, 2021 21:14:55","remoteAddr":"192.168.11.160","user":"bogatkaj","app":"contacts","method":"GET","url":"/index.php/apps/serverinfo/update","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0","version":"21.0.1.1"}
{"reqId":"ycoAQQqJd5knmUkEsST6","level":0,"time":"April 12, 2021 21:14:55","remoteAddr":"192.168.11.160","user":"bogatkaj","app":"files_mindmap","method":"GET","url":"/index.php/apps/serverinfo/update","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0","version":"21.0.1.1"}
{"reqId":"ycoAQQqJd5knmUkEsST6","level":0,"time":"April 12, 2021 21:14:55","remoteAddr":"192.168.11.160","user":"bogatkaj","app":"files_sharing","method":"GET","url":"/index.php/apps/serverinfo/update","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0","version":"21.0.1.1"}
{"reqId":"ycoAQQqJd5knmUkEsST6","level":0,"time":"April 12, 2021 21:14:55","remoteAddr":"192.168.11.160","user":"bogatkaj","app":"metadata","method":"GET","url":"/index.php/apps/serverinfo/update","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0","version":"21.0.1.1"}
{"reqId":"pd1jf9Qjhu03YLPOCgFQ","level":0,"time":"April 12, 2021 21:14:56","remoteAddr":"192.168.11.160","user":"bogatkaj","app":"guests","method":"GET","url":"/index.php/apps/serverinfo/update","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0","version":"21.0.1.1"}
{"reqId":"pd1jf9Qjhu03YLPOCgFQ","level":0,"time":"April 12, 2021 21:14:56","remoteAddr":"192.168.11.160","user":"bogatkaj","app":"contacts","method":"GET","url":"/index.php/apps/serverinfo/update","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0","version":"21.0.1.1"}

Browser log

Browser log
Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log
c) ...
@bcutter
Copy link

bcutter commented Apr 13, 2021

Just a wild guess: check your log_level in config.php. If it's set to 0 (zero, debug), nextcloud.log is spammed and server load increases especially when using Fail2Ban based on nextcloud.log.

Discovered this behavior after several updates.

@kesselb
Copy link
Contributor

kesselb commented Apr 13, 2021

Sounds like #25742.

@kesselb kesselb closed this as completed Apr 13, 2021
@Jan-NiklasB
Copy link
Author

Jan-NiklasB commented Apr 13, 2021

@kesselb
It's not the same error.
My PHP mem limit is set to 512 MB, while the php task running cron.php and / or occ takes up to 6 GB, so there is somethin else wrong, also since the update the log is spammed with warnings about deprecated methodes in several modules.

@kesselb
Copy link
Contributor

kesselb commented Apr 13, 2021

You removed "memcache.local": "\\OC\\Memcache\\APCu", and still see this error?

@Jan-NiklasB
Copy link
Author

Whait a moment, I will try this

@Jan-NiklasB
Copy link
Author

Jan-NiklasB commented Apr 13, 2021

Seems like this solves the mem issue... fascinating, I don't really understand what is happening here, but well, for the moment it solves the problem.

Edit: But this isn't the permanent sulution to this problem, to disable the mem cache, right?
Also, the warnings about deprecated event types still come in.

@kesselb
Copy link
Contributor

kesselb commented Apr 13, 2021

Edit: But this isn't the permanent sulution to this problem, to disable the mem cache, right?

You have two options: Disable caching for now, Use redis for caching.

Also, the warnings about deprecated event types still come in.

Expected at loglevel = 0.

@Jan-NiklasB
Copy link
Author

Okay, thanks

@polatmete
Copy link

I had exactly the same issue. Adding the line apc.enable_cli=1 to the file /etc/php/7.4/mods-available/apcu.ini solved the problem for me.
See https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/caching_configuration.html#id1

@Jan-NiklasB
Copy link
Author

@polatmete
Thanks for your reply.
I also read about this, but I also read (I can't tell you where) that this command is bad practice.
Since I don't know much about APCu I don't know if this is right, maybe someone who's more known to the things behind the scene can tell me / us more about this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug
Projects
None yet
Development

No branches or pull requests

4 participants