Performing basic system tuning and monitoring

Changing the maximum allowed size of files

You cannot create or copy a file that is larger than the limit allowed by ulimit(1). This restriction prevents runaway processes from taking up too much disk space.

If you must work with a file that exceeds the set limit, you must change the default user limit size.

The default filesystem limit size also applies to the NUCFS. See ``The NUC file system (NUCFS)'' for more information.


NOTE: The ulimit cannot exceed the values of the SFSZLIM and HFSZLIM tunable parameters.

Use ulimit(1) to change the file size limit. Changing the user limit this way is valid for the current session only.

  1. Open a scoterm window.

  2. Use the su(1M) command to become root.

  3. To view your current limit in blocks, enter:

    ulimit

  4. To set your limit to the new size for the current session, enter:

    ulimit [-f] new_size<

You can also permanently change your file size limit by setting the new limit in the /etc/profile or the /etc/default/login file.


Next topic: Considerations for large files
Previous topic: Managing large files

© 1999 The Santa Cruz Operation, Inc. All rights reserved.
UnixWare 7 Release 7.1.1 - 5 November 1999