![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to set the ulimit on AIX 5.2 version? | Shilpi | AIX | 3 | 11-15-2007 06:36 AM |
| ulimit | melanie_pfefer | SUN Solaris | 1 | 04-19-2007 07:31 AM |
| ulimit | Student37 | UNIX for Dummies Questions & Answers | 3 | 07-20-2005 05:04 AM |
| ulimit -d | adadevil | UNIX for Dummies Questions & Answers | 1 | 03-05-2004 10:42 AM |
| ulimit on sco release 3.2v5.0.4 | Shanker | UNIX for Dummies Questions & Answers | 3 | 12-22-2000 07:58 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread |
Rating:
|
Display Modes |
|
||||
|
There are two limits on files - the total number of files you can have open at one time, and the max size of a file. The number of open files depends on things like kernel settings and your OS. The max size of a file usually depends on whether your system can support files larger than 2GB. Of course you have to have free disk space.....
|
|
||||
|
thanks jim,
i jabe heard this before, of a file not being able to be bigger than 2G. Is this because this is the default? If my ulimit for file is set to say 10G, then can I create a file bigger than 2G? Or are there some other programs that also have limits set to 2G, so even if I created it for 5G on my unix box, it might still give me some problems? thanks |
|
||||
|
There are various file system types that have inherent limits. cdrfs jfs jfs2 etc. So as you build a unix system you need to be aware of the limitations of the various filesystem types. Each of them will have upper limits on inode numbers file sizes etc.
|
|
||||
|
Files bigger than the number of bytes that a 32 bit integer can reference are usually called largefiles. Most modern UNIX-es have support for it with either oddly-named non-standard calls like fopen64() or some kind of more modern filesystem.
If you have LARGEFILE support and no disk quota enabled, you can essentially create a file that has size equal to the free space available on the disk. This is a BAD idea in general. sysadmins love to hate giant files, especially small files with giant holes in them.... |
| Sponsored Links | ||
|
|