-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Comments
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. |
Sounds like #25742. |
@kesselb |
You removed |
Whait a moment, I will try this |
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? |
You have two options: Disable caching for now, Use redis for caching.
Expected at loglevel = 0. |
Okay, thanks |
I had exactly the same issue. Adding the line |
@polatmete |
How to use GitHub
Steps to reproduce
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
Configuration (config/config.php)
External storages: files_external is disabled
Encryption: no
User-backends:
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
Nextcloud log (data/nextcloud.log)
Nextcloud log
Browser log
Browser log
The text was updated successfully, but these errors were encountered: