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

Server and client flooded by logs #12591

Closed
vasilko opened this issue Nov 22, 2018 · 3 comments
Closed

Server and client flooded by logs #12591

vasilko opened this issue Nov 22, 2018 · 3 comments
Labels

Comments

@vasilko
Copy link

vasilko commented Nov 22, 2018

Hello, I write some issue, I meet today with nextcloud Server and Client after using it some months.

Server1: Nextcloud 13.0.4
Server2: Nextcloud 14.0.3
Client: Version 2.5.0git
Client OS version: Ubuntu 18.04.1 LTS
Client OS version tested: Windows 7 x64.

I have connected two accounts with one client from two servers with versions (14.0.3 and 13.0.4).
When I disable "activity" application on these servers and restart client appliaction, servers and client start generate a huge load and logs. Servers load rises up to 40% of CPUs and apache generated massive access logs. Client also generate (when I press F12 to view) many requests (up to 20 per second) to the server. Also, the traffic between client and server rises up to 3Mbps constantly.

I think, that if this "activity" is an optional aplication, when I disable it, it does not generate these problems with enabled and installed client on PC/nb.

Operating system of servers is: Centos 7.5.1804. Web server is apache v. 2.4.6. Selinux enabled and enforced. Php is in version 7.0.32. One server is proxied with Apache, second is not. When I enable this application, everything is back to normal.

Some log from client:
[OCC::ActivityListModel::startFetchJob Start fetching activities for "xxx@cloud.xxx.sk"
[OCC::AccessManager::createRequest 2 "" "https://cloud.xxx.sk/ocs/v2.php/cloud/activity?page=0&pagesize=100&format=json" has X-Request-ID "d9d118ef-9f95-496d-84fe-707d7f4954ec"
[OCC::AbstractNetworkJob::start OCC::JsonApiJob created for "https://cloud.xxx.sk" + "ocs/v2.php/cloud/activity" "OCC::ActivityListModel"
[OCC::WebFlowCredentials::slotFinished request finished
[OCC::AbstractNetworkJob::slotFinished QNetworkReply::NetworkError(ContentNotFoundError) "Server replied "404 Not Found" to "GET https://cloud.xxx.sk/ocs/v2.php/cloud/activity?page=0&pagesize=100&format=json"" QVariant(int, 404)
[OCC::WebFlowCredentials::stillValid Still valid?
[OCC::WebFlowCredentials::stillValid QNetworkReply::NetworkError(ContentNotFoundError)

Thank you for your time to answering.

@nextcloud-bot
Copy link
Member

GitMate.io thinks possibly related issues are #670 (calendar floods admin_audit log), #11909 (dockerized client?), #9179 (Slow log out.), #9939 (Server always resets logging to loglevel 0), and #2800 (Server side scheduling).

@rullzer
Copy link
Member

rullzer commented Nov 22, 2018

Should be fixed by nextcloud/desktop#874

@vasilko
Copy link
Author

vasilko commented Nov 23, 2018

Hello,
Now I tested it with new client on windows (Nextcloud-2.5.0.61570-daily-20181122.exe) and everythink is OK. Thank you for your answers and explanations. In Linux I will test it with new official package from repositories.

@rullzer rullzer closed this as completed Nov 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants
@rullzer @vasilko @nextcloud-bot and others