IBM Support

IC80477: DB2 MAY HANG WHILE OPENING A FILE IF THERE IS A STALE NFS MOUNT

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Depending on file systems mount order, DB2 instance may block if
    one or more NFS mounts become stale. If the NFS file system
    mount is stale and we need to open a file that is in a files
    ystem that is mounted after that NFS file system, we can hang.
    Another clue that you may be hitting this issue is that the
    thread that is hung will not produce a stack with db2pd -stacks
    (it will be missing from the stack files in the diagpath).  You
    can use an OS utility (pstack, gstack, procstack) to dump the
    stacks and you will then find the missing stack in a call to
    sqloFetchAndStoreFSInfoInFileHandle and ossGetDiskInfo.
    
    Example top of the thread stack:
    
    Thread 25 (Thread 47307022133568 (LWP 12073)):
    #0  0x00002b067436e115 in _xstat () from /lib64/libc.so.6
    #1  0x00002b06739cb288 in ossGetDiskInfo ()
    #2  0x00002b066f7df779 in sqloFetchAndStoreFSInfoInFileHandle ()
    #3  0x00002b066f7de1a8 in sqloopenp () from
    /db2/DLR/sqllib/lib64/libdb2e.so.1
    (...)
    

Local fix

  • Changing the file system mount order to have NFS file systems
    mounted after local ones.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Any where a stale NFS mount might occur                      *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 Version 9.7 Fix Pack 6                        *
    ****************************************************************
    

Problem conclusion

  • First fixed in DB2 Version 9.7 Fix Pack 6
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC80477

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    970

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-12-16

  • Closed date

    2012-06-12

  • Last modified date

    2012-06-12

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

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

    IC84316

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • R970 PSN

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSEPGG","label":"DB2 for Linux, UNIX and Windows"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.7","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
12 June 2012