github.com/darrenli6/fabric-sdk-example@v0.0.0-20220109053535-94b13b56df8c/devenv/limits.conf (about)

     1  # Copyright IBM Corp All Rights Reserved
     2  #
     3  # SPDX-License-Identifier: Apache-2.0
     4  #
     5  # /etc/security/limits.conf
     6  #
     7  #Each line describes a limit for a user in the form:
     8  #
     9  #<domain>        <type>  <item>  <value>
    10  #
    11  #Where:
    12  #<domain> can be:
    13  #        - a user name
    14  #        - a group name, with @group syntax
    15  #        - the wildcard *, for default entry
    16  #        - the wildcard %, can be also used with %group syntax,
    17  #                 for maxlogin limit
    18  #        - NOTE: group and wildcard limits are not applied to root.
    19  #          To apply a limit to the root user, <domain> must be
    20  #          the literal username root.
    21  #
    22  #<type> can have the two values:
    23  #        - "soft" for enforcing the soft limits
    24  #        - "hard" for enforcing hard limits
    25  #
    26  #<item> can be one of the following:
    27  #        - core - limits the core file size (KB)
    28  #        - data - max data size (KB)
    29  #        - fsize - maximum filesize (KB)
    30  #        - memlock - max locked-in-memory address space (KB)
    31  #        - nofile - max number of open files
    32  #        - rss - max resident set size (KB)
    33  #        - stack - max stack size (KB)
    34  #        - cpu - max CPU time (MIN)
    35  #        - nproc - max number of processes
    36  #        - as - address space limit (KB)
    37  #        - maxlogins - max number of logins for this user
    38  #        - maxsyslogins - max number of logins on the system
    39  #        - priority - the priority to run user process with
    40  #        - locks - max number of file locks the user can hold
    41  #        - sigpending - max number of pending signals
    42  #        - msgqueue - max memory used by POSIX message queues (bytes)
    43  #        - nice - max nice priority allowed to raise to values: [-20, 19]
    44  #        - rtprio - max realtime priority
    45  #        - chroot - change root to directory (Debian-specific)
    46  #
    47  #<domain>      <type>  <item>         <value>
    48  #
    49  
    50  #*               soft    core            0
    51  #root            hard    core            100000
    52  #*               hard    rss             10000
    53  #@student        hard    nproc           20
    54  #@faculty        soft    nproc           20
    55  #@faculty        hard    nproc           50
    56  #ftp             hard    nproc           0
    57  #ftp             -       chroot          /ftp
    58  #@student        -       maxlogins       4
    59  
    60  *                hard    nofile          10000
    61  *                soft    nofile          10000
    62  
    63  # End of file