High CPU at specific time for few hours
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Problem
Daily at a specific time for example 1 am , the CPU is high more than 50 % most of the time .
The following appears in the atlassian-confluence.log
1
2
3
4
2015-08-07 01:11:00,012 INFO [scheduler_Worker-1] [userprofile.synchronization.modules.LDAPUserDataSyncJob] doExecute Starting job based synchronization for all LDAP users.
...
2015-08-07 03:03:43,366 WARN [scheduler_Worker-1] [confluence.util.profiling.DurationThresholdWarningTimingHelperFactory] logMessage Execution time for publishing event de.communardo.confluence.plugins.userprofile.synchronization.modules.LDAPUserDataSyncFinishedEvent[source=de.communardo.confluence.plugins.userprofile.synchronization.modules.LDAPUserDataSyncJob@3414c2d5] took 2735638 ms (warning threshold is 5000 ms)
2015-08-07 03:03:43,367 INFO [scheduler_Worker-1] [userprofile.synchronization.modules.LDAPUserDataSyncJob] doExecute Finished job based synchronization for all LDAP users.
Cause
The issue is related to third-party add-on User Profiles for Confluence and is caused by a CSV export which is automatically written after the nightly synchronization of the User Profiles for Confluence app.
Resolution
If you do not need the automatic nightly export, there is a workaround documented in this third-party KB: High CPU at specific time for few hours.
Was this helpful?