Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HP-UX Maximum File Size Issue

Status
Not open for further replies.

GaryC50

Programmer
Jan 24, 2004
3
GB
Hi

Not sure if anyone can help but we have an old server running HP-UX 11.11

On said server there is a file which is now 1073741824 bytes in size.

Any attempt to add more data to this file results in a "File too large" error.

When I look at the output from ulimit -a I get:

time(seconds) unlimited
file(blocks) 2097152
data(kbytes) 1572864
stack(kbytes) 8192
memory(kbytes) unlimited
coredump(blocks) 4194303

And can see that 2097152 * 512 = 1073741824 so can see why the attempts fail.

My question is, how do I increase the file(blocks) ulimit? In the kernel it seems to have configurable paramters for data (maxdsiz) but not for file. If I attempt to manually increase it (ulimit -f 2097153) then I get an error.

Appreciate any help.

Thanks

Gary
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top