Skip to content

High CPU Usage on MacOS #12206

@ton-An

Description

@ton-An

Pre-submission Checks

  • I checked for similar issues, but could not find any. I also checked the closed issues. I could not contribute additional information to any existing issue.
  • I will take the time to fill in all the required fields. I know that the bug report may be dismissed otherwise due to lack of information.

Describe the bug

The MacOS Desktop client uses a lot of CPU when after the first full sync to the server. Until then the cpu usage is very low.

To me, it seems like the client restarts the change check process every x minutes/seconds.

I have added a snippet of the logs. The client creates a ton of logs so I can't find anything useful. If there is a need for more logs I would like to share the logs privately because of (somewhat) sensitive information.

Expected behavior

The CPU usage should be fairly low

Steps to reproduce the issue

  1. Complete full sync
  2. Let client check for changes

Screenshots

Image Image Image Image

Logs

25-07-01 11:12:48:315 [ info sync.discovery ]:	Discovered "Projects/ollama_playground/continue/docs/node_modules/has-property-descriptors/index.js" CSyncEnums::CSYNC_INSTRUCTION_NONE OCC::SyncFileItem::None CSyncEnums::ItemTypeFile
25-07-01 11:12:48:315 [ info sync.discovery ]:	Processing "Projects/ollama_playground/continue/docs/node_modules/has-property-descriptors/package.json" | valid: true/true/db | mtime: 1744878786/1744878786/0 | size: 2090/2090/0 | etag: "5cf4a7a4e14c2aa083290728c390ea87"//"" | checksum: "SHA1:a3e6c1869a4e2f16574906fea431ce7a4bc1a022"//"" | perm: "WDNVR"//"" | fileid: "bb3c165d-cd93-4e76-af32-3632965eab81$2718a36c-e4de-47a8-8e7b-7a980b5e9ab1!1a727667-f738-447f-989d-4cb67b047319"//"" | inode: 2054875/2054875/ | type: CSyncEnums::ItemTypeFile/CSyncEnums::ItemTypeFile/CSyncEnums::ItemTypeFile
25-07-01 11:12:48:315 [ info sync.discovery ]:	Discovered "Projects/ollama_playground/continue/docs/node_modules/has-property-descriptors/package.json" CSyncEnums::CSYNC_INSTRUCTION_NONE OCC::SyncFileItem::None CSyncEnums::ItemTypeFile
25-07-01 11:12:48:315 [ info sync.discovery ]:	Processing "Projects/ollama_playground/continue/docs/node_modules/has-property-descriptors/test" | valid: true/true/db | mtime: 1751263707/1751263707/0 | size: 0/96/0 | etag: "971cd1db9a582c0707acab3f51921547"//"" | checksum: ""//"" | perm: "DNVCKR"//"" | fileid: "bb3c165d-cd93-4e76-af32-3632965eab81$2718a36c-e4de-47a8-8e7b-7a980b5e9ab1!f52ff6d2-02db-47ca-844d-34e0dee2a99b"//"" | inode: 2054870/2054870/ | type: CSyncEnums::ItemTypeDirectory/CSyncEnums::ItemTypeDirectory/CSyncEnums::ItemTypeFile
25-07-01 11:12:48:315 [ info sync.discovery ]:	Discovered "Projects/ollama_playground/continue/docs/node_modules/has-property-descriptors/test" CSyncEnums::CSYNC_INSTRUCTION_NONE OCC::SyncFileItem::None CSyncEnums::ItemTypeDirectory
25-07-01 11:12:48:315 [ info sync.discovery ]:	STARTING "Projects/ollama_playground/continue/docs/node_modules/got/dist/source/core/utils" OCC::ProcessDirectoryJob::ParentNotChanged "Projects/ollama_playground/continue/docs/node_modules/got/dist/source/core/utils" OCC::ProcessDirectoryJob::NormalQuery
25-07-01 11:12:48:315 [ info sync.discovery ]:	STARTING "Projects/ollama_playground/continue/docs/node_modules/gray-matter/node_modules/argparse/lib/help" OCC::ProcessDirectoryJob::ParentNotChanged "Projects/ollama_playground/continue/docs/node_modules/gray-matter/node_modules/argparse/lib/help" OCC::ProcessDirectoryJob::NormalQuery
25-07-01 11:12:48:315 [ info sync.discovery ]:	Processing "Projects/ollama_playground/continue/docs/node_modules/has-yarn/index.d.ts" | valid: true/true/db | mtime: 1744878787/1744878787/0 | size: 224/224/0 | etag: "90c7cdf8708894febd5b03e3b87192a8"//"" | checksum: "SHA1:78175657347c2f1a1223cfc45182acba8fd3ab44"//"" | perm: "WDNVR"//"" | fileid: "bb3c165d-cd93-4e76-af32-3632965eab81$2718a36c-e4de-47a8-8e7b-7a980b5e9ab1!29c5ccaa-6141-440c-b68e-3c735771b5da"//"" | inode: 2055214/2055214/ | type: CSyncEnums::ItemTypeFile/CSyncEnums::ItemTypeFile/CSyncEnums::ItemTypeFile
25-07-01 11:12:48:315 [ info sync.discovery ]:	Discovered "Projects/ollama_playground/continue/docs/node_modules/has-yarn/index.d.ts" CSyncEnums::CSYNC_INSTRUCTION_NONE OCC::SyncFileItem::None CSyncEnums::ItemTypeFile
25-07-01 11:12:48:315 [ info sync.discovery ]:	Processing "Projects/ollama_playground/continue/docs/node_modules/has-yarn/index.js" | valid: true/true/db | mtime: 1744878787/1744878787/0 | size: 205/205/0 | etag: "70cbbdba0f96cf754b68dbfe9796dcc8"//"" | checksum: "SHA1:a5d8b90baac9d91428bbc7395e14f128106e8f67"//"" | perm: "WDNVR"//"" | fileid: "bb3c165d-cd93-4e76-af32-3632965eab81$2718a36c-e4de-47a8-8e7b-7a980b5e9ab1!62c7412c-4ec8-4d88-8b71-aa517ad1435a"//"" | inode: 2055211/2055211/ | type: CSyncEnums::ItemTypeFile/CSyncEnums::ItemTypeFile/CSyncEnums::ItemTypeFile
25-07-01 11:12:48:315 [ info sync.discovery ]:	Discovered "Projects/ollama_playground/continue/docs/node_modules/has-yarn/index.js" CSyncEnums::CSYNC_INSTRUCTION_NONE OCC::SyncFileItem::None CSyncEnums::ItemTypeFile
25-07-01 11:12:48:315 [ info sync.discovery ]:	Processing "Projects/ollama_playground/continue/docs/node_modules/has-yarn/license" | valid: true/true/db | mtime: 1744878787/1744878787/0 | size: 1117/1117/0 | etag: "3982fb4f6559a2f865d901294d1b60ab"//"" | checksum: "SHA1:80674912e3033be358331910ba27d5812369c2fc"//"" | perm: "WDNVR"//"" | fileid: "bb3c165d-cd93-4e76-af32-3632965eab81$2718a36c-e4de-47a8-8e7b-7a980b5e9ab1!eb96f677-7c18-4a07-9f1c-a66d60834323"//"" | inode: 2055210/2055210/ | type: CSyncEnums::ItemTypeFile/CSyncEnums::ItemTypeFile/CSyncEnums::ItemTypeFile

Client version number

ownCloud 5.3.2.15463 1e2be1
Libraries Qt 6.4.3, OpenSSL 3.1.7 3 Sep 2024
Using virtual files plugin: suffix
OS: macos-24.5.0
QPA: cocoa

Desktop environment (Linux only)

No response

Client package version and origin (Linux only)

No response

Installation path (Windows only)

No response

Server information

ownCloud Infinite Scale
Edition: Community
Version: 7.1.3
Web client version: 11.3.4

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions