1. web server
division | directive | default | explanation |
HTTP | Timeout | 300 | Sets how long an HTTP connection will be kept alive for an inactive connection. |
KeepAliveTimeout | 15 | Sets the amount of time an Apache process (or thread) should wait before a client sends another HTTP request. | |
mod-jk | socket_timeout | 0 | Timeout used in the communication channel between mod-jk and was. An error occurs if there is no response for a set period of time. |
socket_connect_timeout | socket_timeout*1000 | Same as socket_timeout, but you can set the timeout in milliseconds. | |
socket_keepalive | FALSE | Used when there is a firewall between the web server and WAS. This flag prevents the firewall from closing inactive connections by sending a KEEP_ALIVE message to the operating system for inactive connections. | |
ping_timeout | 10000 | Timeout value in milliseconds. It is used when waiting for CPong, which is the response of Cping connection confirmation. | |
reply_timeout | 0 | Waiting time until response comes after WAS is processed in WEB | |
connection_pool_timeout | 0 | The Cache timeout property is used in conjunction with connection_pool_minsize to determine how many seconds mod-jk will keep the cache's inactive sockets open before closing the connection. |
2. was server
division | directive | default | explanation |
HTTP/AJP | connectionTimeout | 0 | The amount of time to keep a connection open until a request is processed. The default is unlimited. |
keepAliveTimeout | - | Waiting time before receiving a new request from WAS, the default follows the value of connectionTimeout | |
session timeout | 30 minutes | Waiting time until a new request comes in after a request comes in. If a request comes in again within that time, the value is updated. | |
DB | querytimeout | 0 | JDBC query timeout, default none , Unlimited |
loginTimeout | Need to check by dbms | When creating a new connection with the DBMS, waiting time until logging in to the DBMS and acquiring the connection | |
blocking timeout millis | 30000 | Specifies the maximum amount of time to wait for a connection to be obtained in milliseconds. | |
idle timeout minutes | 30 minutes | Among the connections in the pool, unused connections are periodically deleted. Connections not used during that time are deleted, and the check cycle is the specified value/2 | |
set tx query timeout | FALSE | Sets whether to set the query timeout based on the time remaining until the transaction timeout occurs. | |
allocation retry | 0 | Specifies the number of retries when an exception occurs when getting a connection. | |
allocation retry wait millis | 5000 | How long to wait before allocating a connection |