File manager - Edit - /usr/local/lswsbak/docs/zh-CN/ServTuning_Help.html
Back
<!DOCTYPE html> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <title>OpenLiteSpeed Users' Manual - 服务器调节</title> <meta name="description" content="OpenLiteSpeed Users' Manual - 服务器调节." /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="robots" content="noindex"> <link rel="shortcut icon" href="../img/favicon.ico" /> <link rel="stylesheet" type="text/css" href="../css/hdoc.css"> </head> <body> <div class="pagewrapper clearfix"><aside class="sidetree ls-col-1-5"> <figure> <img src="img/ols_logo.svg" alt="openlitespeed logo" width="150px"/> </figure> <h2 class="ls-text-thin"> OpenLiteSpeed Web Server <a href="index.html"> Users' Manual</a> </h2> <h3 class="ls-text-muted">Version 1.8 — Rev. 3</h3> <hr/> <div> <ul> <li><a href="license.html">License</a></li> <li><a href="intro.html">Introduction</a></li> <li><a href="install.html">Installation</a></li> <li> <a href="admin.html">Administration</a> <ul class="level2"> <li><a href="ServerStat_Help.html">Service Manager</a></li> <li><a href="Real_Time_Stats_Help.html">Real-Time Stats</a></li> </ul> </li> <li><a href="security.html">Security</a></li> <li> <a href="config.html">Configuration</a> <ul class="level2"> <li><a href="ServGeneral_Help.html">Server General</a></li> <li><a href="ServLog_Help.html">Server Log</a></li> <li><span class="current"><a href="ServTuning_Help.html">Server Tuning</a></span></li> <li><a href="ServSecurity_Help.html">Server Security</a></li> <li><a href="ExtApp_Help.html">External Apps</a></li> <ul class="level3"> <li><a href="External_FCGI.html">Fast CGI App</a></li> <li><a href="External_FCGI_Auth.html">Fast CGI Authorizer</a></li> <li><a href="External_LSAPI.html">LSAPI App</a></li> <li><a href="External_Servlet.html">Servlet Engine</a></li> <li><a href="External_WS.html">Web Server</a></li> <li><a href="External_PL.html">Piped logger</a></li> <li><a href="External_LB.html">Load Balancer</a></li> </ul> <li><a href="ScriptHandler_Help.html">Script Handler</a></li> <li><a href="App_Server_Help.html">App Server Settings</a></li> <li><a href="Module_Help.html">Module Configuration</a></li> <li><a href="Listeners_General_Help.html">Listener General</a></li> <li><a href="Listeners_SSL_Help.html">Listener SSL</a></li> <li><a href="Templates_Help.html">Virtual Host Templates</a></li> <li><a href="VirtualHosts_Help.html">Virtual Host Basic</a></li> <li><a href="VHGeneral_Help.html">Virtual Host General</a></li> <li><a href="VHSecurity_Help.html">Virtual Host Security</a></li> <li><a href="VHSSL_Help.html">Virtual Host SSL</a></li> <li><a href="Rewrite_Help.html">Rewrite</a></li> <li><a href="Context_Help.html">Context</a></li> <ul class="level3"> <li><a href="Static_Context.html">Static Context</a></li> <li> <a href="Java_Web_App_Context.html">Java Web App Context</a> </li> <li><a href="Servlet_Context.html">Servlet Context</a></li> <li><a href="FCGI_Context.html">Fast CGI Context</a></li> <li><a href="LSAPI_Context.html">LSAPI Context</a></li> <li><a href="Proxy_Context.html">Proxy Context</a></li> <li><a href="CGI_Context.html">CGI Context</a></li> <li><a href="LB_Context.html">Load Balancer Context</a></li> <li><a href="Redirect_Context.html">Redirect Context</a></li> <li><a href="App_Server_Context.html">App Server Context</a></li> <li><a href="Module_Context.html">Module Handler Context</a></li> </ul> <li><a href="VHWebSocket_Help.html">Web Socket Proxy</a></li> </ul> </li> <li><a href="webconsole.html">Web Console</a> <ul class="level2"> <li><a href="AdminGeneral_Help.html">Admin Console General</a></li> <li><a href="AdminSecurity_Help.html">Admin Console Security</a></li> <li> <a href="AdminListeners_General_Help.html"> Admin Listener General </a> </li> <li> <a href="AdminListeners_SSL_Help.html">Admin Listener SSL</a> </li> </ul> </li> </ul> </div> </aside> <article class="contentwrapper ls-col-3-5 clearfix"><div class="nav-bar ls-spacer-micro-top"><div class="prev">« <a href="ServLog_Help.html">服务器日志</a></div><div class="center"><a href="config.html">Configuration</a></div><div class="next"><a href="ServSecurity_Help.html">服务器安全</a> »</div></div> <h1>服务器调节</h1><h2 id="top">Table of Contents</h2><section class="toc"><section class="toc-row"><header>操作系统优化</header><p> <a href="#shmDefaultDir">默认SHM目录</a> | <a href="#proxyProtocol">PROXY protocol</a></p></section> <section class="toc-row"><header>连接</header><p> <a href="#maxConnections">最大连接数</a> | <a href="#maxSSLConnections">最大SSL连接数</a> | <a href="#connTimeout">连接超时时间(secs)</a> | <a href="#maxKeepAliveReq">最大持续连接请求数</a> | <a href="#keepAliveTimeout">持续连接超时时长</a> | <a href="#sndBufSize">发送缓冲区大小</a> | <a href="#rcvBufSize">接收缓冲区大小 (bytes)</a></p></section> <section class="toc-row"><header>请求/响应</header><p> <a href="#maxReqURLLen">最大请求URL长度(bytes)</a> | <a href="#maxReqHeaderSize">最大请求头大小(bytes)</a> | <a href="#maxReqBodySize">最大请求主内容大小(bytes)</a> | <a href="#maxDynRespHeaderSize">动态回应报头最大大小(bytes)</a> | <a href="#maxDynRespSize">动态回应主内容最大大小(bytes)</a></p></section> <section class="toc-row"><header>静态文件传递优化</header><p> <a href="#maxCachedFileSize">最大小文件缓存(bytes)</a> | <a href="#totalInMemCacheSize">小文件缓存总大小 (bytes)</a> | <a href="#maxMMapFileSize">最大MMAP文件大小(bytes)</a> | <a href="#totalMMapCacheSize">总MMAP缓存大小 (bytes)</a> | <a href="#useSendfile">使用sendfile()</a> | <a href="#useAIO">Use AIO</a> | <a href="#AIOBlockSize">AIO Block Size</a> | <a href="#fileETag">文件ETag</a></p></section> <section class="toc-row"><header>GZIP/Brotli压缩</header><p> <a href="#enableGzipCompress">启用GZIP压缩</a> | <a href="#compressibleTypes">压缩类型</a> | <a href="#enableDynGzipCompress">启用GZIP动态压缩</a> | <a href="#gzipCompressLevel">GZIP压缩级别(动态内容)</a> | <a href="#gzipAutoUpdateStatic">自动更新静态文件</a> | <a href="#gzipStaticCompressLevel">GZIP压缩级别(静态内容)</a> | <a href="#brStaticCompressLevel">Brotli 压缩等级 (静态文件)</a> | <a href="#gzipCacheDir">静态缓存目录</a> | <a href="#gzipMaxFileSize">静态文件最大尺寸(bytes)</a> | <a href="#gzipMinFileSize">静态文件最小尺寸 (bytes)</a></p></section> <section class="toc-row"><header>全局SSL设置</header><p> <a href="#sslDefaultCiphers">默认密码套件</a> | <a href="#sslStrongDhKey">SSL强DH密钥</a> | <a href="#sslEnableMultiCerts">启用多个SSL证书</a> | <a href="#sslSessionCache">启用SSL会话缓存</a> | <a href="#sslSessionCacheSize">会话缓存大小 (bytes)</a> | <a href="#sslSessionCacheTimeout">会话缓存过期时间 (secs)</a> | <a href="#sslSessionTickets">启用会话记录单</a> | <a href="#sslSessionTicketLifetime">SSL会话记录单生存时间(secs)</a> | <a href="#sslSessionTicketKeyFile">SSL会话记录单密钥文件</a> | <a href="#sslOcspProxy">OCSP Proxy</a> | <a href="#sslStrictSni">Strict SNI Certificate</a></p></section> <section class="toc-row"><header>QUIC</header><p> <a href="#quicEnable">启用HTTP3/QUIC</a> | <a href="#quicShmDir">QUIC SHM 目录</a> | <a href="#quicVersions">HTTP3/QUIC版本</a> | <a href="#quicCongestionCtrl">拥塞控制</a> | <a href="#quicCfcw">流连接窗口控制</a> | <a href="#quicMaxCfcw">最大连接流量窗口值设置</a> | <a href="#quicSfcw">连接流量窗口值</a> | <a href="#quicMaxSfcw">最大流量窗口值设置</a> | <a href="#quicMaxStreams">每个连接的最大并发数</a> | <a href="#quicHandshakeTimeout">握手超时时间</a> | <a href="#quicIdleTimeout">空闲超时时间(秒)</a> | <a href="#quicEnableDPLPMTUD">启用 DPLPMTUD</a> | <a href="#quicBasePLPMTU">PLPMTU 默认值</a> | <a href="#quicMaxPLPMTU">PLPMTU的最大值</a></p></section> </section> <section><div class="helpitem"><article class="ls-helpitem"><div><header id="shmDefaultDir"><h3>默认SHM目录<span class="ls-permlink"><a href="#shmDefaultDir"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>将共享内存的默认目录更改为指定的路径。 如果该目录不存在,则将创建该目录。除非另有说明,否则所有SHM数据都将存储在此目录中。</p> <h4>Syntax</h4><p>path</p> </article> </div> <div class="helpitem"><article class="ls-helpitem"><div><header id="proxyProtocol"><h3>PROXY protocol<span class="ls-permlink"><a href="#proxyProtocol"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>List of IPs/subnets for front-end proxies that communicate with this server using PROXY protocol. Once set, the server will use PROXY protocol for incoming connections from listed IPs/subnets or fall back to a regular connection if PROXY protocol is unavailable.<br/><br/> Applies to HTTP, HTTPS, HTTP2, and websocket connections.</p> <h4>Syntax</h4><p>Comma delimited list of IP addresses or sub-networks.</p> </article> </div> <div class="helpitem"><article class="ls-helpitem"><div><header id="maxConnections"><h3>最大连接数<span class="ls-permlink"><a href="#maxConnections"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>指定服务器可以接受的最大并发连接数。这包括纯TCP连接和SSL连接。 一旦达到此限制,服务器将在完成活动请求时关闭“Keep-Alive”的连接。</p> <h4>Syntax</h4><p>整数</p> <h4>提示</h4><p><span title="Information" class="ls-icon-info"></span> 当服务器由"root"用户启动时,服务器会尝试自动调整每个进程的文件描述符限制,但是,如果自动调整失败,你可能需要手动增加此限制。</p> </article> </div> <div class="helpitem"><article class="ls-helpitem"><div><header id="maxSSLConnections"><h3>最大SSL连接数<span class="ls-permlink"><a href="#maxSSLConnections"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>指定服务器将接受的最大并发SSL连接数。 由于并发SSL和非SSL的连接总数不能超过<span class="tagl"><a href="#maxConnections">最大连接数</a></span>的限制,因此允许的最大SSL连接的数量须低于此限制。</p> <h4>Syntax</h4><p>整数</p> </article> </div> <div class="helpitem"><article class="ls-helpitem"><div><header id="connTimeout"><h3>连接超时时间(secs)<span class="ls-permlink"><a href="#connTimeout"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>指定一个请求允许的最大连接空闲时间。 如果在这段时间内连接一直处于空闲状态(即没有I/O活动),则它将被关闭。</p> <h4>Syntax</h4><p>整数</p> <h4>提示</h4><p>[安全建议] 将值设置得尽可能低,在可能的拒绝服务攻击中,这可以帮助释放无效连接所占用的连接数。</p> <h4>See Also</h4><p class="ls-text-small"><span class="tagl"><a href="#keepAliveTimeout">持续连接超时时长</a></span></p> </article> </div> <div class="helpitem"><article class="ls-helpitem"><div><header id="maxKeepAliveReq"><h3>最大持续连接请求数<span class="ls-permlink"><a href="#maxKeepAliveReq"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>指定通过持续连接(持久)会话处理的请求的最大数量。一旦达 到此限制,连接将被关闭。您也可以为每个虚拟主机单独设置限制。</p> <h4>Syntax</h4><p>整数</p> <h4>提示</h4><p>[性能建议] 设置为合理的较高的值。值为“1”或“0”时将禁用持续连接。</p> <h4>See Also</h4><p class="ls-text-small">Virtual Host <span class="tagl"><a href="VirtualHosts_Help.html#vhMaxKeepAliveReq">最大Keep-Alive请求数</a></span></p> </article> </div> <div class="helpitem"><article class="ls-helpitem"><div><header id="keepAliveTimeout"><h3>持续连接超时时长<span class="ls-permlink"><a href="#keepAliveTimeout"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>指定持续连接请求的最长闲置时间。 如果在这段时间内没有接收到新的请求,该连接将被关闭。 这个设置只适用于HTTP/1.1连接。HTTP/2连接有较长的闲置时间,不受此设置影响。</p> <h4>Syntax</h4><p>整数</p> <h4>提示</h4><p>[安全和性能建议] 我们建议您将值设置得刚好足够处理单个页面 视图的所有请求。没有必要延长持续连接时间。较小的值可以减少闲置 连接,提高能力,以服务更多的用户,并防范拒绝服务攻击。<span class="val">2-5</span>秒 对大多数应用是合理范围。Litespeed在非持续连接环境是非常高效的。</p> </article> </div> <div class="helpitem"><article class="ls-helpitem"><div><header id="sndBufSize"><h3>发送缓冲区大小<span class="ls-permlink"><a href="#sndBufSize"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>每个TCP套接字的发送缓冲区的大小。设定值为<span class="val">0</span>使用 操作系统默认的缓冲区大小。<span class="val">65535</span>是允许的最大缓冲区大小。</p> <h4>Syntax</h4><p>整数</p> <h4>提示</h4><p>[性能建议] 建议将此值保留为“未设置”或设置为0以使用操作系统的默认缓冲区大小。<br/> [性能建议] 如果您的网站服务大量的静态文件,增加发送缓冲区 大小来提高性能。<br/> [性能建议] 将此值设置为较低的值将减少吞吐量和每个套接字的内存使用率,从而在内存成为瓶颈时允许服务器拥有更多并发套接字。</p> </article> </div> <div class="helpitem"><article class="ls-helpitem"><div><header id="rcvBufSize"><h3>接收缓冲区大小 (bytes)<span class="ls-permlink"><a href="#rcvBufSize"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>每个TCP套接字的接收缓冲区大小。 <span class="val">512K</span>是允许的最大缓冲区大小。</p> <h4>Syntax</h4><p>整数</p> <h4>提示</h4><p>[性能建议] 建议将此值保留为“未设置”或设置为0以使用操作系统的默认缓冲区大小。<br/> [性能建议] 处理大载荷入站请求,如文件上传时,大的接收缓冲区会提高性能。<br/> [性能建议] 将此值设置为较低的值将减少吞吐量和每个套接字的内存使用率,从而在内存成为瓶颈时允许服务器拥有更多并发套接字。</p> </article> </div> <div class="helpitem"><article class="ls-helpitem"><div><header id="maxReqURLLen"><h3>最大请求URL长度(bytes)<span class="ls-permlink"><a href="#maxReqURLLen"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>指定请求URL的最大大小。 URL是一个纯文本的地址,包含查询字符串来请求服务器上的资源。 硬限制为<span class="val">65530</span>个字节。 大于此值的值,例如<span class="val">64K</span>(大6个字节),将被视为<span class="val">65530</span>。<br/><br/> Default value: <span class="val">8192</span> or <span class="val">8K</span>.</p> <h4>Syntax</h4><p>整数</p> <h4>提示</h4><p>[安全和性能建议] 将其设置合理的低值来以减少内存使用 并帮助识别虚假请求和拒绝服务攻击。<br/> 对大多数网站2000-3000已经足够大,除非使用HTTP GET而不是POST来提交大型的查询字符串。</p> </article> </div> <div class="helpitem"><article class="ls-helpitem"><div><header id="maxReqHeaderSize"><h3>最大请求头大小(bytes)<span class="ls-permlink"><a href="#maxReqHeaderSize"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>指定请求URL中包含的HTTP请求头最大值。 硬限制为<span class="val">131072</span> 字节或128K.<br/><br/> Default value: <span class="val">32768</span> or <span class="val">32K</span></p> <h4>Syntax</h4><p>整数</p> <h4>提示</h4><p>[安全和性能建议] 设置合理的低值来减少内存的使用并帮助识别虚假请求和拒绝服务攻击。<br/> 对于大多数网站来说4000-8000已经足够大。</p> </article> </div> <div class="helpitem"><article class="ls-helpitem"><div><header id="maxReqBodySize"><h3>最大请求主内容大小(bytes)<span class="ls-permlink"><a href="#maxReqBodySize"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>指定HTTP请求主内容最大尺寸。对于32位操作系统, 硬限制为<span class="val">2GB</span>。对于64位操作系统,几乎是无限的。</p> <h4>Syntax</h4><p>整数</p> <h4>提示</h4><p>[安全建议] 为了防止拒绝服务攻击,尽量将限制值设定到实际需求的大小。 交换空间的剩余空间必须比这个限制值大。</p> </article> </div> <div class="helpitem"><article class="ls-helpitem"><div><header id="maxDynRespHeaderSize"><h3>动态回应报头最大大小(bytes)<span class="ls-permlink"><a href="#maxDynRespHeaderSize"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>指定动态回应的最大报头大小。硬限制为<span class="val">131072</span>字节或128K.<br/><br/> Default value: <span class="val">32768</span> or <span class="val">32K</span></p> <h4>Syntax</h4><p>整数</p> <h4>提示</h4><p>[可靠性和性能建议] 设置一个合理的低值以帮助识别外部应用程序产生的 坏的动态回应。</p> </article> </div> <div class="helpitem"><article class="ls-helpitem"><div><header id="maxDynRespSize"><h3>动态回应主内容最大大小(bytes)<span class="ls-permlink"><a href="#maxDynRespSize"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>指定动态回应的最大主内容尺寸。硬限制是<span class="val">2047MB</span>。</p> <h4>Syntax</h4><p>整数</p> <h4>提示</h4><p>[可靠性和性能建议] 设置一个合理的低值以帮助识别坏的响应。恶意脚本经常包含 无限循环而导致大尺寸回应。</p> </article> </div> <div class="helpitem"><article class="ls-helpitem"><div><header id="maxCachedFileSize"><h3>最大小文件缓存(bytes)<span class="ls-permlink"><a href="#maxCachedFileSize"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>指定预分配内存缓冲区中缓存的静态文件最大尺寸。静态文件 可以用四种不同的方式服务:内存缓存、内存映射缓存、直接读写和 sendfile()。 尺寸小于<span class="tagl"><a href="#maxCachedFileSize">最大小文件缓存(bytes)</a></span>的文件将使用内存缓存服务。尺寸大于该限制、但小于 <span class="tagl"><a href="#maxMMapFileSize">最大MMAP文件大小(bytes)</a></span>的文件,将使用内存映射缓存服务。 尺寸大于<span class="tagl"><a href="#maxMMapFileSize">最大MMAP文件大小(bytes)</a></span>的文件将通过直接读写或sendfile() 服务。使用内存缓存服务小于4K的文件是最佳做法。</p> <h4>Syntax</h4><p>整数</p> </article> </div> <div class="helpitem"><article class="ls-helpitem"><div><header id="totalInMemCacheSize"><h3>小文件缓存总大小 (bytes)<span class="ls-permlink"><a href="#totalInMemCacheSize"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>指定分配用于缓存/服务小静态文件的总内存。</p> <h4>Syntax</h4><p>整数</p> </article> </div> <div class="helpitem"><article class="ls-helpitem"><div><header id="maxMMapFileSize"><h3>最大MMAP文件大小(bytes)<span class="ls-permlink"><a href="#maxMMapFileSize"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>指定使用内存映射(MMAP)的最大静态文件大小。 静态文件可以用四种不同的方式服务:内存缓存、内存映射缓存、直接读写和 sendfile()。 尺寸小于<span class="tagl"><a href="#maxCachedFileSize">最大小文件缓存(bytes)</a></span>的文件将使用内存缓存服务。尺寸大于该限制、但小于 <span class="tagl"><a href="#maxMMapFileSize">最大MMAP文件大小(bytes)</a></span>的文件,将使用内存映射缓存服务。 尺寸大于<span class="tagl"><a href="#maxMMapFileSize">最大MMAP文件大小(bytes)</a></span>的文件将通过直接读写或sendfile() 服务。 由于服务器有一个32位的地址空间(2GB),不建议使用内存映射非常大的文件。</p> <h4>Syntax</h4><p>整数</p> </article> </div> <div class="helpitem"><article class="ls-helpitem"><div><header id="totalMMapCacheSize"><h3>总MMAP缓存大小 (bytes)<span class="ls-permlink"><a href="#totalMMapCacheSize"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>指定分配用于缓存/服务中等大小静态文件的总内存。</p> <h4>Syntax</h4><p>整数</p> </article> </div> <div class="helpitem"><article class="ls-helpitem"><div><header id="useSendfile"><h3>使用sendfile()<span class="ls-permlink"><a href="#useSendfile"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>指定是否使用sendfile()系统调用来服务静态文件。静态文件 可以用四种不同的方式服务:内存缓存、内存映射缓存、直接读写和 sendfile()。 尺寸小于<span class="tagl"><a href="#maxCachedFileSize">最大小文件缓存(bytes)</a></span>的文件将使用内存缓存服务。尺寸大于该限制、但小于 <span class="tagl"><a href="#maxMMapFileSize">最大MMAP文件大小(bytes)</a></span>的文件,将使用内存映射缓存服务。 尺寸大于<span class="tagl"><a href="#maxMMapFileSize">最大MMAP文件大小(bytes)</a></span>的文件将通过直接读写或sendfile() 服务。Sendfile()是一个“零拷贝”系统调用,可在服务非常大的 文件时大大减少CPU的使用率。Sendfile()需要一个优化的网卡内核驱动, 因此可能不适合某些小厂商的网络适配器。</p> <h4>Syntax</h4><p>从单选框选择</p> </article> </div> <div class="helpitem"><article class="ls-helpitem"><div><header id="useAIO"><h3>Use AIO<span class="ls-permlink"><a href="#useAIO"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>Specifies whether to use asynchronous I/O to serve static files along with the AIO implementation to use. Options <span class="val">LINUX AIO</span> and <span class="val">io_uring</span> are only available on Linux machines.<br/><br/> Default value: <span class="val">No</span></p> <h4>Syntax</h4><p>从列表中选择</p> <h4>提示</h4><p><span title="Performance" class="ls-icon-performance"></span> AIO can help improve performance in servers with a high I/O wait.<br/> <span title="Attention" class="ls-icon-attention"></span> When <span class="val">io_uring</span> is selected but not supported on the current machine, <span class="val">Linux AIO</span> will be used instead.</p> <h4>See Also</h4><p class="ls-text-small"><span class="tagl"><a href="#AIOBlockSize">AIO Block Size</a></span></p> </article> </div> <div class="helpitem"><article class="ls-helpitem"><div><header id="AIOBlockSize"><h3>AIO Block Size<span class="ls-permlink"><a href="#AIOBlockSize"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>Specifies the sent block size for AIO. This block size multiplied by the total files being processed should be less than the physical memory of the server, otherwise, AIO will not help. If your server has enough memory, you can choose a bigger size.<br/><br/> Default value: <span class="val">128K</span></p> <h4>Syntax</h4><p>从列表中选择</p> <h4>See Also</h4><p class="ls-text-small"><span class="tagl"><a href="#useAIO">Use AIO</a></span></p> </article> </div> <div class="helpitem"><article class="ls-helpitem"><div><header id="fileETag"><h3>文件ETag<span class="ls-permlink"><a href="#fileETag"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>指定是否使用一个文件的索引节点、最后修改时间和大小属性 生成静态文件的ETag HTTP响应头。 所有这三个属性是默认启用的。 如果您打算使用镜像服务器服务相同的文件,您应该不勾选索引节点。 否则,为同一个文件生成的ETag在不同的服务器上是不同的。</p> <h4>Syntax</h4><p>从复选框中选择</p> </article> </div> <div class="helpitem"><article class="ls-helpitem"><div><header id="enableGzipCompress"><h3>启用GZIP压缩<span class="ls-permlink"><a href="#enableGzipCompress"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>制静态或动态HTTP回应的GZIP压缩。<br/><br/> Default value: Yes</p> <h4>Syntax</h4><p>从单选框选择</p> <h4>提示</h4><p>[性能建议] 开启该功能可以节省网络带宽。 针对基于文本的回应如html、css和javascript文件最有效果,一般可以压缩到原文件大小的一半大小。</p> </article> </div> <div class="helpitem"><article class="ls-helpitem"><div><header id="compressibleTypes"><h3>压缩类型<span class="ls-permlink"><a href="#compressibleTypes"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>指定允许压缩哪些MIME类型。 保留此设置不变,或输入<span class="val">default</span>以使用服务器内置的默认列表,该列表已经涵盖了大多数mime类型。<br/> Default value: <span class="val">text/*,application/x-javascript,application/javascript,application/xml,image/svg+xml,application/rss+xml, application/json,application/vnd.ms-fontobject,application/x-font,application/x-font-opentype, application/x-font-truetype,application/x-font-ttf,font/eot,font/opentype,font/otf,font/ttf,image/x-icon, image/vnd.microsoft.icon,application/xhtml+xml</span></p> <h4>Syntax</h4><p>MIME type list separated by commas. Wild card "*" and negate sign "!" are allowed, such as text/*, !text/js.</p> <h4>例子</h4><div class="ls-example">If you want to compress text/* but not text/css, you can have a rule like <span class="val">text/*, !text/css</span>. "!" will exclude that MIME type.</div><h4>提示</h4><p>[性能建议] 只允许特定类型进行GZIP压缩。 二进制文件如gif/png/jpeg图片文件及flash文件无法从压缩中获益。</p> </article> </div> <div class="helpitem"><article class="ls-helpitem"><div><header id="enableDynGzipCompress"><h3>启用GZIP动态压缩<span class="ls-permlink"><a href="#enableDynGzipCompress"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>控制动态HTTP回应的GZIP压缩。 <span class="tagl"><a href="#enableGzipCompress">启用GZIP压缩</a></span>必须设置为<span class="val">Yes</span>来开启动态GZIP压缩。<br/> Default value: Yes</p> <h4>Syntax</h4><p>从单选框选择</p> <h4>提示</h4><p>[性能建议] 压缩动态回应将增加CPU和内存的使用,但可以节省网络带宽。</p> </article> </div> <div class="helpitem"><article class="ls-helpitem"><div><header id="gzipCompressLevel"><h3>GZIP压缩级别(动态内容)<span class="ls-permlink"><a href="#gzipCompressLevel"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>指定压缩动态态内容的级别。 范围从<span class="val">1</span> (最低)到<span class="val">9</span> (最高)。<br/> 改设置尽在<span class="tagl"><a href="#enableGzipCompress">启用GZIP压缩</a></span>和<span class="tagl"><a href="#enableDynGzipCompress">启用GZIP动态压缩</a></span>启用时生效<br/><br/> 默认值: 6</p> <h4>Syntax</h4><p>Number between 1 and 9.</p> <h4>提示</h4><p>[性能建议] 更高的压缩级别将消耗更多的内存和CPU资源。 如果您的机器有额外的资源您可以设置更高的级别。 级别9与级别6没有太大的区别,但是级别9会占用多得多的CPU资源。</p> </article> </div> <div class="helpitem"><article class="ls-helpitem"><div><header id="gzipAutoUpdateStatic"><h3>自动更新静态文件<span class="ls-permlink"><a href="#gzipAutoUpdateStatic"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>指定是否由LiteSpeed自动创建/更新可压缩静态文件的GZIP压缩版本。 如果设置为<span class="val">Yes</span>,当请求文件MIME属于<span class="tagl"><a href="#compressibleTypes">压缩类型</a></span>时, LiteSpeed会根据压缩的文件时间戳来创建/更新文件的压缩版本。 压缩的文档会创建在<span class="tagl"><a href="#gzipCacheDir">静态缓存目录</a></span>目录下。 文件名称根据原文件的MD5散列创建。<br/><br/> 默认值: Yes</p> <h4>Syntax</h4><p>从单选框选择</p> </article> </div> <div class="helpitem"><article class="ls-helpitem"><div><header id="gzipStaticCompressLevel"><h3>GZIP压缩级别(静态内容)<span class="ls-permlink"><a href="#gzipStaticCompressLevel"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>指定GZIP压缩静态内容的级别。 范围从<span class="val">1</span> (最低)到<span class="val">9</span> (最高)。。<br/><br/> 该选项仅在 <span class="tagl"><a href="#enableGzipCompress">启用GZIP压缩</a></span>和<span class="tagl"><a href="#gzipAutoUpdateStatic">自动更新静态文件</a></span> 启用后才会生效<br/><br/> 默认值是<span class="val">6</span></p> <h4>Syntax</h4><p>Number between 1 and 9.</p> </article> </div> <div class="helpitem"><article class="ls-helpitem"><div><header id="brStaticCompressLevel"><h3>Brotli 压缩等级 (静态文件)<span class="ls-permlink"><a href="#brStaticCompressLevel"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>指定Brotli压缩静态内容的级别。 范围从<span class="val">1</span> (最低)到<span class="val">9</span> (最高)。<br/><br/> 当设置为 <span class="val">0</span>时, brotli压缩将在全局禁用。<br/><br/> Default value: 5</p> <h4>Syntax</h4><p>Number between 0 and 11.</p> <h4>提示</h4><p>[性能建议] 压缩可以用来节省网络带宽。 基于文本的响应(例如html,css和javascript文件)效果最好,平均可以将其压缩为原始大小的一半。</p> </article> </div> <div class="helpitem"><article class="ls-helpitem"><div><header id="gzipCacheDir"><h3>静态缓存目录<span class="ls-permlink"><a href="#gzipCacheDir"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>指定目录路径来存储静态内容的压缩文件。默认是<span class="tagl"><a href="#swappingDir">交换目录</a></span>。</p> <h4>Syntax</h4><p>Directory Path</p> </article> </div> <div class="helpitem"><article class="ls-helpitem"><div><header id="gzipMaxFileSize"><h3>静态文件最大尺寸(bytes)<span class="ls-permlink"><a href="#gzipMaxFileSize"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>指定LiteSpeed可以自动创建压缩文件的静态文件最大尺寸。<br/><br/> 默认值为 10M</p> <h4>Syntax</h4><p>Number in bytes not less than 1K.</p> <h4>提示</h4><p>[性能建议] 不建议使用LiteSpeed创建/更新较大文件的压缩文件。 压缩操作会占用整个服务器进程并且在压缩结束前新请求都无法被处理。</p> </article> </div> <div class="helpitem"><article class="ls-helpitem"><div><header id="gzipMinFileSize"><h3>静态文件最小尺寸 (bytes)<span class="ls-permlink"><a href="#gzipMinFileSize"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>指定LiteSpeed创建相应压缩文件的静态文件最小尺寸。<br/><br/> Default value: 200</p> <h4>Syntax</h4><p>Number in bytes not less than 200.</p> <h4>提示</h4><p><span title="Information" class="ls-icon-info"></span> It is not necessary to compress very small files as the bandwidth saving is negligible.</p> </article> </div> <div class="helpitem"><article class="ls-helpitem"><div><header id="sslDefaultCiphers"><h3>默认密码套件<span class="ls-permlink"><a href="#sslDefaultCiphers"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>SSL证书的默认密码套件。<br/><br/> Default value: Server Internal Default (Based on current best practices)</p> <h4>Syntax</h4><p>Colon-separated string of cipher specifications.</p> </article> </div> <div class="helpitem"><article class="ls-helpitem"><div><header id="sslStrongDhKey"><h3>SSL强DH密钥<span class="ls-permlink"><a href="#sslStrongDhKey"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>指定是使用2048位还是1024位DH密钥进行SSL握手。 如果设置为“是”,则2048位DH密钥将用于2048位SSL密钥和证书。 在其他情况下,仍将使用1024位DH密钥。 默认值为“是”。 Java的早期版本不支持大于1024位的DH密钥大小。 如果需要Java客户端兼容性,则应将其设置为“否”。</p> <h4>Syntax</h4><p>radio</p> </article> </div> <div class="helpitem"><article class="ls-helpitem"><div><header id="sslEnableMultiCerts"><h3>启用多个SSL证书<span class="ls-permlink"><a href="#sslEnableMultiCerts"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>允许侦听器/虚拟主机设置多个SSL证书。 如果启用了多个证书,则证书/密钥应遵循命名方案。 如果证书名为server.crt,则其他可能的证书名称为server.crt.rsa, server.crt.dsa,server.crt.ecc。 如果为“未设置”,则默认为“否”。</p> <h4>Syntax</h4><p>从单选框选择</p> </article> </div> <div class="helpitem"><article class="ls-helpitem"><div><header id="sslSessionCache"><h3>启用SSL会话缓存<span class="ls-permlink"><a href="#sslSessionCache"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>使用OpenSSL的默认设置启用会话ID缓存。 服务器级别设置必须设置为“是”才能使虚拟主机设置生效。<br/> 默认值:<br/> <b>服务器级别:</b> Yes<br/> <b>虚拟主机级别:</b> Yes</p> <h4>Syntax</h4><p>从单选框选择</p> </article> </div> <div class="helpitem"><article class="ls-helpitem"><div><header id="sslSessionCacheSize"><h3>会话缓存大小 (bytes)<span class="ls-permlink"><a href="#sslSessionCacheSize"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>设置要存储在缓存中的SSL会话ID的最大数量。 默认值为1,000,000。</p> <h4>Syntax</h4><p>Integer number</p> </article> </div> <div class="helpitem"><article class="ls-helpitem"><div><header id="sslSessionCacheTimeout"><h3>会话缓存过期时间 (secs)<span class="ls-permlink"><a href="#sslSessionCacheTimeout"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>此值确定需要重新握手之前,会话ID在缓存中有效的时间。 默认值为 3,600.</p> <h4>Syntax</h4><p>Integer number</p> </article> </div> <div class="helpitem"><article class="ls-helpitem"><div><header id="sslSessionTickets"><h3>启用会话记录单<span class="ls-permlink"><a href="#sslSessionTickets"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>使用OpenSSL的默认会话票证设置启用会话记录单。 服务器级别设置必须设置为“是”才能使虚拟主机设置生效。<br/> 默认值:<br/> <b>服务器级别:</b> Yes<br/> <b>虚拟主机级别:</b> Yes</p> <h4>Syntax</h4><p>从单选框选择</p> </article> </div> <div class="helpitem"><article class="ls-helpitem"><div><header id="sslSessionTicketLifetime"><h3>SSL会话记录单生存时间(secs)<span class="ls-permlink"><a href="#sslSessionTicketLifetime"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>此值确定需要重新握手之前会话记录单有效的时间。 默认值为3600。</p> <h4>Syntax</h4><p>Integer number</p> </article> </div> <div class="helpitem"><article class="ls-helpitem"><div><header id="sslSessionTicketKeyFile"><h3>SSL会话记录单密钥文件<span class="ls-permlink"><a href="#sslSessionTicketKeyFile"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>Allows the SSL Ticket Key to be created/maintained by an administrator. The file must be 48 bytes long. If this option is left empty, the load balancer will generate and rotate its own set of keys.<br/><br/> IMPORTANT: To maintain forward secrecy, it is strongly recommended to change the key every <b>SSL Session Ticket Lifetime</b> seconds. If this cannot be done, it is recommended to leave this field empty.</p> <h4>Syntax</h4><p>Path</p> </article> </div> <div class="helpitem"><article class="ls-helpitem"><div><header id="sslOcspProxy"><h3>OCSP Proxy<span class="ls-permlink"><a href="#sslOcspProxy"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>Socket address used as the proxy server address for OCSP verification. Leave this setting unset If not using a proxy.<br/><br/> Default value: <span class="val">not set</span></p> <h4>Syntax</h4><p>Socket Address</p> </article> </div> <div class="helpitem"><article class="ls-helpitem"><div><header id="sslStrictSni"><h3>Strict SNI Certificate<span class="ls-permlink"><a href="#sslStrictSni"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>Specifies whether to strictly require a dedicated virtual host certificate configuration. When enabled, SSL connections to virtual hosts without a dedicated certificate configuration will fail instead of using a default catch-all certificate.<br/><br/> Default value: <span class="val">No</span></p> <h4>Syntax</h4><p>从单选框选择</p> </article> </div> <div class="helpitem"><article class="ls-helpitem"><div><header id="quicEnable"><h3>启用HTTP3/QUIC<span class="ls-permlink"><a href="#quicEnable"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>在整个服务器范围内启用HTTP3/QUIC网络协议。 默认值为<span class="val">是</span>。</p> <h4>Syntax</h4><p>从单选框选择</p> <h4>提示</h4><p><span title="Information" class="ls-icon-info"></span> 当此设置设置为<span class="val">是</span>时,仍然可以通过<span class="tagl"><a href="Listeners_SSL_Help.html#allowQuic">打开HTTP3/QUIC (UDP) 端口</a></span>设置在侦听器级别 或通过<span class="tagl"><a href="VHSSL_Help.html#vhEnableQuic">Enable HTTP3/QUIC</a></span>设置在虚拟主机级别禁用HTTP3/QUIC</p> </article> </div> <div class="helpitem"><article class="ls-helpitem"><div><header id="quicShmDir"><h3>QUIC SHM 目录<span class="ls-permlink"><a href="#quicShmDir"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>指定用于将QUIC数据保存到共享内存的目录。<br/><br/> 默认情况下,将使用服务器的默认SHM目录<span class="val">/dev/shm</span>.</p> <h4>Syntax</h4><p>Path</p> <h4>提示</h4><p><span title="Information" class="ls-icon-info"></span> 建议使用基于RAM的分区(内存盘),例如 <span class="val">/dev/shm</span>.</p> </article> </div> <div class="helpitem"><article class="ls-helpitem"><div><header id="quicVersions"><h3>HTTP3/QUIC版本<span class="ls-permlink"><a href="#quicVersions"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>启用的HTTP3/QUIC版本的列表。 此设置仅应用于将HTTP3/QUIC支持限制为列出的版本,最好留空。</p> <h4>Syntax</h4><p>Comma-separated list</p> <h4>例子</h4><div class="ls-example">h3-29, h3-Q050</div><h4>提示</h4><p><span title="Information" class="ls-icon-info"></span> It is recommended to leave this setting blank to have the the best configuration applied automatically.</p> </article> </div> <div class="helpitem"><article class="ls-helpitem"><div><header id="quicCongestionCtrl"><h3>拥塞控制<span class="ls-permlink"><a href="#quicCongestionCtrl"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>使用的拥塞控制算法。 可以手动设置,也可以选择“默认”选项,将其保留到的QUIC库中。<br/><br/> 默认值:: Default</p> <h4>Syntax</h4><p>从列表中选择</p> </article> </div> <div class="helpitem"><article class="ls-helpitem"><div><header id="quicCfcw"><h3>流连接窗口控制<span class="ls-permlink"><a href="#quicCfcw"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>为QUIC连接分配的缓冲区的初始大小。 默认值为<span class="val"> 1.5M </span>。</p> <h4>Syntax</h4><p>Number between 64K and 512M</p> <h4>提示</h4><p><span title="Information" class="ls-icon-info"></span> 更大的窗口大小将使用更多的内存。</p> </article> </div> <div class="helpitem"><article class="ls-helpitem"><div><header id="quicMaxCfcw"><h3>最大连接流量窗口值设置<span class="ls-permlink"><a href="#quicMaxCfcw"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>指定由于连接流控制窗口缓冲区的最大大小 auto-tuning.<br/><br/> 默认值为<span class="val"> 0 </span>,这意味着将使用<span class="tagl"><a href="ServTuning_Help.html#quicCfcw">流连接窗口控制</a></span>的值,并且不会自动调整。</p> <h4>Syntax</h4><p>0 or a number between 64K and 512M</p> <h4>提示</h4><p><span title="Information" class="ls-icon-info"></span> 更大的窗口大小将使用更多的内存。</p> </article> </div> <div class="helpitem"><article class="ls-helpitem"><div><header id="quicSfcw"><h3>连接流量窗口值<span class="ls-permlink"><a href="#quicSfcw"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>QUIC愿意为每个流接收的初始数据量。 默认值为<span class="val">1M</span>。</p> <h4>Syntax</h4><p>Number between 64K and 128M</p> <h4>提示</h4><p><span title="Information" class="ls-icon-info"></span> 更大的窗口大小将使用更多的内存。</p> </article> </div> <div class="helpitem"><article class="ls-helpitem"><div><header id="quicMaxSfcw"><h3>最大流量窗口值设置<span class="ls-permlink"><a href="#quicMaxSfcw"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>指定由于自动调整而允许流控制窗口达到的最大大小。<br/><br/> 默认值为<span class="val">0</span>,这意味着将使用<span class="tagl"><a href="ServTuning_Help.html#quicSfcw">连接流量窗口值</a></span>的值,并且不会自动调整</p> <h4>Syntax</h4><p>0 or a number between 64K and 128M</p> <h4>提示</h4><p><span title="Information" class="ls-icon-info"></span> 更大的窗口大小将使用更多的内存。</p> </article> </div> <div class="helpitem"><article class="ls-helpitem"><div><header id="quicMaxStreams"><h3>每个连接的最大并发数<span class="ls-permlink"><a href="#quicMaxStreams"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>每个QUIC连接的最大并发数。 默认值为<span class="val">100</span>。</p> <h4>Syntax</h4><p>Integer number between 10 and 1000</p> </article> </div> <div class="helpitem"><article class="ls-helpitem"><div><header id="quicHandshakeTimeout"><h3>握手超时时间<span class="ls-permlink"><a href="#quicHandshakeTimeout"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>给出新的QUIC连接完成其握手的时间(以秒为单位),超过限制时间后连接将中止。 默认值为<span class="val">10</span>。</p> <h4>Syntax</h4><p>Integer number between 1 and 15</p> </article> </div> <div class="helpitem"><article class="ls-helpitem"><div><header id="quicIdleTimeout"><h3>空闲超时时间(秒)<span class="ls-permlink"><a href="#quicIdleTimeout"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>空闲的QUIC连接将被关闭的时间(以秒为单位)。 默认值为<span class="val"> 30 </span>。</p> <h4>Syntax</h4><p>Integer number between 10 and 30</p> </article> </div> <div class="helpitem"><article class="ls-helpitem"><div><header id="quicEnableDPLPMTUD"><h3>启用 DPLPMTUD<span class="ls-permlink"><a href="#quicEnableDPLPMTUD"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>启用 Datagram Packetization Layer Path Maximum Transmission Unit Discovery (DPLPMTUD).<br/><br/> <b><a href="https://tools.ietf.org/html/rfc8899" target="_blank" rel="noopener noreferrer">Background on DPLPMTUD (RFC 8899)</a></b><br/><br/> Default value: Yes</p> <h4>Syntax</h4><p>从单选框选择</p> </article> </div> <div class="helpitem"><article class="ls-helpitem"><div><header id="quicBasePLPMTU"><h3>PLPMTU 默认值<span class="ls-permlink"><a href="#quicBasePLPMTU"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>QUIC默认使用的PLPMTU (无报头的最大数据包大小,以字节为单位)的默认值. 设置为<span class="val">0</span>将会允许QUIC设置大小.<br/><br/> 这个设置必须低于 <span class="tagl"><a href="#quicMaxPLPMTU">PLPMTU的最大值</a></span> 的值.<br/><br/> Default value: 0</p> <h4>Syntax</h4><p>0或1200至65527之间的整数</p> </article> </div> <div class="helpitem"><article class="ls-helpitem"><div><header id="quicMaxPLPMTU"><h3>PLPMTU的最大值<span class="ls-permlink"><a href="#quicMaxPLPMTU"></a></span><span class="top"><a href="#top">⇑</a></span></h3></header></div><h4>Description</h4><p>PLPMTU(无报头的最大数据包,以字节为单位)的上限. 此设置用于限制 在DPLPMTUD search space中"最大数据包大小". 设置为<span class="val">0</span>将会允许QUIC设置大小. (默认情况下LSQUIC暂定MTU为1,500 字节 (以太网)).<br/><br/> 这个设置应该比<span class="tagl"><a href="#quicBasePLPMTU">PLPMTU 默认值</a></span>的值高.<br/> Default value: 0</p> <h4>Syntax</h4><p>0或1200至65527之间的整数</p> </article> </div> </section> </article><div class="ls-col-1-1"><footer class="copyright">Copyright © 2013-2020. <a href="https://www.litespeedtech.com">LiteSpeed Technologies Inc.</a> 版权所有.</footer> </div></div> </body> </html>
| ver. 1.4 |
Github
|
.
| PHP 8.2.28 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings