AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
 View Only
Expand all | Collapse all

How is the fsize limit enforced for root?

  • 1.  How is the fsize limit enforced for root?

    Posted Tue March 27, 2018 09:43 AM

    Originally posted by: Ken Dyck


    How is the fsize limit enforced for the root user, if at all? I'm seeing the following under bash:

    [root@AIXDEV ~]# ulimit -f 2000000
    [root@AIXDEV ~]# ulimit -f
    2000000
    [root@AIXDEV ~]# lmktemp file.temp 1073741824
    file.temp
    [root@AIXDEV ~]# du file.temp
    2097160 file.temp
    

    The new file clearly exceeds the limit (2097160 > 2000000). Is this expected?


    #AIX-Forum


  • 2.  Re: How is the fsize limit enforced for root?

    Posted Wed March 28, 2018 09:18 AM

    Originally posted by: AncientAIXer


    I have never known them to be enforced and I would be very surprised if they were.  Otherwise, many system processes may not work properly.


    #AIX-Forum