IBM Support

IT21512: DSMCAD.EXE CAN HANG TRYING TO START DSMSVC.EXE DUE TO A HANDLE LEAK

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • On Windows platform, dsmcad.exe service can hang in a stopped
    state when trying
    to start dsmcsvc.exe
    
    Client 'service' trace will show similar to:
    <timestamp> [PID] [TID] : ..\..\diagent\cad\cadsched.cpp( 364):
    Schedule Name : SCHED_NAME
    <timestamp> [PID] [TID] : ..\..\diagent\cad\cadsched.cpp( 372):
    Schedule Action : Command
    <timestamp> [PID] [TID] : ..\..\diagent\cad\cadsched.cpp( 380):
    Schedule Objects : "C:\Program
    Files\Tivoli\TSM\TSMScripts\script.bat"
    <timestamp> [PID] [TID] : ..\..\diagent\cad\cadsched.cpp( 388):
    Schedule Options :
    <timestamp> [PID] [TID] : ..\..\diagent\cad\cadsched.cpp( 396):
    Schedule StartDateTime : 00:00:00 03/05/2017
    <timestamp> [PID] [TID] : ..\..\diagent\cad\cadsched.cpp( 554):
    ccHandleSleepExecuteState: Entering
    <timestamp> [PID] [TID] : ..\..\diagent\cad\cadsched.cpp( 567):
    ccHandleSleepExecuteState: Sleeping for 3600
    <timestamp> [PID] [TID] : ..\..\diagent\cad\cadsched.cpp( 872):
    ccNightyNight: Entering
    
    <timestamp> [PID] [TID] : ..\..\diagent\cad\cadsched.cpp( 581):
    ccHandleSleepExecuteState: Destroying
    <timestamp> [PID] [TID] : ..\..\diagent\cad\cadsched.cpp( 648):
    ccHandleExecuteState, sleepTime = 600
    <timestamp> [PID] [TID] : ..\..\diagent\cad\cadsched.cpp( 767):
    ccEraseTimerFile: pkRemove failed, errno=<2>, error:<No such
    file or directory>
    <timestamp> [PID] [TID] : ..\..\diagent\cad\cadsched.cpp( 827):
    ccCreateTimerFile: contents: This is a temporary TSM file used
    by the Cad managed scheduler.
    <timestamp> [PID] [TID] : ..\..\diagent\cad\cadsched.cpp( 830):
    ccCreateTimerFile: contents:  PROMPTED 61812 10.11.23.107
    <timestamp> [PID] [TID] : ..\..\diagent\cad\cadsched.cpp( 845):
    ccCreateTimerFile: Timer file has been closed
    <timestamp> [PID] [TID] : ..\..\diagent\winnt\psutcad.cpp( 415):
    psCadStartScheduler: Entering
    <timestamp> [PID] [TID] : ..\..\diagent\winnt\disvutil.cpp(
    242): CheckStartDIAgentService(): cadPid: 6192.
    <timestamp> [PID] [TID] : ..\..\diagent\winnt\disvutil.cpp(
    245): CheckStartDIAgentService(): cadPidString: 6192
    
    <timestamp> [PID] [TID] : ..\..\diagent\winnt\disvutil.cpp(
    249): Agent service is STOPPED
    
    
    
    This hang can occur due to a handle leak which causes the
    Windows Service Control Manager to be unable to start the
    scheduler service dsmcsvc.exe.
    
    
    Tivoli Storage Manager and IBM Spectrum Protect versions
    affected:
    Client 6.4.x, 7.1.x and 8.1.x for Windows platform
    
    
    Initial Impact: Medium
    
    Additional Keywords:  TSM IBM Spectrum Protect hang service
    

Local fix

  • Reboot the client host.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * IBM Spectrum Protect Backup-Archive client Version 7.1.6     *
    * running on all Windows platforms                             *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See ERROR DESCRIPTION                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Apply fixing level when available. This problem is currently *
    * projected to be fixed in levels  7.1.8 and 8.1.4.  Note that *
    * until these levels are available, this information is        *
    * subject to change at the discretion of IBM.                  *
    ****************************************************************
    *
    

Problem conclusion

  • The problem has been fixed so that there is no  sporadic
    schedule hangs during backups.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT21512

  • Reported component name

    TSM CLIENT

  • Reported component ID

    5698ISMCL

  • Reported release

    71W

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-07-19

  • Closed date

    2017-09-07

  • Last modified date

    2017-09-07

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Modules/Macros

  • dsmc
    

Fix information

  • Fixed component name

    TSM CLIENT

  • Fixed component ID

    5698ISMCL

Applicable component levels

  • R71W PSY

       UP

  • R81W PSY

       UP



Document information

More support for: Tivoli Storage Manager

Software version: 71W

Reference #: IT21512

Modified date: 07 September 2017