queued and the queue size is X. Do not process more than X
three: Tomcat io optimization
1: Synchronous blocking IO (JAVA BIO) synchronization and blocking, the server implementation mode for a connection to a thread (one connection thread to think all feel scary, threads are very valuable resources), of course, can be improved through the thread pool mechanism.
2:java NIO: Also divided into synchronous non-blocking io, asynchronous blocking IO is the biggest difference from bio. One request th
straightforward method of course is to increase the number of threads to control , of course, the memory is large enough to have enough space to apply for the thread pool, but generally a process of thread pools are generally limited or not recommended too much, and under limited system resources, to improve performance, we began to have new IO technology, which is NIO technology, the new version of the inside with AIO technology, NiO can only be asy
in the Innodb kernel to be smaller than the innodb_thread_concurrency value. In some load environment, this may help reduce the time that threads enter the queue. Can be achieved by adjusting the Innodb_thread_sleep_delay, its unit is subtle.MySQL tables in use 1, locked 0 refers to the number of data tables that have been used in a transaction (already visited), and the number of locks. Innodb generally does not lock the table, so the number of lock tables is generally 0, unless it is an ALTER
spins 2, rounds, OS waits 2Rw-excl spins 0, rounds 0, OS waits 0Spin rounds per wait:0.00 mutex, 30.00 rw-shared, 0.00 RW-EXCL------------Transactions------------Trx ID Counter 5381Purge done for Trx's N:o History list Length 0LIST of transactions for each SESSION:---TRANSACTION 0, not startedMySQL thread ID 9721, OS thread handle 0x7f406e04c700, query ID 7570041 localhost admin initShow Engine InnoDB Status--------FILE I/O--------I/O thread 0 state:waiting for I/O request (insert buffer thread
control , of course, the memory is large enough to have enough space to apply for the thread pool, but generally a process of thread pools are generally limited or not recommended too much, and under limited system resources, to improve performance, we began to have new IO technology, which is NIO technology, the new version of the inside with AIO technology, NiO can only be asynchronous Io, but in the middle of the read and write process is still bl
refer to (Metalink Note: 139272.1). create an aio character device #/sbin/mknod/dev/async c 101 0x0 # chown oracle: dba/dev/async # chmod 660/dev/async B. use sam to adjust Kernel parameters-> Kernel Configuration-> Drivers-> select 'asyncdsk'-> Actions> Add Driver to Kernel. (in this case, the pending state changes from out to in.)-> Kernel Con Figuration-> Configurable Parameters-> max_async_ports is set to the 'Processes' value in the initializati
Anyone who has some experience using Informix databases knows that Informix has two Io Methods: AIO and Kaio. AIO is the traditional synchronous Io, but most Informix users do not know Kaio. Kaio is called Kernel I/O. because it uses the kernel I/O of the operating system, Io reads and writes faster than AIO, which improves the efficiency of the Informix database
July 12. 2004.
I met a couple of time the problem. The nearest time was last week.
Solution-from Metalink note.
Problem description:================================Running svrmgrl (or any other Oracle tool such as SQL * Plus) on an IBM AIX RS/6000Machine returns:
On AIX prior to 4.3:Cocould not load program OracleSymbol kaio_rdwr in/usr/lib/libc. A is undefinedSymbol iosuspend in/usr/lib/libc. A is undefinedSymbol cancel in/usr/lib/libc. A is undefinedSymbol listio in/usr/lib/libc. A is undefine
_ tw_recycle = 1
# Ulimit-N 65536
# Deadconn_last $ server $ svrport num_connectionsWhere num_connections is one of 0, 50,100,200,400,800,100 0, 2000,400 0, 6000,800 0, 10000,120 00, 14000,160 00.
After deadconn_last reports num_connections established# Httperf -- Server = $ server -- Port = $ svrport -- think-Timeout 5 -- timeout 5 -- num-CILS 20000 -- num-Conns 100 -- hog -- rate 100
Results For dphttpd up
Pipetest
David Steven s added support for sys_epoll to Ben lahaise's or
Analysis
# As shown in the preceding error log, the key information io_setup () failed with EAGAIN
3. troubleshooting
SZDB :~ # Vi/etc/sysctl. conf
SZDB :~ # Sysctl-p
# Author: Leshami
SZDB :~ #/Etc/init. d/mysql start # adjusted and started successfully
4. About fs. aio-max-nr
Aio-nr aio-max-nr:
NAME
SYNOPSIS
Tag Description
DESCRIPTION:
Return value:
ERRORS:
on all application servers according to certain policies.
The agent receives information from the Deployment Server, including the program, which is placed in a specified directory.
The agent stops the server (or a specific application), replaces the relevant files, and then starts the server (or a specific application ).
There will be two types of customers to deploy the server, one is artifact, and the other is artifact.
For the sake of prototype simplicity, here we introduce any
Preface
MySQL has been used for some time. However, installation of MySQL is based on the software source on Linux, and then started conveniently using the shell of MySQL, I do not know much about MySQL internal startup parameters, So I download the tar package of MySQL from the MySQL official website, install and start it on my own, and understand MySQLProgramTo help you troubleshoot the startup process and learn more about MySQL.
Environment
Ubuntu 12.04 32bit
Download MySQL
1. Downl
, which should purge all transactions:
------------TRANSACTIONS------------Trx id counter 0 16644Purge done FOR trx's n: o
Make sure that innodb does not perform write operations any more:
File I/O--------I/O thread 0 state: waiting FOR I/o request (INSERT buffer thread)I/O thread 1 state: waiting FOR I/o request (log thread)I/O thread 2 state: waiting FOR I/o request (READ thread)I/O thread 3 state: waiting FOR I/o request (WRITE thread)Pending normal aio
http://nginx.org/download/nginx-1.14.0.tar.gzII is the display directoryClear Clear ScreenInstallation premise, Nginx is developed by C1.GCC to compile the source codeYum Install gcc-c++2.PCRE LibraryThe per library includes a per-compatible regular expression Nginx HTTP module using PCRE to parse the regularYum install-y pcre Pcre-devel3.zlibCompression and decompression of the vault Nginx is using zlib to gzip the HTTP packetYum Install-y zlib-devel4.opensslYum Install-y OpenSSL Openssl-devel
support--with-threads// Enabling thread pooling supports--with-file-aio//file Aio (asynchronous I/O) mode support, which is recommended to a large extent to improve the throughput of the system--with-ipv6// IPV6 support--with-http_ssl_module//enable the support SSL mode, which isHTTPS, you must first install the openssl--with-http_v2_module//Support HTTP2 protocol, replacing the NGX _http_spdy_module, Goog
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.