IBM Support

FTP client fails while sending large file to AIX server

Troubleshooting


Problem

FTP client fails with broken pipe error, EDC5140I, when sending a large file to AIX FTP server.

Symptom

FTP client fails with message EZA2590E when sending a large file to an AIX FTP server with an errno of 140 and an errnojr of 76690291.

Errno 140 indicates a return code of EPIPE with description, "The pipe is broken."

The errnojr contains a reason code qualifier and a reason code. Reason code qualifier 7669 indicates that the error represented by the reason code is not an OS/390 UNIX reason code. Reason code 0291 indicates a return code of JRTCPERROR with description, "TCP returned an error identified by the return code," which is the 140 errno from above.

Another common symptom is that the AIX FTP server sends the message, "452 Error writing file: Error 0," which is an indication that the AIX server is out of storage.

Cause

The file size limit for the AIX user on the target server is too small.

Resolving The Problem

Change the file size limit for the user that initiates the transfer on the AIX system. To change the file size limit for a particular user, add or edit the fsize attribute for the user in the /etc/security/limits file on the AIX system. Change the file size limit to unlimited (fsize = -1) or to a size equal to the size of the file being transferred. This may require an restart of the AIX FTP server to pick up the new configuration.

[{"Product":{"code":"SSSN3L","label":"z\/OS Communications Server"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Component":"All","Platform":[{"code":"PF035","label":"z\/OS"}],"Version":"1.6;1.7;1.8;1.9;1.10;1.11;1.12;1.13;2.1;2.2;2.3","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
15 June 2018

UID

swg21109066