Video Screencast Help
Search Video Help Close Back
to help
New in the Rewards Catalog: Vouchers for "Symantec Technical Specialist" and "Symantec Certified Specialist" exams.

Altiris tasks is being put to sleep

Created: 29 Jul 2010 | 12 comments
kstasky's picture
0 0 Votes
Login to vote

Hello,

We try to deploy some software and some of them are always put by altiris to sleep and after a while get 'failed'.

An example from the Logger follows:
----------------------------------------------------
Log File Name: D:\Program Files\Altiris\Notification Server\Logs\a.log
Priority: 4
Date: 7/29/2010 11:38:05 AM
Tick Count: 66162953
Host Name: T-VSRV-ALTIRIS
Process: AtrsHost (1760)
Thread ID: 68
Module: AtrsHost.exe
Source: Altiris.TaskManagement.ServerTasks.ServerTaskExecutionInstance.Sleep
Description: Task instance Quick run on ML350G6 (7/29/2010 11:12:39 AM) is being put to sleep until 7/29/2010 11:39:05 AM. Instance GUID: 372aecf7-4853-4de6-aaa7-d25d954bedbb
------------------------------------------------------
If we make a task that copies the same software to the destination server and then run it from there it runs successfully.
Our altiris server runs on windows 2003 SP2 and the destination server is windows 2003 sp2.
 

Comments

mclemson's picture
29
Jul
2010
0 Votes 0
Login to vote

Do you have a maintenance window?

If you have a maintenance window, tasks won't run.  Instead, they snooze periodically until they retry during the maintenance window and succeed.

This KB may explain it in more detail:
https://kb.altiris.com/article.asp?article=49768&p=1

Is this target computer subject to a maintenance window?

Mike Clemson, Systems Engineer
Intuitive Technology Group -- Symantec Platinum Partner

kstasky's picture
29
Jul
2010
0 Votes 0
Login to vote

Neither the server nor the target computer are subject to a maintenance window. At the same time that some jobs are put to sleep, others run successfully. The jobs that are put to sleep return a "Failed" status due to timeout after a while.

chessdotcom's picture
04
Aug
2010
0 Votes 0
Login to vote

I'm having this problem also.

We are not using maint. windows either.  It just started happening this week.  Last week everything was fine.

chessdotcom's picture
06
Aug
2010
0 Votes 0
Login to vote

update

- 0 / 1 child instances done. Timeout at 8/9/2010 7:58:00 PM. Will complete at 8/8/2010 4:58:00 PM if 95% of child instances are complete.
Then
Task instance Quick run on hpc12233-lpc1 (8/6/2010 10:58:00 AM) is being put to sleep until 8/6/2010 


We have a lot of these lines all of a sudden in the logs too:

 

Requested license for resource 'hpc12233-lpc (82d5b95b-b6b2-4303-b310-05409c5e56bf)' at '8/6/2010 3:58:00 PM' for policy 'Altiris Software Management Solution SP2 MR1 (ad3f5980-d9e9-11d3-a318-0008c7a09198)'

No tasks are running.  Anyone have a clue?  We can't even run the power scheme built in tasks.  Same error. 

Dead in the water.  Any help is appreciated.

chessdotcom's picture
06
Aug
2010
0 Votes 0
Login to vote

fixed here

someone in our group had changed our managed delivery settings to Allow user to turn on policy from the Altiris Agent and task agent settings to Choose the Task Server with the fewest computers currently connected

Changes in one or both fixed the problem for us.  Hope this helps anyone else having the task/sleep problem. 

kstasky's picture
09
Aug
2010
0 Votes 0
Login to vote

Ok, just came back from vacation and will try this out.

robinw's picture
29
Sep
2010
0 Votes 0
Login to vote

Hi,   I had the exact same

Hi,

 

I had the exact same issue and used the instructions from chessdot.com. Now it works fine.

I enabled the option "Choose the Task Server to which the agent has the fastest connection" in the Task Agent Settings

 

Thx,

Robin

kstasky's picture
10
Dec
2010
0 Votes 0
Login to vote

After trying different

After trying different settings and going over our configurations, it seems that the issue is resolved, I will get back to it if needed.

powellbc's picture
25
Jan
2011
0 Votes 0
Login to vote

I am bumping this to note

I am bumping this to note that suddenly tasks stopped executing on my clients yesterday. I pored over the logs on the NS, task servers, and clients and noticed that the tasks were being put to sleep immediately after being logged as starting. I found this thread and changing the setting as described fixed the issue.

Is this a known bug?

mclemson's picture
25
Jan
2011
1 Vote +1
Login to vote

It appears so

http://www.symantec.com/business/support/index?page=content&id=TECH140237

Mike Clemson, Systems Engineer
Intuitive Technology Group -- Symantec Platinum Partner

powellbc's picture
25
Jan
2011
0 Votes 0
Login to vote

mclemson, you ought to teach

mclemson, you ought to teach a class on searching the kb.  excellent find!

powellbc's picture
26
Jan
2011
0 Votes 0
Login to vote

I have an unfortunate update.

I have an unfortunate update.  Tasks stropped working again yesterday after switching to "Choose the Task Server to which the agent has the fastest connection."  Now, after switching back to "Choose the Task Server with the fewest computers currently connected" has again restored functionality.

Looking at the kb article and how our environment works, I can understand how this issue may be occurring.  We have 4 task servers with no assignments.