Loading...

Knowledge Center


More instances of the following action have been specified by this and either server tasks than the system allows: Run query
Technical Articles ID:   KB90724
Last Modified:  7/4/2018

Environment

McAfee ePolicy Orchestrator 5.x

Problem

The following error is seen at the ePO console when using the task build to duplicate or create a task:
 

More instances of the following action have been specified by this and either server tasks than the system allows: Run query

Problem

Orion.log (debug mode enabled) records the following error:
 

WARN  [http-nio-8443-exec-8] action.SchedulerUtil  - Unable to save scheduled task 'Apply Scan Completed Task 1' because the number of instances of action 'console.createDatasourceFromQuery' would exceed the system's maximum (2)
DEBUG [http-nio-8443-exec-8] audit.AuditLogWriterImpl  - audited: com.mcafee.orion.core.audit.AuditLog@a44e3f8[m_id=120154,m_tenantId=1,m_orionUserId=1,m_userName=admin,m_priority=1,m_cmdName=Duplicate Server Task,m_message=Failed to duplicate task "Apply Scan Completed Task",m_success=false,m_startTime=2018-06-27 01:47:10.186,m_endTime=2018-06-27 01:47:10.186,m_remoteAddress=10.95.123.180]

DEBUG [scheduler-InternalTask-thread-13] queue.TaskQueueEngine  - checking for new tasks to run
DEBUG [scheduler-InternalTask-thread-13] queue.TaskQueueEngine - returning max tasks to claim: 20. (maxTasks=20, activeCount=0)
DEBUG [scheduler-InternalTask-thread-13] queue.TaskQueueEngine - max tasks to claim is 20 for non-hidden tasks
DEBUG [scheduler-InternalTask-thread-13] queue.TaskQueueEngine - returning max tasks to claim: 2. (maxTasks=2, activeCount=0)
DEBUG [scheduler-InternalTask-thread-13] queue.TaskQueueEngine - max tasks to claim is 2 for tasks of type HIDDEN


The following errors are reported when duplicating an existing task:
 
The requested task does not exist!
Or
An unexpected error occurred

Cause

Under the Server Settings, Scheduled tasks, the Maximum task of the same type value has been set to 2. The default setting is Unlimited.

NOTE: The Scheduler Tasks section specifies the number of server tasks that run at the same time.

Solution

Under the Server Settings, Scheduled tasks, set the Maximum task of the same type value to the default setting Unlimited.

Rate this document

Beta Translate with

Select a desired language below to translate this page.

Languages:

This article is available in the following languages:

English United States
Japanese

Glossary of Technical Terms


 Highlight Glossary Terms

Please take a moment to browse our Glossary of Technical Terms.