|
2 | 2 | <html lang="en"> |
3 | 3 | <head> |
4 | 4 | <meta charset="utf-8" /> |
5 | | - <title>HAProxy version 3.4-dev8-128 - Configuration Manual</title> |
| 5 | + <title>HAProxy version 3.4-dev8-149 - Configuration Manual</title> |
6 | 6 | <link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" /> |
7 | 7 | <link href="https://raw.githubusercontent.com/thomaspark/bootswatch/v3.3.7/cerulean/bootstrap.min.css" rel="stylesheet" /> |
8 | 8 | <link href="../css/page.css?0.4.2-15" rel="stylesheet" /> |
|
1730 | 1730 |
|
1731 | 1731 | <a class="list-group-item" href="#cpu_ns_tot">cpu_ns_tot</a> |
1732 | 1732 |
|
| 1733 | + <a class="list-group-item" href="#cpu_usage_grp">cpu_usage_grp</a> |
| 1734 | + |
| 1735 | + <a class="list-group-item" href="#cpu_usage_proc">cpu_usage_proc</a> |
| 1736 | + |
| 1737 | + <a class="list-group-item" href="#cpu_usage_thr">cpu_usage_thr</a> |
| 1738 | + |
1733 | 1739 | <a class="list-group-item" href="#crc32">crc32</a> |
1734 | 1740 |
|
1735 | 1741 | <a class="list-group-item" href="#crc32c">crc32c</a> |
|
4355 | 4361 |
|
4356 | 4362 | <a class="list-group-item" href="#tfo (Server and default-server options)">tfo (Server and default-server options)</a> |
4357 | 4363 |
|
| 4364 | + <a class="list-group-item" href="#tgroup">tgroup</a> |
| 4365 | + |
4358 | 4366 | <a class="list-group-item" href="#thread (Bind options)">thread (Bind options)</a> |
4359 | 4367 |
|
4360 | 4368 | <a class="list-group-item" href="#thread (Fetching samples from internal states)">thread (Fetching samples from internal states)</a> |
|
4888 | 4896 | You can use <strong>left</strong> and <strong>right</strong> arrow keys to navigate between chapters.<br> |
4889 | 4897 | </p> |
4890 | 4898 | <p class="text-right"> |
4891 | | - <small>Converted with <a href="https://github.com/cbonte/haproxy-dconv">haproxy-dconv</a> v<b>0.4.2-15</b> on <b>2026/04/13</b></small> |
| 4899 | + <small>Converted with <a href="https://github.com/cbonte/haproxy-dconv">haproxy-dconv</a> v<b>0.4.2-15</b> on <b>2026/04/14</b></small> |
4892 | 4900 | </p> |
4893 | 4901 | </div> |
4894 | 4902 | <!-- /.sidebar --> |
|
4899 | 4907 | <div class="text-center"> |
4900 | 4908 | <h1><a href="http://www.haproxy.org/" title="HAProxy"><img src="../img/HAProxyCommunityEdition_60px.png?0.4.2-15" /></a></h1> |
4901 | 4909 | <h2>Configuration Manual</h2> |
4902 | | - <p><strong>version 3.4-dev8-128</strong></p> |
| 4910 | + <p><strong>version 3.4-dev8-149</strong></p> |
4903 | 4911 | <p> |
4904 | 4912 | 2026/04/03<br> |
4905 | 4913 |
|
@@ -27559,6 +27567,24 @@ <h3 id="chapter-7.3.2" data-target="7.3.2"><small><a class="small" href="#7.3.2" |
27559 | 27567 | to recover decent performance. The value may be artificially high due to a |
27560 | 27568 | high cpu_calls count, for example when processing many HTTP chunks, and for |
27561 | 27569 | this reason it is often preferred to log cpu_ns_avg instead. |
| 27570 | +</pre><a class="anchor" name="cpu_usage_grp"></a><a class="anchor" name="7-cpu_usage_grp"></a><a class="anchor" name="7.3.2-cpu_usage_grp"></a><a class="anchor" name="cpu_usage_grp (Using ACLs and fetching samples)"></a><a class="anchor" name="cpu_usage_grp (Fetching samples from internal states)"></a><div class="keyword"><b><a class="anchor" name="cpu_usage_grp"></a><a href="#7.3.2-cpu_usage_grp">cpu_usage_grp</a></b> : integer</div><pre class="text">Returns the measured CPU usage over the last polling loop, between 0 and 100, |
| 27571 | +averaged over all threads of the current thread group. This can be used for |
| 27572 | +troubleshooting and for logging. The measure is extremely volatile but will |
| 27573 | +remain accurate for sustained loads as each thread measures it over a few |
| 27574 | +tens to hundreds of requests. |
| 27575 | +</pre><a class="anchor" name="cpu_usage_proc"></a><a class="anchor" name="7-cpu_usage_proc"></a><a class="anchor" name="7.3.2-cpu_usage_proc"></a><a class="anchor" name="cpu_usage_proc (Using ACLs and fetching samples)"></a><a class="anchor" name="cpu_usage_proc (Fetching samples from internal states)"></a><div class="keyword"><b><a class="anchor" name="cpu_usage_proc"></a><a href="#7.3.2-cpu_usage_proc">cpu_usage_proc</a></b> : integer</div><pre class="text">Returns the measured CPU usage over the last polling loop, between 0 and 100, |
| 27576 | +averaged over all running threads. This can be used for troubleshooting and |
| 27577 | +for logging. The measure is extremely volatile but will remain accurate for |
| 27578 | +sustained loads as each thread measures it over a few tens to hundreds of |
| 27579 | +requests. This is 100 minus the value reported in the idle ratio in the stats |
| 27580 | +page and in "show info". |
| 27581 | +</pre><a class="anchor" name="cpu_usage_thr"></a><a class="anchor" name="7-cpu_usage_thr"></a><a class="anchor" name="7.3.2-cpu_usage_thr"></a><a class="anchor" name="cpu_usage_thr (Using ACLs and fetching samples)"></a><a class="anchor" name="cpu_usage_thr (Fetching samples from internal states)"></a><div class="keyword"><b><a class="anchor" name="cpu_usage_thr"></a><a href="#7.3.2-cpu_usage_thr">cpu_usage_thr</a></b> : integer</div><pre class="text">Returns the measured CPU usage over the last polling loop, between 0 and 100, |
| 27582 | +for the calling thread. This can be used for troubleshooting and for logging. |
| 27583 | +The measure is extremely volatile but will remain accurate for sustained |
| 27584 | +loads as it is measured over a few tens to hundreds of requests. This is the |
| 27585 | +same value as used to decide to enable connection killing on too high |
| 27586 | +glitches, or to disable compression. See also "<a href="#tune.glitches.kill.cpu-usage">tune.glitches.kill.cpu-usage</a>" |
| 27587 | +and "maxcomcpuusage". |
27562 | 27588 | </pre><a class="anchor" name="date"></a><a class="anchor" name="7-date"></a><a class="anchor" name="7.3.2-date"></a><a class="anchor" name="date (Using ACLs and fetching samples)"></a><a class="anchor" name="date (Fetching samples from internal states)"></a><div class="keyword"><b><a class="anchor" name="date"></a><a href="#7.3.2-date">date</a></b>(<span style="color: #008">[<span style="color: #080"><offset></span><span style="color: #008">[,<span style="color: #080"><unit></span>]</span>]</span>) : integer</div><pre class="text">Returns the current date as the epoch (number of seconds since 01/01/1970). |
27563 | 27589 |
|
27564 | 27590 | If an offset value is specified, then it is added to the current date before |
@@ -27841,6 +27867,9 @@ <h3 id="chapter-7.3.2" data-target="7.3.2"><small><a class="small" href="#7.3.2" |
27841 | 27867 |
|
27842 | 27868 | It must only be used for debugging purpose. The exact format is not |
27843 | 27869 | documented because it may evolve depending on developers requirements. |
| 27870 | +</pre><a class="anchor" name="tgroup"></a><a class="anchor" name="7-tgroup"></a><a class="anchor" name="7.3.2-tgroup"></a><a class="anchor" name="tgroup (Using ACLs and fetching samples)"></a><a class="anchor" name="tgroup (Fetching samples from internal states)"></a><div class="keyword"><b><a class="anchor" name="tgroup"></a><a href="#7.3.2-tgroup">tgroup</a></b> : integer</div><pre class="text">Returns an integer value corresponding to the position of the thread group |
| 27871 | +calling the function, between 0 and (global.thread-groups - 1). This is |
| 27872 | +useful for logging and debugging purposes. |
27844 | 27873 | </pre><a class="anchor" name="thread"></a><a class="anchor" name="7-thread"></a><a class="anchor" name="7.3.2-thread"></a><a class="anchor" name="thread (Using ACLs and fetching samples)"></a><a class="anchor" name="thread (Fetching samples from internal states)"></a><div class="keyword"><b><a class="anchor" name="thread"></a><a href="#7.3.2-thread">thread</a></b> : integer</div><pre class="text">Returns an integer value corresponding to the position of the thread calling |
27845 | 27874 | the function, between 0 and (global.nbthread-1). This is useful for logging |
27846 | 27875 | and debugging purposes. |
@@ -35290,7 +35319,7 @@ <h2 id="chapter-12.9" data-target="12.9"><small><a class="small" href="#12.9">12 |
35290 | 35319 | <br> |
35291 | 35320 | <hr> |
35292 | 35321 | <div class="text-right"> |
35293 | | - HAProxy 3.4-dev8-128 – Configuration Manual<br> |
| 35322 | + HAProxy 3.4-dev8-149 – Configuration Manual<br> |
35294 | 35323 | <small>, 2026/04/03</small> |
35295 | 35324 | </div> |
35296 | 35325 | </div> |
|
0 commit comments