Operating System - HP-UX
1833027 Members
3711 Online
110049 Solutions
New Discussion

Re: how do you change filesize limit on hprx4640

 
khalid72
Occasional Advisor

how do you change filesize limit on hprx4640

typing the following command does not help

kctune max_acct_file_size=40000000
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: how do you change filesize limit on hprx4640

Shalom,

You may have exceeded the maximum value for the parameter. Try a lower value.

kctune: usage:
kctune [-dghuvBDKS] [-c config] [-C comment] [-P fields] [args...]
args are:
tunable (query tunable)
tunable= (set tunable to default)
tunable=DEFAULT (set tunable to default)
tunable=expr (set tunable to expression)
tunable+=value (increase tunable by value)
tunable>=value (set tunable to value if currently less)

Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
rick jones
Honored Contributor

Re: how do you change filesize limit on hprx4640

Your subject seems to imply a general maximum file size question, but your kctune implies you are going after a specific file?

If you are trying to write a file > 2G then the application has to either be "64-bit" or 32-bit but compiled with the options for 64-bit file offsets. Further, the filesystem on which the file is to reside must have been created with the "largefiles" option. I forget if largefiles can be enabled on a filesystem after it has been created - I suspect that manpages for tunefs and newfs etc may have pointers to that answer.

In the case of a specific file controlled by kctune, not all kctunes are "immediate" - some require a reboot. I've no idea if max_act_file_size is one or the other.
there is no rest for the wicked yet the virtuous have no pillows
khalid72
Occasional Advisor

Re: how do you change filesize limit on hprx4640

Thank you every one. we have resolved this issue. During the live testing going on it did not accpet the value. but once the machine was restarted that solve the problem.

Thank you again every one for your help
khalid72
Occasional Advisor

Re: how do you change filesize limit on hprx4640

thanks,