PJ40850: PROBLEM WITH IBM FTP SERVER CODE USING NOSWEEP
Closed as program error.
See 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.
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
Reported component name
Reported component ID
NoSpecatt / Xsystem
Last modified date
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fixed component name
Fixed component ID
Applicable component levels
Translate this page: