Description\n-----------\n\nThe HandlerSocket plugin has the following options.\n\nSee also the Full list of MariaDB options, system and status variables.\n\nAdd the options to the [mysqld] section of your my.cnf file.\n\nhandlersocket_accept_balance\n\n Description: When set to a value other than zero ('0'), handlersocket will try to balance accepted connections among threads. Default is 0 , but if you use persistent connections (for example if you use client-side connection pooling), a non-zero value is recommended.\n Command line: --handlersocket-accept-balance="value"\n Scope: Global\n Dynamic: No\n Type: number\n Range: 0 to 10000\n Default Value: 0\n\nhandlersocket_address\n\n Description: Specify the IP address to bind to.\n Command line: --handlersocket-address="value"\n Scope: Global\n Dynamic: No\n Type: IP Address\n Default Value: Empty, previously 0.0.0.0\n\nhandlersocket_backlog\n\n Description: Specify the listen backlog length.\n Command line: --handlersocket-backlog="value"\n Scope: Global\n Dynamic: No\n Type: number\n Range: 5 to 1000000\n Default Value: 32768\n\nhandlersocket_epoll\n\n Description: Specify whether to use epoll for I/O multiplexing.\n Command line: --handlersocket-epoll="value"\n Scope: Global\n Dynamic: No\n Type: number\n Valid values:\n   Min: 0\n   Max: 1\n Default Value: 1\n\nhandlersocket_plain_secret\n\n Description: When set, enables plain-text authentication for the listener for read requests, with the value of the option specifying the secret authentication key.\n Command line: --handlersocket-plain-secret="value"\n Dynamic: No\n Type: string\n Default Value: Empty\n\nhandlersocket_plain_secret_wr\n\n Description: When set, enables plain-text authentication for the listener for write requests, with the value of the option specifying the secret authentication key.\n Command line: --handlersocket-plain-secret-wr="value"\n Dynamic: No\n Type: string\n Default Value: Empty\n\nhandlersocket_port\n\n Description: Specify the port to bind to for reads. An empty value disables the listener.\n Command line: --handlersocket-port="value"\n Scope: Global\n Dynamic: No\n Type: number\n Default Value: Empty, previously 9998\n\nhandlersocket_port_wr\n\n Description: Specify the port to bind to for writes. An empty value disables the listener.\n Command line: --handlersocket-port-wr="value"\n Scope: Global\n Dynamic: No\n Type: number\n Default Value: Empty, previously 9999\n\nhandlersocket_rcvbuf\n\n Description: Specify the maximum socket receive buffer (in bytes). If '0' then the system default is used.\n Command line: --handlersocket-rcvbuf="value"\n Scope: Global\n Dynamic: No\n Type: number\n Range: 0 to 1677216\n Default Value: 0\n\nhandlersocket_readsize\n\n Description: Specify the minimum length of the request buffer. Larger values consume available memory but can make handlersocket faster for large requests.\n Command line: --handlersocket-readsize="value"\n Scope: Global\n Dynamic: No\n Type: number\n Range: 0 to 1677216\n Default Value: 0 (possibly 4096)\n\nhandlersocket_sndbuf\n\n Description: Specify the maximum socket send buffer (in bytes). If '0' then the system default is used.\n Command line: --handlersocket-sndbuf="value"\n Scope: Global\n Dynamic: No\n Type: number\n Range: 0 to 1677216\n Default Value: 0\n\nhandlersocket_threads\n\n Description: Specify the number of worker threads for reads. \\\n  Recommended value = number of CPU cores \\ 2.\n Command line: --handlersocket-threads="value"\n Scope: Global\n Dynamic: No\n Type: number\n Range: 1 to 3000\n Default Value: 16\n\nhandlersocket_threads_wr\n\n Description: Specify the number of worker threads for writes. Recommended value = 1.\n Command line: --handlersocket-threads-wr="value"\n Scope: Global\n Dynamic: No\n Type: number\n Range: 1 to 3000\n Default Value: 1\n\nhandlersocket_timeout\n\n Description: Specify the socket timeout in seconds.\n Command line: --handlersocket-timeout="value"\n Scope: Global\n Dynamic: No\n Type: number\n Range: 30 to 3600\n Default Value: 300\n\nhandlersocket_verbose\n\n Description: Specify the logging verbosity.\n Command line: --handlersocket-verbose="value"\n Scope: Global\n Dynamic: No\n Type: number\n Valid values:\n   Min: 0\n   Max: 10000\n Default Value: 10\n\nhandlersocket_wrlock_timeout\n\n Description: The write lock timeout in seconds. When acting on write requests, handlersocket locks an advisory lock named 'handlersocket_wr' and this option sets the timeout for it.\n Command line: --handlersocket-wrlock-timeout="value"\n Scope: Global\n Dynamic: No\n Type: number\n* Range: 0 to 3600\n\nURL: https://mariadb.com/docs/server/reference/sql-structure/nosql/handlersocket/handlersocket-configuration-options