SysLog Overflow

Which IIQ version are you inquiring about?

8.3sp2

Issue Summary

We have had a significantly hard time using our SysLog page in advanced analytics because of all these spam syslogs coming in (that are still of ERROR level). We have our perform maintenance task scheduled every 5 minutes. When it runs, we get 10-20 ERROR logs that look like this:

Log

Stack Trace

image

We cannot figure out why there are so many errors like this that occur on the 5 minute schedule. Here are our ticked options:

<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE TaskDefinition PUBLIC "sailpoint.dtd" "sailpoint.dtd">
<TaskDefinition created="1692619949003" id="0ad200e18a181198818a1802c3cb01e4" modified="1749481262659" name="Perform Maintenance" resultAction="Delete" subType="task_item_type_system" type="System">
  <Attributes>
    <Map>
      <entry key="TaskDefinition.runLengthAverage" value="5"/>
      <entry key="TaskDefinition.runLengthTotal" value="1472030"/>
      <entry key="TaskDefinition.runs" value="261042"/>
      <entry key="TaskSchedule.host"/>
      <entry key="automaticallyCloseCertifications" value="true"/>
      <entry key="denormalizeScopes" value="false"/>
      <entry key="enablePartitioning" value="true"/>
      <entry key="finishCertifications" value="false"/>
      <entry key="forwardInactiveWorkItems" value="true"/>
      <entry key="phaseCertifications" value="true"/>
      <entry key="processWorkflowEvents" value="true"/>
      <entry key="pruneAttachments" value="true"/>
      <entry key="pruneBatchRequests" value="true"/>
      <entry key="pruneCertifications" value="true"/>
      <entry key="pruneHistory" value="true"/>
      <entry key="pruneNativeIdentityChangeEvents" value="true"/>
      <entry key="prunePendingAttachments" value="true"/>
      <entry key="pruneProvisioningTransactons" value="true"/>
      <entry key="pruneRequests" value="true"/>
      <entry key="pruneSyslogEvents" value="true"/>
      <entry key="pruneTaskResults" value="true"/>
      <entry key="scanRemediations" value="true"/>
      <entry key="taskCompletionEmailNotify" value="Disabled"/>
      <entry key="taskCompletionEmailRecipients"/>
      <entry key="taskCompletionEmailTemplate"/>
    </Map>
  </Attributes>
  <Description>Prune identity snapshots, task results, and certifications. Perform other background maintenance tasks.
        </Description>
  <Parent>
    <Reference class="sailpoint.object.TaskDefinition" id="0ad200e18a181198818a1802be3d01b8" name="System Maintenance"/>
  </Parent>
</TaskDefinition>

We have a separate task that is designed to make enable/disable accounts really snappy with this specific Perform Account Actions that only has the Process Events option ticked that runs every minute:

<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE TaskDefinition PUBLIC "sailpoint.dtd" "sailpoint.dtd">
<TaskDefinition created="1695299074385" id="0ad200e18aaf1106818ab7b2f9510d78" modified="1749481560090" name="Perform Account Actions" resultAction="Delete" subType="task_item_type_system" type="System">
  <Attributes>
    <Map>
      <entry key="TaskDefinition.runLengthAverage" value="0"/>
      <entry key="TaskDefinition.runLengthTotal" value="130480"/>
      <entry key="TaskDefinition.runs" value="7479150"/>
      <entry key="TaskSchedule.host"/>
      <entry key="automaticallyCloseCertifications" value="false"/>
      <entry key="denormalizeScopes" value="false"/>
      <entry key="enablePartitioning" value="false"/>
      <entry key="finishCertifications" value="false"/>
      <entry key="forwardInactiveWorkItems" value="false"/>
      <entry key="phaseCertifications" value="false"/>
      <entry key="processWorkflowEvents" value="true"/>
      <entry key="pruneAttachments" value="false"/>
      <entry key="pruneBatchRequests" value="false"/>
      <entry key="pruneCertifications" value="false"/>
      <entry key="pruneHistory" value="false"/>
      <entry key="pruneNativeIdentityChangeEvents" value="false"/>
      <entry key="prunePendingAttachments" value="false"/>
      <entry key="pruneProvisioningTransactons" value="false"/>
      <entry key="pruneRequests" value="false"/>
      <entry key="pruneSyslogEvents" value="false"/>
      <entry key="pruneTaskResults" value="false"/>
      <entry key="scanRemediations" value="false"/>
      <entry key="taskCompletionEmailNotify" value="Disabled"/>
      <entry key="taskCompletionEmailRecipients"/>
      <entry key="taskCompletionEmailTemplate"/>
    </Map>
  </Attributes>
  <Description>CNS Account Enable Disable Unlock
        </Description>
  <Owner>
    <Reference class="sailpoint.object.Identity" id="0ad200e18a4719d2818a655047a42db4" name="bboggiano_adm"/>
  </Owner>
  <Parent>
    <Reference class="sailpoint.object.TaskDefinition" id="0ad200e18a181198818a1802be3d01b8" name="System Maintenance"/>
  </Parent>
</TaskDefinition>

Are these two tasks conflicting? I don’t know how to verify this for sure.

thanks :smiley:

The biggest headscratcher is that we just get an influx of logs in the same second. It is like our IdentityIQ is trying to start the same task 10-20 times in the same second when trying to execute that task schedule.

Looked at the TaskSchedule objects in our database and found a bunch of these stale, oddly-named task schedules that have the “Perform Maintenance” attached to them:

<TaskSchedule name="c86437cb5099420cb545ca1b0dac2b53">
  <Arguments>
    <Map>
      <entry key="executor" value="Perform Maintenance"/>
      <entry key="launcher" value="bboggiano_adm"/>
      <entry key="locale" value="en_US"/>
      <entry key="timezone" value="America/New_York"/>
    </Map>
  </Arguments>
  <Description>Immediate task runner</Description>
</TaskSchedule>

These items don’t show up in the Scheduled Tasks tab and there is no schedule attached to them. It doesn’t make sense how these could ever activate.

Is it safe to delete these?

Hi @acrumley - If there are orphaned Perform Maintenance tasks, then you should remove them. There should only be 1 schedule entry per PM task that you have configured. If the system detects the task is running, you will get that error you posted. When you have multiple Perform Maintenance tasks, avoid having the same settings, otherwise they will conflict. So having process workflow events checked in both most likely is what is causing the errors.

I changed the task to Rename New to see how many time it executes. Here is the ouptut:

I think the CRON job is running X amount of times every 5 minutes. is this the correct CRON expression for once every 5 minutes?

<TaskSchedule id="Perform maintenance" lastExecution="1749483659000" name="Perform maintenance" nextExecution="1749483900000">
  <Arguments>
    <Map>
      <entry key="executor" value="Perform Maintenance"/>
      <entry key="nextActualFireTime" value="1749483900000"/>
    </Map>
  </Arguments>
  <CronExpressions>
    <String>* 0/5 * * * ? </String>
  </CronExpressions>
  <Description>Perform maintenance every five minutes.</Description>
</TaskSchedule>

Because of this observation, I do not think having the process events click on both is causing the “Perform maintenance task is already running”. I do think your observation might help me with the “Context already created” error:

It was a bad CRON expression, should be 0 */5 * * * ?