18.12 Processor Utilization Increases When 10,000 Users Are Imported from an External LDAP Source

When syncing users from an external LDAP source, the processor utilization increases if you try to import 10,000 users.

The reason for this behavior is that the User Sync is scheduled to run every 8 minutes, by default. Therefore, each time the User Sync is started, which is every 8 minutes, the processor utilization increases to around 50%, and remains in that state for up to 5 minutes. The utilization might further increase if you import over 10,000 users.

To workaround this issue, you can change the sync interval by editing the crontab file.

  1. Launch the crontab file located at /etc/crontab.

  2. Browse to the line where the sync interval is set to 8 minutes.

    # run iprint migrate every 8 minutes

    */8 * * * * root /usr/bin/python /opt/novell/iprintmobile/python/migrate/migrateUsers.pyc >> /var/log/ipmigrate.log 2>&1

  3. Change the time to the desired time interval.

For information on scheduling time intervals for cron jobs, see the article about Cron on Wikipedia.