Reviewing System Parameter Changes on Linux

When you run the DPK setup script on Linux, the script overwrites certain system-level parameters.

Note:

You cannot use the DPK customizations to prevent the DPK setup script from touching these system-level files.

  • The script updates the /etc/sysctl.conf file on Linux.

    The following sysctl parameters are included in BASE_DIR/dpk/puppet/production/data/psft_unix_system.yaml.

    sysctl:
        kernel.msgmnb:                65538
        kernel.msgmni:                1024
        kernel.msgmax:                65536
        kernel.shmmax:                68719476736
        kernel.shmall:                4294967296
        kernel.core_uses_pid:         1
        net.ipv4.tcp_keepalive_time:  90
        net.ipv4.tcp_timestamps:      1
        net.ipv4.tcp_window_scaling:  1
        net.ipv4.ip_local_port_range: '10000 65500'
  • The script updates the /etc/security/limits.conf file on Linux.

    The following ulimits parameters are included in BASE_DIR/dpk/puppet/production/data/psft_unix_system.yaml.

    ulimit:
      group:
        hard.nofile:  65536
        soft.nofile:  65536
        hard.nproc:   65536
        soft.nproc:   65536
        hard.core:    unlimited
        soft.core:    unlimited
        hard.memlock: 500000
        soft.memlock: 500000
        hard.stack:   102400
        soft.stack:   102400
    
      user:
        hard.nofile:  131072
        soft.nofile:  131072
        hard.nproc:   131072
        soft.nproc:   131072
        hard.core:    unlimited
        soft.core:    unlimited
        hard.memlock: 500000
        soft.memlock: 500000