Home IT Linux Windows Database Network Programming Server Mobile  
           
  Home \ Server \ General Linux interface server parameter tuning     - Puppet subcommands Introduction (Server)

- Share Java-based multithreading file case (Programming)

- Basic Tutorial: Linux novice should know 26 commands (Linux)

- Linux common commands MEMO (Linux)

- Oracle restrict certain IP, the malicious user actions on important table (Database)

- Ubuntu 14.04 after the restart the default maximum screen brightness solutions (Linux)

- Analytical Ceph: handle network layer (Server)

- Node.js simple interface server (Server)

- Different between Linux file path and the windows (Linux)

- Https (SSL / TLS) Detailed principles (Server)

- DIY security of Linux platform (Linux)

- Use Linux built-in firewall to improve network access control (Linux)

- Android project using the command to create and install the package (Programming)

- Java proxy use and proxy principle (Programming)

- Ubuntu 14.04 LTS 64-bit install GNS3 1.3.7 (Linux)

- xCAT line installation on CentOS 6.X (Linux)

- Linux Shell Understanding and Learning (Linux)

- Linux security settings (Linux)

- Oracle and MySQL difference between the jdbc (Database)

- Oracle 11g through SCN do incremental backup repair standby library detailed process (Database)

 
         
  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:      
 
- Analysis examples: Intrusion Response Linux platform Case (Linux)
- Linux basic introductory tutorial ---- simple text processing (Linux)
- Use smem visual display Linux memory usage (Linux)
- SecureCRT connect virtual machine Linux system (Ubuntu) (Linux)
- 10 tips daily Docker (Server)
- Android graphic introduction NDK installation and simple jni demo implementation (Linux)
- C ++: Postmodern systems programming language (Programming)
- Linux Live CD lets your PC is no longer secure (Linux)
- Install Java, Maven, Tomcat under Linux (Linux)
- To install Xen in Ubuntu 12.04 (Linux)
- Docker: Mirroring and container operations (Server)
- Oracle metadata Reconstruction experiments (Database)
- CentOS 7.0 local address and configure yum source address priority (Linux)
- Java 8 perspective annotation types (Programming)
- Linux Hard Disk Partition and file system management (Linux)
- To share Internet access through NAT mode under Virtual Linux VMware Workstation (Linux)
- MongoDB common optimization settings in Linux (Database)
- The compiler installed Kaldi under Ubuntu 12.04 (Linux)
- Install the Red Hat Container Development Kit on OSX (Server)
- Ubuntu mysql stop fail to solve the problem (Database)
     
           
     
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.