Added: apt install python-psutil
in cainstance.py after import tempfile added import psutil
In function "migrate_profiles_to_ldap"
before for profile_id in profile_ids: changed time.sleep(80) to time.sleep(30) then added just after, inside the loop:
while psutil.cpu_percent() > 5: time.sleep(2)
and... success.
Added:
apt install python-psutil
in cainstance.py after import tempfile added
import psutil
In function "migrate_ profiles_ to_ldap"
before
for profile_id in profile_ids:
changed time.sleep(80) to time.sleep(30)
then added just after, inside the loop:
while psutil. cpu_percent( ) > 5: time.sleep(2)
and... success.