Technical article 107664

When using the FTP protocol to FTP large files, FTP hangs.

OpenServer 5.0.0OpenServer 5.0.2

Written · Last revised

Problem

When trying to FTP a file larger then 4096 bytes, the FTP process hangs transferring only 2920 bytes. These error messages occur:

ftpd[xxxx]: #2 open of pid file failed: No such file or directory

<date,time> routed [308]:rt_delete:8058310, ifp=<driver name>

In addition to the FTP sessions, the network could also hang; other error messages could also be displayed.

Cause

The network driver may be incorrect for the NIC, or the driver is running at a faster rate than the FTP session can properly work with.

Solution

Using SCO's Desktop GUI, select:
SYSTEMS ADMINISTRATION --> HARDWARE/KERNEL --> STREAMS
Press <Enter> to answer the questions, until you arrive at the
STRMAXBLK parameter.  This should be set to 4096 (the default
is 512KB). This will prevent the FTP session from hanging while
transferring large files. To change this parameter in character
mode, run /etc/conf/cf.d/configure.
NOTES:    SCO OpenServer 5.0.0 should have Release Supplement 5.0.0d and the
          SCO Networking Supplement 1.0.0 applied. SCO OpenServer 5.0.2
          should have Support Level Supplement (SLS) OSS449A applied.

It is important that you are using the latest drivers for the NIC.

See also

TA107704, "What is the SLS OSS449F Network Maintenance Supplement?"

TA107639,"Get: "ftpd[xxxx]: #2 open pid files failed: No such file or directory"."

The man pages: ftp(TC), ftpd(ADMIN), ln(C)

From the Xinuos technical article database, record 107664. Reproduced with permission. The original is at www.sco.com/ta/107664, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.