IBM Support

IT05714: BFTESTBACKUPFILE SLOCK ON AGGREGATE CAN CAUSE DEADLOCK

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Backup stgpool will appear to hang with a message resembling the
    one below.
    
    ANR0379W A server database deadlock situation has been
    encountered; the lock request for the bf  object
    (sub-bitfile) id lock, 22077517258 will be denied to
    resolve the deadlock.
    
    example thread stuck waiting on lock:
    
    ---------- tid# 60096887 (pthread ID:  42211) ----------
     0x09000000005182e0  _cond_wait_global(??, ??, ??) + 0x4e0
     0x0900000000518e74  _cond_wait(??, ??, ??) + 0x34
     0x0900000000519b5c  pthread_cond_wait(??, ??) + 0x19c
     0x000000010000812c  pkWaitConditionTracked(??, ??, ??, ??, ??)
    + 0xac
     0x0000000100178fa0  tmLockTracked(??, ??, ??, ??, ??, ??, ??,
    ??) + 0xfc0
     0x000000010061ab54  BfLockAggregateTracked(??, ??, ??, ??, ??,
    ??) + 0xb4
     0x000000010060f22c  BfReconstruct(??, ??, ??, ??, ??, ??, ??,
    ??) + 0x522c
     0x000000010099d924  CopyBatch(??) + 0x1824
     0x0000000100992fe4  CopyVolume(??) + 0x444
     0x000000010099234c  AfCopyVolume(??) + 0x24c
     0x0000000100bc18d0  AfBackupPoolThread(??) + 0x150
     0x000000010000cadc  StartThread(0x0) + 0x9c
     0x09000000004f6e10  _pthread_body(??) + 0xf0
    
    Tsn=0:1653673069, Resurrected=False, InFlight=True,
    Distributed=False, Persistent=True, Addr 123019748
       Start ThreadId=10895075, Timestamp=11/06/14 09:08:12,
    Creator=afcputil.c(6321)
       Last known in use by ThreadId=10895075
       Participants=3, summaryVote=ReadOnly
       EndInFlight False, endThreadId 0, tmidx 0, processBatchCount
    0, mustAbort False.
    
    slot -> 2772:
     LockDesc: Type=46001(bf aggregate (superbitfile) id),
    NameSpace=0, SummMode=sLock, Key='22117302969'
       Holder: (bfaggrut.c:3637 Thread 10895071) Tsn=0:1633120861,
    Mode=sLock
       Waiter: (bfcreate.c:3876 Thread 10895075) Tsn=0:1653673069,
    Mode=xLock
    
    
    The problem is caused when BfTestBackupFile erroneously holds a
    lock for the
    duration of the backup stgpool process and can deadlock when a
    process attempts to
    obtain a lock to copy that same aggregate.
    

Local fix

  • None.  Apply fixing level when available.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All Tivoli Storage Manager server users of the BACKUP        *
    * STGPOOL command.                                             *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See ERROR DESCRIPTION.                                       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Apply fixing level when available. This                      *
    * problem is currently projected to be fixed                   *
    * in levels 6.3.6, 7.1.1.200 and 7.1.3. Note that              *
    * this is subject to change at the discretion                  *
    * of IBM.                                                      *
    ****************************************************************
    

Problem conclusion

  • This problem was fixed.
    Affected platforms: AIX, HP-UX, Solaris, Linux and Windows.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT05714

  • Reported component name

    TSM SERVER

  • Reported component ID

    5698ISMSV

  • Reported release

    71A

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2014-11-25

  • Closed date

    2014-12-10

  • Last modified date

    2015-01-29

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

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

Fix information

  • Fixed component name

    TSM SERVER

  • Fixed component ID

    5698ISMSV

Applicable component levels

  • R63A PSY

       UP

  • R63H PSY

       UP

  • R63L PSY

       UP

  • R63S PSY

       UP

  • R63W PSY

       UP

  • R71A PSY

       UP

  • R71H PSY

       UP

  • R71L PSY

       UP

  • R71S PSY

       UP

  • R71W PSY

       UP

[{"Line of Business":{"code":"LOB26","label":"Storage"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSGSG7","label":"Tivoli Storage Manager"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.1.3"}]

Document Information

Modified date:
24 September 2021