DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Performing basic system monitoring and tuning

Changing the maximum allowed file size (ulimit)

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.


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

Use ulimit(1) to change the file size limit. The changed user limit is in effect for the current session only.

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

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

    ulimit

  3. 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: The wall command

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004