Home IT Linux Windows Database Network Programming Server Mobile  
           
  Home \ Server \ General Linux interface server parameter tuning     - Everyone should know something about TCP (Linux)

- Postfix mail service system principle and configuration (Linux)

- Cross server / client backup command: rsync use (Server)

- The PostgreSQL database pg_dump command line does not enter a password method (Database)

- Enable Intel Rapid Start in GNU / Linux (Linux)

- To create a Linux server network security (Linux)

- How to use the command line ftp upload and download files (Linux)

- How to turn Java String into Date (Programming)

- Linux shared libraries .so file name and Dynamic Link (Linux)

- Thinking in Java study notes - Generics (Programming)

- Java programmers talk about those advanced knowledge and direction (Programming)

- How to find on Linux and delete duplicate files: FSlint (Linux)

- Firewall - Internet Militarization (Linux)

- Linux 4.0+ kernel support for hardware switching module (HW Switch Offload) (Linux)

- OpenResty load balancing MySQL (Database)

- Use Ganglia to monitor your cluster (Server)

- Overall Physical Migration of Oracle Database with (Database)

- ctop: monitor container performance Linux command line artifact (Linux)

- wget command Walkthrough (Linux)

- Linux kernel programming parameter passing between modules and function calls (Programming)

 
         
  General Linux interface server parameter tuning
     
  Add Date : 2018-11-21      
         
       
         
  If you need to support one million simultaneous online, the need for a default Linux kernel parameters can be adjusted, our typical configuration is to add the following in /etc/sysctl.conf:

    net.ipv4.tcp_max_syn_backlog = 120000
    net.core.netdev_max_backlog = 120000
    net.core.somaxconn = 12000
    net.ipv4.tcp_fin_timeout = 2
    net.ipv4.tcp_tw_reuse = 1
    net.ipv4.tcp_tw_recycle = 1
    net.ipv4.tcp_max_tw_buckets = 1000
    net.ipv4.tcp_abort_on_overflow = 1
    net.ipv4.tcp_sack = 1
    net.ipv4.tcp_rmem = 4096 8192 32768
    net.ipv4.tcp_wmem = 4096 8192 32768
    net.core.optmem_max = 8192
    net.ipv4.tcp_timestamps = 0
    net.ipv4.tcp_mem = 3075840 4101120 12303360
    net.ipv4.tcp_keepalive_time = 30
    net.ipv4.tcp_keepalive_probes = 5
    net.ipv4.tcp_keepalive_intvl = 15
    net.netfilter.nf_conntrack_tcp_timeout_last_ack = 3
    net.ipv4.tcp_synack_retries = 1
    net.ipv4.tcp_syn_retries = 1
    net.ipv4.ip_local_port_range = 1024 65535
    net.nf_conntrack_max = 6553600
    net.netfilter.nf_conntrack_max = 6553500
    net.netfilter.nf_conntrack_tcp_timeout_established = 180

    Modify /etc/security/limits.conf configuration:
    * Soft nofile 1200000
    * Hard nofile 1200000
     
         
       
         
  More:      
 
- Summary of Docker mounted directory (Server)
- Grep how to find files based on file contents in UNIX (Linux)
- Java 8 Lambda principle analysis (Programming)
- Oracle common internal event tracking number (Database)
- How to configure AWStats in Ubuntu Server (Server)
- Linux system boot process ARM platforms (Linux)
- Mac Docker deploy development environment (Server)
- Linux system performance and usage activity monitoring tools -Sysstat (Linux)
- To install the latest version of the EPEL on CentOS 5.x or 6.x (Linux)
- Linux System Getting Started Learning: After starting in Ubuntu or Debian, enter the command line (Linux)
- Linux, Google Test (GTest) test environment to build step (Linux)
- Alien Magic: RPM and DEB Mutual Convert (Linux)
- How to install Unbound and DNSCrypt in Archlinux (Server)
- Linux kernel VLAN study notes (Programming)
- Generate two-dimensional code parsing code Java (Programming)
- How to create a cloud encrypted file system in Linux systems (Linux)
- Root of AVL Tree- achieve balanced search trees AVL tree (Programming)
- MySQL multi-master-slave synchronization (Database)
- To install Python-Pip and Fabric under CentOS / Ubuntu (Linux)
- To_explore Linux system boot process (Linux)
     
           
     
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.