PJ40850: PROBLEM WITH IBM FTP SERVER CODE USING NOSWEEP

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

APAR status

  • Closed as program error.

Error description

  • See Problem Summary.
    

Local fix

  • na
    

Problem summary

  • APAR NUMBER:  PJ40850
    PRODUCT:  z/TPF
    FUNCTIONAL AREA:  TCP/IP NATIVE STACK
    SHIPPED IN PUT:  10
    
    ABSTRACT:
    TCP/IP sockets that are waiting for a remote application close
    are never cleaned up when the TPF_NOSWEEP option is set.
    
    PACKAGE CONTENTS:
    Source Segments:
    (C) base/rt/ctsw.asm
    
    Object Only Binaries:
    None.
    
    Configuration Independent Binaries:
    (C) base/obj/ctsw.o
    (C) base/load/CTSW.so
    
    Support Files:
    base/lst/ctsw.lst
    base/lst/CTSW.map
    
    OTHER BINARIES TO BUILD: NO
    None.
    
    COMMENTS:
    When sockets are marked as TPF_NOSWEEP in z/TPF, the z/TPF
    socket sweeper will not clean up these sockets even if they
    have no application activity. In the case where the z/TPF
    application issued a closed and the z/TPF system is waiting for
    the remote to close, these sockets are never cleaned up. Even
    though the z/TPF application ECB likely no longer exists. If
    TPF_NOSWEEP is set, there is nothing in the system that will
    clean up these abandoned sockets. The z/TPF FTP Server uses the
    TPF_NOSWEEP option. The problem seen by the customer was that
    the FTP Server closed the sockets, but due to a problem on the
    FTP client on the remote end, the close never completed,
    leaving those sockets permanently abandoned.
    

Problem conclusion

  • SOLUTION:
    The z/TPF socket sweeper, segment ctsw.asm, has been updated to
    clean up sockets that are idle and are in FIN_WAIT2 state
    (meaning waiting for the remote to issue a close) regardless of
    the TPF_NOSWEEP option.
    
    COREQS: NO
    None.
    
    MIGRATION CONSIDERATIONS: NO
    None.
    
    BUILD COMMANDS AND INSTRUCTIONS: YES
    #maketpf commands for linux
    maketpf -f CTSW ctsw.o
    maketpf CTSW link
    
    UPDATED INFORMATION UNITS: NO
    None.
    
    See your IBM representative if you need additional information.
    
    DOWNLOAD INSTRUCTIONS:
    http://www.ibm.com/software/htp/tpf/maint/maintztpf.html
    
    APAR URL:
    http://www.ibm.com/software/htp/tpf/ztpfmaint/put10/PJ40850.htm
    

Temporary fix

Comments

APAR Information

  • APAR number

    PJ40850

  • Reported component name

    Z/TPF

  • Reported component ID

    5748T1501

  • Reported release

    110

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-01-07

  • Closed date

    2013-04-05

  • Last modified date

    2013-04-05

  • 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

    Z/TPF

  • Fixed component ID

    5748T1501

Applicable component levels

  • R110 PSY

       UP



Rate this page:

(0 users)Average rating

Document information


More support for:

TPF
z/TPF

Software version:

110

Reference #:

PJ40850

Modified date:

2013-04-05

Translate my page

Machine Translation

Content navigation