you want, such as 7126, as long as not with other conflicts.2. Run regedit in the second place to open the Registry Editor. Find HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal server\winstations\rdp-tcp, the same way, Remember to change the port number is the same as the above changes on the line.When the modifications are complete, close the Registry Editor. 3. If your VPS or server has Windows Firewall turned on, be sure to add the remote connection port you set to the firewall
Java program CPU usage is too highUsing the top command to find the Java process PID with high usage rateFind the thread tid based on the process number:ps -mp PID -o THREAD,tid,timeConvert Tid to 16 binary:printf "%x\n" TIDTo view the process stack information through the Jstack command:jstack PID |grep TID16 -A 100No
then compresses and collates the memory space.
Reference site: http://blog.csdn.net/lifetragedy/article/details/7708724
2, restart Tomcat after modifying the parameters to see if the parameters are valid
Jmap-heap javapid View JVM Memory Allocations
Jstat-gcutil Javapid 1000 30 View JVM Memory Recycle
The above modifications should be able to complete the high performance of the Tomcat process. If you run over a period of time and look at the
::taskthread (PPARAM=0X7FFF617EAFE0) at../src/cicdn.cpp:128 #2 0x00002acc4a90b73a in Start_thread () from/lib/libpthread.so.0 #3 0X00002ACC4A40D6DD in Clone ()From/lib/libc.so.6 #4 0x0000000000000000 in?? ()Take a look at the code for 101 lines:(GDB) L 98 int csendfile::sendfile (const string pathname) 99{+ int n;101 while (1)102 { 103 n++;104}//read file and sendNow we've got the code location for the problem, and the loop here is for illustrative purposes only.Finally, don't forget detach ()Af
Methods and steps to analyze the high CPU usage of Java threads:
1) To view the CPU occupancy rate TOP10 PID
[Root@qipsuit1 ~]# Ps-aux | Sort-k3nr | head-10
Warning:bad syntax, perhaps a bogus '-'? See/usr/share/doc/procps-3.2.8/faq
root 30428 1.3 12513592 430904 pts/7 Sl 14:20 135:35 java -djava.ext.dirs=/qip/r
:
Cidaemon.exe is an index service that allows you to search for files at a higher speed.
Prepared by: Microsoft Corp.
Microsoft Windows Operating System
System Process: Yes
Background Program: Yes
Network Problems: No
Common Errors: N/
Memory usage: N/
Security grade (0-5): 0
Spyware: No
Advertising software: No
Virus: No
Trojan: no solution: disabling the Indexing Service can solve this problem. This service is generally rarely used and cannot be us
View the W3p.exe application pool and Iisapp in IIS to see if the PID takes up CPU too high a process
Iisapp-a to display the performance list for the application pool.
Iisapp.vbs It is a scripting program that requires SP1 to be installed at 2003
and IIS7 can use its shell command directly.
C: "Windows" system32 "Inetsrv>appcmd.exe list WP to display
Sometimes because the server security problem can n
Mysql causes high CPU usage. The server environment Liunx AS4 + PHP5 + Mysql5 + Apache 2
When I used the TOP command to query the system performance, I found that the CPU often reached 100% and started to think it was a DDOS attack ...... After a firewall is installed (does not work), you can start from the liunx syste
The top command found the following three processes occupy the top three CPU usageWpa_supplicantNetworkManagerRsyslogdGoogle found that the first two processes related to wireless networks, my computer is a notebook, plug-in wired, wireless hardware is forbidden, so the computer has been trying to turn on the wireless function caused by the CPU consumption in the case of no-load to reach 80% of the level, a
application pool process, there are several processes will have several w3wp.exe, will find that a w3wp.exe process CPU and memory are very high terrible!
Well, let's see what we can do in practice, first of all, windows2003.
First open Windows Task Manager – Click to view-Select columns – Put the PID on the hook!!,,
You can see the PID options in the process.
Click to run-input cmd– input iisapp-a-ver
The company's website uses memcached for Distributed caching. Recently, some people have reported that the memcached client occupies too much CPU and suspected that the performance of a third-party client is not good, which in turn leads to a text protocol problem, the Department is required to develop the memcached client to support the binary protocol. Because the workload for re-development of the client is relatively large, and in daily developmen
First we open Task Manager, and then switch to the CPU ranks, the CPU to occupy the program one by one, to see which CPU program occupied by the CPU suddenly high and low situation. Find a process that takes up CPU instability to
First we open Task Manager, and then switch to the CPU ranks, the CPU to occupy the program one by one, to see which CPU program occupied by the CPU suddenly high and low situation. Find a process that takes up CPU instability to
Problem description: during this time, the machine always encountered a strange problem: the Worker Process forcibly ended the one with the highest CPU usage. After about two minutes, the same problem still occurred. Problem Association:Knowledge about cidaemon.exe:Cidaemon-cidaemon.exe-Process InformationProcess file: cidaemon or cidaemon.exeProcess name: Microsoft Indexing ServiceDescription: The Windows
This article to share the content is about PHP to prevent while true cycle CPU usage is too high, the need for friends can refer to
A simple case.
For example, when using PHP, Redis to do message-to-column can be used, can be modified according to the actual application scenario
Test.php
Execution: PHP test.php
Mysql database configuration optimization (high cpu usage) output results show which threads are running, can help identify problematic query statements
Show processlist;
Wait_timeout,That is, the number of sleep connection timeout seconds. if a connection times out, it is naturally terminated by mysql.Show global variables like 'Wait _ timeout ';
Set to 30 seco
Google can not find much information, see a saying: is some platform Interface manager. Do not dare to kill, and then check the data.
Look at the professional saying:KIPMI is supposed to run with the low priority. When you say it consumes 70-90% of the CPUs, was that constant (does it still consume the processor when they are other TAS KS in the process queue this should have a larger slice of the CPU time
Use the showfullprocesslist statement. The following statement is always running: Running #39; post #39; AND (wp_posts.post_status #39; publish #39;) ORDERBYwp_posts.post_dateDESCLIMIT0, 15. as a result, the cpu has been around 200% cpumysqlwp.
Use show full processlist; statement to keep the following statement running,SELECT SQL _CALC_FOUND_ROWS wp_posts.ID FROM wp_posts WHERE 1 = 1 AND wp_posts.post_type = 'post' AND (wp_posts.post_status
sys.dm_db_missing_index_group_stats s ten on s.group_handle = G.index_group_ Handle INNER JOIN sys.dm_db_missing_index_details d in d.index_handle = G.index_handle13 ORDER by [Total C OST] DESC;After locating the problem, create a new nonclustered index1 CREATE nonclustered INDEX ix_t_accesscontrol_f4 on dbo.t_accesscontrol2 (3 FObjectType4) include ([Fuserid], [ Faccesstype], [Faccessmask]) with (Statistics_norecompute = off, Ignore_dup_key = off, Allow_row_locks = ON,
If you are experiencing the above problems, please refer to the following workaround
One, show process CPU such as display IP input process is using a lot of CPU, check the following
(1) Can not be fast switched package has: Switching cache no Entry package, destination is a router package, the need for protocol conversion package, made Policy Routing package, X.25 encapsulation package, Multilink PPP, co
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.