-
-
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
NC 14.0.1.1 - high CPU load through tons of csrftoken requests #11747
Comments
Looks similar to #11179 |
Maybe the In that case Of course it would be strange for |
Do you have a patch to fix this and set it then to |
Here you have: #11756 |
Thanks a lot. |
Fixed by #11756 |
OK, after fixing my 'session_lifetime' all back to normal operation. Thank you for your support! I've had configured my 'session_lifetime' as mentioned in documentation:
Maybe documentation is misleading in this point and need rewrite?! |
But this should work. How does it look now? |
I removed the hole session_lifetime settimg from config.php and restarted httpd (to be secure). |
With this setting I can't reproduce, but with |
OK, I'm sorry - it was my fault. My setting looked like this:
|
Steps to reproduce
Expected behaviour
CPU load shoud not significant increase
Actual behaviour
CPU load of 4/8 cores is >= 20%. In browser developer tools I can see tons of csrftoken requests (> 2000 (!) in 10 seconds). After login in browser there are messages about "lost connection to server", loading files app takes extrem long, Webinterface nearly unusable.
Server configuration
Operating system:
CentOS Linux release 7.5.1804 (Core)
Web server:
httpd-2.4.6-80.el7.centos.1.x86_64
Database:
mariadb-server-5.5.60-1.el7_5.x86_64
PHP version:
php72w-intl-7.2.10-1.w7.x86_64
php72w-pdo-7.2.10-1.w7.x86_64
php72w-gd-7.2.10-1.w7.x86_64
php72w-pecl-apcu-5.1.9-1.w7.x86_64
php72w-common-7.2.10-1.w7.x86_64
php72w-mysql-7.2.10-1.w7.x86_64
php72w-opcache-7.2.10-1.w7.x86_64
php72w-cli-7.2.10-1.w7.x86_64
php72w-mbstring-7.2.10-1.w7.x86_64
mod_php72w-7.2.10-1.w7.x86_64
php72w-pear-1.10.4-1.w7.noarch
php72w-xml-7.2.10-1.w7.x86_64
php72w-process-7.2.10-1.w7.x86_64
Nextcloud version: (see Nextcloud admin page)
14.0.1.1
Updated from an older Nextcloud/ownCloud or fresh install:
updated
Where did you install Nextcloud from:
tarball
Signing status:
Signing status
List of activated apps:
App list
{
"system": {
"instanceid": "REMOVED SENSITIVE VALUE",
"passwordsalt": "REMOVED SENSITIVE VALUE",
"secret": "REMOVED SENSITIVE VALUE",
"trusted_domains": [
"cloud.clxe.de"
],
"datadirectory": "REMOVED SENSITIVE VALUE",
"overwrite.cli.url": "https://cloud.clxe.de",
"dbtype": "mysql",
"version": "14.0.1.1",
"dbname": "REMOVED SENSITIVE VALUE",
"dbhost": "REMOVED SENSITIVE VALUE",
"dbport": "",
"dbtableprefix": "oc_",
"dbuser": "REMOVED SENSITIVE VALUE",
"dbpassword": "REMOVED SENSITIVE VALUE",
"installed": true,
"maintenance": false,
"memcache.local": "\OC\Memcache\APCu",
"loglevel": 0,
"mail_smtpmode": "smtp",
"mail_smtpauthtype": "LOGIN",
"mail_smtpauth": 1,
"mail_smtpsecure": "tls",
"mail_from_address": "REMOVED SENSITIVE VALUE",
"mail_domain": "REMOVED SENSITIVE VALUE",
"mail_smtphost": "REMOVED SENSITIVE VALUE",
"mail_smtpport": "587",
"mail_smtpname": "REMOVED SENSITIVE VALUE",
"mail_smtppassword": "REMOVED SENSITIVE VALUE",
"session_lifetime": "60604",
"session_keepalive": "true"
}
}```
Are you using external storage, if yes which one:
local
Are you using encryption:
yes
Are you using an external user-backend, if yes which one:
Client configuration
Browser:
Operating system:
Windows 10 1809
Logs
Web server error log
Web server error log
Nextcloud log (data/nextcloud.log)
Nextcloud log
Any help appreciated!
The text was updated successfully, but these errors were encountered: