View multi-core CPU commandsMpstat-p All and sar-p allDescription:sar-p all > Aaa.txt redirect output to file Aaa.txtThe top command is often used to monitor Linux system conditions, such as CPU, memory usage, the programmer basically knows this
#表示SYN队列的长度, the default is 1024, which increases the queue length and can accommodate more network connections waiting to be connected.
Net.ipv4.tcp_max_syn_backlog = 65536
#每个网络接口接收数据包的速率比内核处理这些包的速率快时, the maximum number of packets that
This article describes how to set the environment variables in the mysql database and how to set the environment variables of the mysql database. if you need them, refer to mysql environment variable settings (windows environment)
1. for command
Max_execution_time = 30; Maximum execution time of each script, in seconds
Max_input_time = 60; Maximum amount of time each script may spend parsing request data
; max_input_nesting_level = 64; Maximum input variable nesting level
MySQL Server optimization method (2) bitsCN.com
If the mysqld server is currently running, connect to the server and run the following command to view the actually used system variables:
Mysql> show variables;
You can also use the following
I. Preface 1) the LinuxProc file system is optimized by adjusting the Proc file system. 2) Linux performance diagnostic tool: describes how to use the diagnostic tool provided by Linux for performance diagnosis. Bold italics indicate commands that
Be careful when setting tcp parameters. do not change the online environment easily. I will paste the content of sysctl. conf in our online environment. for details, see net. ipv4.tcp _ protocol at the bottom of the article...
Be careful when
* Memory-Working Set : The sum of the amount of memory in a private working set and the amount of memory that the process is using and can be shared by other processes.* Memory-Peak Working set: The maximum number of working set memory used by the
Memory-Working set: the sum of the amount of memory in a private working set and the amount of memory that the process is using and can be shared by other processes.
Memory-Peak Working set: The maximum number of working set memory used by the
In the CLR, in order to convert a value type to a reference type, a mechanism called boxing is used.The following summarizes what happens inside a boxing operation on one instance of a value type: 1) allocates memory in the managed heap. The amount
Today to introduce a more novel program performance optimization Method-Large page memory (hugepages), simply by increasing the size of the operating system page to reduce the page table, so as to avoid the fast table missing. This information is
Translated from: http://redisdoc.com/server/info.htmlINFO [Section]Returns a variety of information and statistics about Redis servers in an easy-to-interpret (parse) and easy-to-read format.Given an optional parameter section, you can have the
ISAMISAM is a well-defined and time-tested data table management method. It is designed to take into account that the number of database queries is much larger than the number of updates. Therefore, ISAM performs read operations quickly without
At the same time, the increase in the number of online traffic is obviously difficult for servers with 1 GB of memory. In severe cases, even the server crashes every day or gets stuck from time to time. This problem has plagued me for more than half
How to get PHP memory usage, PHP memory acquisition
PHP built-in function memory_get_usage () can return the amount of memory currently allocated to a PHP script in bytes. These functions are very useful in web real-world development, and we can
The memory manager of PHP is hierarchical. This manager has three layers: storage, heap, and emalloc/efree. The storage layer uses functions such as malloc () and mmap () to apply for memory from the system, and releases the applied memory through
1. in linux proc directory file detailed http://wenku.baidu.com/view/2ce89f00a6c30c2259019ef1.html2. The Android system/proc directory detailed3. android proc Process information parsing
As defined by ECMA-262, JavaScript variables differ greatly from those of other languages. The nature of the loosely typed JavaScript variable determines just one name that is used to hold a particular value at a specific time. Because there is no
In CLR, to convert a value type into a reference type, you must usePacking.The following summarizes what happens inside an instance of the value type when it is packed: 1) allocate memory in the managed heap. The amount of memory allocated is the
Tcp_syn_retries
: INTEGER
The default value is 5.
For a new connection, the kernel determines how many SYN connection requests are sent before giving up. It should not be greater than 255. The default value is 5, corresponding to the left-right
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.