[comp.protocols.tcp-ip] telnet and ftp for DEC's SysV UN*X

jrr@lanl.gov (John R. Red-horse) (02/20/91)

We are running a DEC version of System V (I believe it's r3) on a VAX
8540.  The version of ftp imposes a hard limit on file sizes somewhere
in the neighborhood of 1Mbyte.  I assume that this is a parameter that
can be changed, but I don't have the source to do the fix.  Does
anyone out there know where I might obtain such an animal?  Better
yet, how about a version that's already fixed?
Cheers,

tr@samadams.princeton.edu (Tom Reingold) (02/21/91)

In article <15136@lanl.gov> jrr@lanl.gov (John R. Red-horse) writes:

$ We are running a DEC version of System V (I believe it's r3) on a VAX
$ 8540.  The version of ftp imposes a hard limit on file sizes somewhere
$ in the neighborhood of 1Mbyte.  I assume that this is a parameter that
$ can be changed, but I don't have the source to do the fix.  Does
$ anyone out there know where I might obtain such an animal?  Better
$ yet, how about a version that's already fixed?
$ Cheers,

I suspect that this is not a limitation imposed by ftp but rather a
parameter in the kernel called the ulimit.  The ulimit limits the size
of a file of a process and its children.  This is often set at one
megabyte.  This supposed to prevent runaway processes from eating up
available filesystem space.  My feeling is that it causes more problems
than it prevents.

If you are root, type "ulimit 8192" and you will be able to create
files of up to 8192 blocks in your current shell.  This does not set
anything for other users or for root at a later time.  To change the
system-wide ulimit value, you have to reconfigure your kernel.

The above information is for System V.  It has nothing to do with
Berkeley UNIX.
--
        Tom Reingold
        tr@samadams.princeton.edu  OR  ...!princeton!samadams!tr
        "Warning: Do not drive with Auto-Shade in place.  Remove
        from windshield before starting ignition."