what is the impact of changing file size unlimited in AIX

umesh4exp
umesh4exp used Ask the Experts™
on
what will be impact of changing hard file size/soft file size unlimited in AIX for particular user?
How to change hard file size/soft file size to unlimited at the shell prompt?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2007

Commented:
I believe that practically there shouldn't be any problem. You may try the ulimit command

ulimit -f 0
Top Expert 2009

Commented:
There is no performance impact, and I prefer to manage file limits with quotas, so the max file size, to me, is a useless limit anyway.
Most Valuable Expert 2013
Top Expert 2013
Commented:
Hi,
the correct syntax to change the ulimit in AIX to "unlimited" is
ulimit -f unlimited
ulimit -f 0 will actually set the file size limit to 0, meaning that no file can be created any more.
The "hard limit" cannot be set at the shell prompt using 'ulimit', only with 'chuser'. Example for both limits, soft and hard:
chuser fsize=_1 [userid]
chuser fsize_hard=-1 [userid]


This is only allowed for root or users with "UserAdmin" authorization.
An alternate way to do it is editing /etc/security/limits and entering, under the appropriate user's stanza

fsize = -1
fsize_hard = -1

to set both limits to "No limit". Only root is allowed to edit this file.
As for the impact - there are certainly no performance issues. The only risky things are "runaway" processes filling up a filesystem accidentally.
wmp
Most Valuable Expert 2013
Top Expert 2013

Commented:
TYPO, as always:
chuser fsize=-1 [userid]

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial