search cancel

BG going down frequently, restarting or stuck

book

Article ID: 212885

calendar_today

Updated On:

Products

Clarity PPM On Premise

Issue/Introduction

Jobs are getting stuck frequently and when we cancel and reinitiate them the BG is stuck. We have to restart the BG again to process the jobs or the BG restarts by itself .

Environment

Release : Any

Resolution

  1. Increase the number of threads for the BG VM in the properties.xml files
    <jobSchedulerServer>
        <jobSchedulerInstance id="bg" serviceName="Niku Background Server" runJobScheduler="true" maxConcurrentJobs="10" runProcessEngine="false" messageTimeToLive="120" messageReceiverInterval="5" exceptionRunInterval="normal" serviceUser="" servicePassword="" autoStartService="false" maxThreadsForParallelProcessor="10"/>
      </jobSchedulerServer>
    • Set maxConcurrentJobs to 20
    • Set maxThreadsForParallelProcessor to 20.
  2. Restart the BG services