1753899 Members
7951 Online
108809 Solutions
New Discussion юеВ

Re: Files > 1GB

 
Tomek_1
Advisor

Files > 1GB

Hello
I have a HP-UX 10.20.
Is there any problem to have a files size over 1GB? I'm not sure because i can see the file which was growing up every day but not today.

Best Regards
Tom
3 REPLIES 3
Stefan Farrelly
Honored Contributor

Re: Files > 1GB

There is no 1GB limit. Filesystems can have a 2GB limit - use the /usr./sbin/fsadm command to test if a filesystem has a 2GB limit;

fsadm -F vxfs

If it returns nolargefiles then there is a 2GB limit.

The only other restriction could be via ulimit via your shell. Check with ulimit -a

-c The number of 512-byte blocks in the size of core dumps.
-d The number of kilobytes in the size of the data area.
-f The number of 512-byte blocks in files written by child
processes (files of any size can be read).
-n The number of file descriptors.
-s The number of kilobytes in the size of the stack area.
-t The number of seconds to be used by each process.

You can try using ulimit to increase them.
Im from Palmerston North, New Zealand, but somehow ended up in London...
Tomek_1
Advisor

Re: Files > 1GB

Thanks for help.
How can i set ulimit permanently (not only for 1 session)

Regards
Tom
Mark Grant
Honored Contributor

Re: Files > 1GB

You can put "ulimit" with the maximum file size in a users .profile for that one user or in /etc/profile for all users.
Never preceed any demonstration with anything more predictive than "watch this"