There is no such thing as perfect programming, but we shouldn’t be discouraged because programming is a constant pursuit of perfection.

1.CPU: top2.Memory: free-h3.IO: iostat - dx4.Disk: df -h5.The number of connections:1.System limit: ulimit-n2.Service restriction: ls /proc/18423/fd -l | grep socket: | wc -l  
       // 18423 is the process ID
       1.Server: Tomcat: Threads: Max:200
                max-connections: 20000
Copy the code