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(C). 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(C) to change the file size limit. The changed user limit is in effect for the current session only.

  1. Use the su(ADM) 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

© 2007 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 05 June 2007