NC 11 working slow after upgrade (LDAP users)

Nextcloud version (eg, 10.0.2): 11.0.1
Operating system and version (eg, Ubuntu 16.04): CentOS 7
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4.6
PHP version (eg, 5.6): php5.6
Database: PgSQL 9.4
Users: from LDAP
Is this the first time you’ve seen this error and can you replicate it?:
Every time I do upgrade from NC 10 to 11 I’m facing a problem with the process. The upgrade procedure always exits with Segmentantion Fault error which points to LDAP module. We found a way to bypass this by changing two variables in user_ldap/lib/Access.php:
$maxResults = … 500 to 0
$pageSize = … 500 to 0

Then we can proceed with upgrade.

The issue you are facing:
After moving to NC11 the whole system slows down drastically (as opposed to official statement). When logging in, trying to view users, run Administration panel, everything goes slow, and looking at processes, database seems to work full throttle. I have backup of v10.0.1 and both DBs have around 700 users, in LDAP around 8k. On NC10 everything runs smoothly. There was no modification made in config.

Config below:

<?php

$CONFIG = array (
‘instanceid’ => *
‘passwordsalt’ => *
‘secret’ => ',
‘trusted_proxies’ =>
array (
0 => '
',
),
‘trusted_domains’ =>
array (
0 => ‘',
1 => ‘localhost’,
2 => *
),
‘datadirectory’ => ‘/var/nextcloud-data’,
‘overwrite.cli.url’ => '
’,
‘htaccess.RewriteBase’ => ‘',
‘dbtype’ => ‘pgsql’,
‘version’ => ‘11.0.1.2’,
‘dbname’ => '
’,
‘dbhost’ => ‘localhost’,
‘dbport’ => ‘’,
‘dbtableprefix’ => ‘oc_’,
‘dbuser’ => *
‘dbpassword’ => *
‘memcache.local’ => ‘\OC\Memcache\APCu’,
‘logtimezone’ => ‘UTC’,
‘default_language’ => ‘pl’,
‘lost_password_link’ => ‘',
‘installed’ => true,
‘ldapIgnoreNamingRules’ => false,
‘ldapProviderFactory’ => ‘\OCA\User_LDAP\LDAPProviderFactory’,
‘appstore.experimental.enabled’ => true,
‘mail_smtpmode’ => ‘smtp’,
‘mail_from_address’ => '
’,
‘mail_domain’ => ‘',
‘mail_smtphost’ => '
’,
‘mail_smtpport’ => ‘25’,
‘loglevel’ => 2,
‘maintenance’ => false,
‘integrity.check.disabled’ => true,
);

Do you have any idea what could be the cause of this performance slowdown?

Please report this directly to the bugtracker: https://github.com/nextcloud/server/issues

We seems having similar problem. We’re using 11.0.0 on Ubuntu 16.04. The whole system slows down after switching from local users to LDAP users, including: desktop client, web interface.

Is there any update on this issue?