In the process of using the servers, the performance of the CPU is basically not much, but some users will encounter the situation that the CPU reaches 100. This situation is not a performance problem, but a problem in our business. Next, We will take you to gradually check the 100% problems and solutions of the CPU.

  1. Web servers often have 100% CPU problems. When we build IIS websites with German servers, we sometimes encounter 100% CPU problems. At this time, we open the task manager, click the process, and click the CPU tab. At this time, we find the w3wp Exe, check whether it uses all the resources of the CPU. If it does, there is a problem with our IIS. At this time, we open the IIS Manager, open the Application Properties in the application pool corresponding to our website, click the Performance tab, enable CPU monitoring check, enter 50% in the maximum CPU usage, and click OK. At this time, we use IIS! The maximum CPU is only 50%, and the server will not be stuck. Next, we should check our website to see if the code has an endless loop. Generally, the website causes 100% CPU because of the endless loop in the code. We should check step by step and adjust the problematic code.
  2. The software running on the server has 100% CPU, which is generally caused by too many software line layers. Many software has multi line layer functions, such as the collector. This mode can process tasks in multiple threads, which can improve the processing speed and volume of business. However, the disadvantage is that when the threads are too large, the CPU resources will be insufficient. At this time, we can check whether the software line layer is too large, Turn down - point.
  3. The CPU resource consumption caused by poisoning is up to -- percent. In this case, we can use the task manager to check which process is consuming the CPU performance and directly terminate it. If it cannot be terminated, we can use the command to forcibly terminate it, and then install anti-virus software to perform security checks and anti-virus on the server.
  4. When running large programs, there will be 100% CPU. When running super large programs or large databases, there will also be 100% CPU. At this time, we can distribute programs and do not query too much data or process too much content at one time, which can reduce the CPU pressure. Or upgrade the CPU. Although the performance of our German servers is excellent, if your business needs exceed the server's performance limit, it is no good. You have to upgrade the hardware.
Bu cevap yeterince yardımcı oldu mu? 0 Bu dökümanı faydalı bulan kullanıcılar: (0 Oy)