Universal Agent script crashing Windows 2008 servers

Technote (troubleshooting)


Problem(Abstract)

The Universal Agent script is not completing within 60 seconds and is killed by force.

Symptom

Universal Agent crashing Windows 2008 servers


Cause

The Universal Agent is forcibly killing its script, causing a memory leak and crashing the Windows 2008 server.

The root cause of the problem was the 60 second limitation. After the MDL was modified to add Runtime=300 to the // SOURCE statement the UA began working correctly.

See related APAR: http://www-01.ibm.com/support/docview.wss?uid=swg1IV16283


Environment

Windows 2008

Diagnosing the problem

The following line in the MDL file does not support SCAN.

Numeric C 999999 -FILTER={SCAN(0,Micr) OR SCAN(0,Copy)}

It was added to filter some of the script's results.
Check the UA log Hostname_um_#######-##.logs for errors similar to these.
The log snippet below confirms that FILTER not working:
(01/30,22:26:02.0099-1B6C:kumpmdua.c,50,"KUMP_MoveDataUseAttributeDelimi
ters") Entry
(2012/01/30,22:26:02.009A-1B6C:kumpmdua.c,82,"KUMP_MoveDataUseAttributeD
elimiters") Aptr @62B83F0 ActualDataSize 57 MaxDataLimit @62B8429
(2012/01/30,22:26:02.009B-1B6C:kumpmdua.c,226,"KUMP_MoveDataUseAttribute
Delimiters") Searching for end delimiter <,> in Aptr @62B83F0 <Copyright
(C) Microsoft Corporation. All rights reserved.> in attribute @429E998
<Label>
(2012/01/30,22:26:02.009C-1B6C:kumpmdua.c,392,"KUMP_MoveDataUseAttribute
Delimiters") Reassigning ValueSize from 0 to 57 for attribute <Label>
(2012/01/30,22:26:02.009D-1B6C:kumplatb.c,200,"KUMP_LoadAttrBucket")
Entry
(2012/01/30,22:26:02.009E-1B6C:kumplatb.c,222,"KUMP_LoadAttrBucket")
Load attribute <Label> size 57 type D data{Copyright (C) Microsoft
Corporation. All rights reserved.}
(2012/01/30,22:26:02.009F-1B6C:kumplatb.c,1000,"KUMP_LoadAttrBucket")
attribute <Label> ActualAttrValueSize 57 attrValue{Copyright (C)
Microsoft Corporation. All rights reserved.}
(2012/01/30,22:26:02.00A0-1B6C:kumplatb.c,1005,"KUMP_LoadAttrBucket")
Exit
(2012/01/30,22:26:02.00A1-1B6C:kumpmdua.c,448,"KUMP_MoveDataUseAttribute
Delimiters") Setting *Rptr to Bptr @NULL
(2012/01/30,22:26:02.00A2-1B6C:kumpmdua.c,456,"KUMP_MoveDataUseAttribute
Delimiters") Exit
(2012/01/30,22:26:02.00A3-1B6C:kumpmd2a.c,305,"KUMP_MoveDataToAttr")
Released SourceAttrLock for SEptr @429E870 <WMFLORCDS019A> table
<Customer>
(2012/01/30,22:26:02.00A4-1B6C:kumpmd2a.c,326,"KUMP_MoveDataToAttr")
Exit: 0x1
(2012/01/30,22:26:02.00A5-1B6C:kumpmdba.c,85,"KUMP_MoveDataFromBufferToA
ttr") Acquired SourceAttrLock for SEptr @429E870
(2012/01/30,22:26:02.00A6-1B6C:kumpmdba.c,90,"KUMP_MoveDataFromBufferToA
ttr") Examining attribute <Label> with size 57
(2012/01/30,22:26:02.00A7-1B6C:kumpmdba.c,90,"KUMP_MoveDataFromBufferToA
ttr") Examining attribute <Numeric> with size 0
(2012/01/30,22:26:02.00A8-1B6C:kumpmdba.c,150,"KUMP_MoveDataFromBufferTo
Attr") Note: initializing empty attribute <Numeric> in table <Customer>
(2012/01/30,22:26:02.00A9-1B6C:kumpmdba.c,90,"KUMP_MoveDataFromBufferToA
ttr") Examining attribute <Version> with size 0
(2012/01/30,22:26:02.00AA-1B6C:kumpmdba.c,150,"KUMP_MoveDataFromBufferTo
Attr") Note: initializing empty attribute <Version> in table
<Customer>
(2012/01/30,22:26:02.00AB-1B6C:kumpmdba.c,168,"KUMP_MoveDataFromBufferTo
Attr") Released SourceAttrLock for SEptr @429E870
(2012/01/30,22:26:02.00AC-1B6C:kumpmdba.c,180,"KUMP_MoveDataFromBufferTo
Attr") *** Not all attributes loaded for table <Customer>
@10614B0. Total 3, loaded 1 Count 57 Actual Buffer Size 57
(2012/01/30,22:26:02.00AD-1B6C:kumpmdba.c,185,"KUMP_MoveDataFromBufferTo
Attr") Buffer @62B83E0 state changed from ValidData to NotInUse
(2012/01/30,22:26:02.00AE-1B6C:kumpmdba.c,192,"KUMP_MoveDataFromBufferTo
Attr") Exit: 0x1
**************************************************************
The following log snippets below indicate the VBScript not completing within 60 seconds
(4EFDEAE9.0001-34A0:kumatbl.cpp,195,"tableManagerList constructor")
Table manager file <C:\IBM\ITM\TMAITM6\WORK\KUMATBLS> is currently in
use, retrying...
(4EFDEAEC.0000-34A0:kumatbl.cpp,178,"tableManagerList constructor")
Error: unable to rename table manager file
<C:\IBM\ITM\TMAITM6\WORK\KUMATBLS> errno=13, rc=-1
(4EFDEAEC.0001-34A0:kumatbl.cpp,221,"tableManagerList constructor")
Determine if another copy of Universal Agent is already active on this
system. Exiting...

(4F151A99.0000-32D0:kumplscr.c,2034,"KUMP_LaunchScript") ***** Child
process 13740 did not exit in the 60 seconds allowed
(4F151A9A.0000-32D0:kumplscr.c,161,"KUMP_TerminateScriptProcess")
TerminateProcess successful for child process 11312 <vxdmpadm.exe>
started by script <cscript.exe
C:\IBM\ITM\TMAITM6\WORK\..\scripts\Windows-Multipath-Status.vbs>
(4F151A9A.0001-32D0:kumplscr.c,210,"KUMP_TerminateScriptProcess")
TerminateProcess successful for child process 13740, script <cscript.exe
C:\IBM\ITM\TMAITM6\WORK\..\scripts\Windows-Multipath-Status.vbs>


Resolving the problem

Add or modify the Runtime parameter on //SOURCE statement. By default, the Script Data Provider allows a script a maximum of only 60 seconds to complete. Any script that exceeds the 60-second time limit is terminated to prevent a gradual accumulation of script processes that are in an endless loop or indefinite wait. If a script sometimes requires longer than 60 seconds to finish typical execution, you can give the script additional time by specifying a Runtime=nnn parameter, where nnn is the number of seconds. The Runtime= parameter is valid only for the SCRIPT source type. This parameter is ignored for all other source types. The following example shows how you can code the Runtime parameter: //SOURCE SCRIPT avail_media.sh Runtime=200 Interval=300

Related information

Similar problem reported in APAR IV16283

Rate this page:

(0 users)Average rating

Document information


More support for:

Tivoli Components
ITM Universal Agent V6

Software version:

6.2.2

Operating system(s):

Windows 2008 server

Software edition:

All Editions

Reference #:

1591756

Modified date:

2014-10-28

Translate my page

Machine Translation

Content navigation