Skip to content

Encryption using occ takes too much time while consuming too much resources. #19358

@SergioBertolinSG

Description

@SergioBertolinSG

Steps to reproduce

Having a massive installation with 1000000 ldap users:

  1. Enable encryption app.
  2. Enable encryption.
  3. Enable LDAP and set up the 1 million users one.
  4. Run occ encryption:encrypt-all.

Expected behaviour

Not sure, of course there are limitations. But i'd expect not to have cpu full busy and being able to encrypt many users after a day.

Actual behaviour

While having very few files per user, just the creation of key pairs takes many days.

Also it puts cpu to 100% until it finishes.

Server configuration

Operating system:
Ubuntu 14.04

Web server:
Apache

Database:
MySQL

PHP version:
5.5.9

ownCloud version: (see ownCloud admin page)
{"installed":true,"maintenance":false,"version":"8.2.0.6","versionstring":"8.2 beta1","edition":"Enterprise"}

Updated from an older ownCloud or fresh install:
Fresh

List of activated apps:
Default in enterprise edition.
Encryption.

The content of config/config.php:


Are you using external storage, if yes which one: local/smb/sftp/...
No

Are you using encryption:
Yes

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions