{"id":22563,"date":"2026-11-27T08:00:00","date_gmt":"2026-11-27T07:00:00","guid":{"rendered":"https:\/\/webhosting.de\/?p=22563"},"modified":"2026-11-21T08:30:08","modified_gmt":"2026-11-21T07:30:08","slug":"php-fpm-listen-backlog-pending-connections","status":"publish","type":"post","link":"https:\/\/webhosting.de\/en\/php-fpm-listen-backlog-wartende-verbindungen\/","title":{"rendered":"PHP-FPM Listen Backlog: Identifying Pending FastCGI Connections Under Load"},"content":{"rendered":"<div class=\"wh-article\" data-wh-layout=\"2.1.2\" style=\"width:100%;max-width:820px;margin:0 auto;color:#263b4b;font-family:inherit;font-size:18px;line-height:1.8;text-align:start;overflow-wrap:break-word;box-sizing:border-box\"><p class=\"wh-lead\" style=\"font-size:20px;line-height:1.7;color:#233746;margin:0 0 1.1em\">To check whether PHP requests are waiting for an available worker, first check the <strong style=\"font-weight:700;color:inherit\">Listeners of the affected PHP-FPM pool<\/strong>. Assign the slow route to its FastCGI target and, within the same time frame, compare the socket usage with the available workers and the web server logs. If the listener shows connections that haven\u2019t yet been accepted, a backlog is visible there.   A zero in the FPM status or a 504 error alone does not settle the matter, however. Only when you know when and where connections are waiting can you determine whether increasing the buffer size will actually help.  <\/p>\n<nav class=\"wh-toc\" aria-label=\"Contents of this article\" style=\"display:block;margin:28px 0 38px;padding:22px;border:1px solid #d9e4e8;border-radius:14px;background:#f4f8f8\"><p class=\"wh-toc-title\" style=\"font-size:13px;font-weight:700;letter-spacing:.08em;color:#49656b;margin:0 0 14px\">Go directly to the section<\/p><div class=\"wh-toc-grid\" style=\"display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:10px\"><div class=\"wh-toc-item\" style=\"display:block;min-width:0;margin:0;padding:0\"><a class=\"wh-toc-link\" href=\"#pool-zuordnen\" style=\"display:block;height:100%;padding:12px 15px;border:1px solid #dce6e8;border-radius:9px;background:#fff;color:#18575b;font-size:14px;line-height:1.5;font-weight:600;text-decoration:none;box-sizing:border-box\">First, find the affected pool<\/a><\/div>\n<div class=\"wh-toc-item\" style=\"display:block;min-width:0;margin:0;padding:0\"><a class=\"wh-toc-link\" href=\"#backlog-abgrenzen\" style=\"display:block;height:100%;padding:12px 15px;border:1px solid #dce6e8;border-radius:9px;background:#fff;color:#18575b;font-size:14px;line-height:1.5;font-weight:600;text-decoration:none;box-sizing:border-box\">What's Actually in the PHP-FPM Backlog<\/a><\/div>\n<div class=\"wh-toc-item\" style=\"display:block;min-width:0;margin:0;padding:0\"><a class=\"wh-toc-link\" href=\"#puffer-und-worker\" style=\"display:block;height:100%;padding:12px 15px;border:1px solid #dce6e8;border-radius:9px;background:#fff;color:#18575b;font-size:14px;line-height:1.5;font-weight:600;text-decoration:none;box-sizing:border-box\">Distinguish Between Wait Buffers and Worker Limits<\/a><\/div>\n<div class=\"wh-toc-item\" style=\"display:block;min-width:0;margin:0;padding:0\"><a class=\"wh-toc-link\" href=\"#statuswerte-einordnen\" style=\"display:block;height:100%;padding:12px 15px;border:1px solid #dce6e8;border-radius:9px;background:#fff;color:#18575b;font-size:14px;line-height:1.5;font-weight:600;text-decoration:none;box-sizing:border-box\">Reading Queue and Worker Values Correctly<\/a><\/div>\n<div class=\"wh-toc-item\" style=\"display:block;min-width:0;margin:0;padding:0\"><a class=\"wh-toc-link\" href=\"#listener-messen\" style=\"display:block;height:100%;padding:12px 15px;border:1px solid #dce6e8;border-radius:9px;background:#fff;color:#18575b;font-size:14px;line-height:1.5;font-weight:600;text-decoration:none;box-sizing:border-box\">Monitor the listener directly under load<\/a><\/div>\n<div class=\"wh-toc-item\" style=\"display:block;min-width:0;margin:0;padding:0\"><a class=\"wh-toc-link\" href=\"#lastspitze-nachvollziehen\" style=\"display:block;height:100%;padding:12px 15px;border:1px solid #dce6e8;border-radius:9px;background:#fff;color:#18575b;font-size:14px;line-height:1.5;font-weight:600;text-decoration:none;box-sizing:border-box\">Understanding a Short Load Spike<\/a><\/div>\n<div class=\"wh-toc-item\" style=\"display:block;min-width:0;margin:0;padding:0\"><a class=\"wh-toc-link\" href=\"#dauerstau-ursachen\" style=\"display:block;height:100%;padding:12px 15px;border:1px solid #dce6e8;border-radius:9px;background:#fff;color:#18575b;font-size:14px;line-height:1.5;font-weight:600;text-decoration:none;box-sizing:border-box\">Explain worker utilization during persistent congestion<\/a><\/div>\n<div class=\"wh-toc-item\" style=\"display:block;min-width:0;margin:0;padding:0\"><a class=\"wh-toc-link\" href=\"#upstream-fehler-pruefen\" style=\"display:block;height:100%;padding:12px 15px;border:1px solid #dce6e8;border-radius:9px;background:#fff;color:#18575b;font-size:14px;line-height:1.5;font-weight:600;text-decoration:none;box-sizing:border-box\">502 and 504 without a visible queue<\/a><\/div>\n<div class=\"wh-toc-item\" style=\"display:block;min-width:0;margin:0;padding:0\"><a class=\"wh-toc-link\" href=\"#status-messluecken\" style=\"display:block;height:100%;padding:12px 15px;border:1px solid #dce6e8;border-radius:9px;background:#fff;color:#18575b;font-size:14px;line-height:1.5;font-weight:600;text-decoration:none;box-sizing:border-box\">Maintain this status even under overload conditions<\/a><\/div>\n<\/div><\/nav><section class=\"wh-section\" aria-labelledby=\"pool-zuordnen\" style=\"display:block;margin:0 0 36px;min-width:0\"><h2 id=\"pool-zuordnen\" style=\"margin:38px 0 18px;color:#172f41;font-size:clamp(24px,1.25rem + 1vw,30px);font-weight:700;line-height:1.3;scroll-margin-top:115px\">First, find the affected pool<\/h2><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Start with a specific slow URL and the virtual host that handles it. Check the web server configuration to see where this route forwards its PHP requests. In nginx, the destination is specified in <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">fastcgi_pass<\/code>; if the directive refers to a named upstream group, resolve the name down to the actual endpoints in question. Especially when multiple websites use the same server, the hostname alone does not indicate which pool is processing the request. <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Equalize that <strong style=\"font-weight:700;color:inherit\">FastCGI Target<\/strong> under the Pool Directive <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">listen<\/code> . For a Unix socket, note the full path; for TCP, note the address and port. Also note the pool name and version of the FPM service that serves this target. The <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">php -v<\/code> The version shown is for the command-line installation and does not indicate the FPM version of the website. <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Check whether the FPM status output lists the expected pool. Then set a common time window with a time zone for status values, socket monitoring, and web server logs. If you compare a slow request at 2:03 p.m. with a measurement taken at 2:10 p.m., workers may have become available again in the meantime. This does not contradict the possibility of a brief bottleneck at 2:03 p.m. <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">If you lack shell access or pool data in your managed hosting environment, ask the provider for metrics specific to the incident rather than a general statement about server utilization. This information helps both parties identify the appropriate metrics for the affected request:<\/p>\n<ul class=\"wh-list\" role=\"list\" style=\"list-style:none;margin:24px 0;padding:0\"><li style=\"margin:8px 0;padding:12px 17px;background:#f5f8fa;border:1px solid #e0e8ec;border-radius:9px\">Specify the affected domain and route; determine the assignment to the FPM pool, the FastCGI target, and the FPM version in use.<\/li><li style=\"margin:8px 0;padding:12px 17px;background:#f5f8fa;border:1px solid #e0e8ec;border-radius:9px\">Specify the incident period, including the date, time, and time zone.<\/li><li style=\"margin:8px 0;padding:12px 17px;background:#f5f8fa;border:1px solid #e0e8ec;border-radius:9px\">Retrieve queue occupancy as well as active and available workers for this time period; request corresponding upstream errors, including timestamps and error phases.<\/li><\/ul><\/section><section class=\"wh-section\" aria-labelledby=\"backlog-abgrenzen\" style=\"display:block;margin:0 0 36px;min-width:0\"><h2 id=\"backlog-abgrenzen\" style=\"margin:38px 0 18px;color:#172f41;font-size:clamp(24px,1.25rem + 1vw,30px);font-weight:700;line-height:1.3;scroll-margin-top:115px\">What's Actually in the PHP-FPM Backlog<\/h2><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">If a request requires PHP, the web server forwards it via FastCGI to the pool's listener. The listener is the socket where FPM accepts new connections. If a connection is already ready to be accepted but has not yet been accepted by a worker, it may be in the queue for that socket. It is precisely this <strong style=\"font-weight:700;color:inherit\">pending FastCGI connections<\/strong> refer to the list backlog.  <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">For a TCP listener on Linux, the backlog consists of fully established connections that have not yet been closed via <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">accept<\/code> were accepted. Connections with an incomplete TCP handshake are not included. A successful connection establishment therefore does not mean that FPM has already begun processing the request: From the web server's perspective, the connection may already be established, while it is still waiting to be accepted by the listener. <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">The designation \"<strong style=\"font-weight:700;color:inherit\">PHP Queue<\/strong>\u201c would be too broad a definition. An HTTP request waiting to be forwarded\u2014either in front of the web server or already inside it\u2014has not yet reached this measurement point. Conversely, a PHP request that a worker is already processing is no longer visible there. If your script is waiting for a database query or an external service, the worker remains busy without that request itself being counted as part of the socket queue.  <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Both can happen at the same time: A slow database ties up workers, and incoming connections then back up at the listener. The backlog then shows, <strong style=\"font-weight:700;color:inherit\">where the new connections await<\/strong>, but not why the workers remain occupied for so long. If, on the other hand, only a few active requests slow down and the pool still has available workers, the website may respond sluggishly even without measurable congestion at the listener. Response time alone does not distinguish between these cases.  <\/p>\n<\/section><section class=\"wh-section\" aria-labelledby=\"puffer-und-worker\" style=\"display:block;margin:0 0 36px;min-width:0\"><h2 id=\"puffer-und-worker\" style=\"margin:38px 0 18px;color:#172f41;font-size:clamp(24px,1.25rem + 1vw,30px);font-weight:700;line-height:1.3;scroll-margin-top:115px\">Distinguish Between Wait Buffers and Worker Limits<\/h2><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">With <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">listen.backlog<\/code> You specify the backlog size that FPM requests from the operating system. This directive affects the <strong style=\"font-weight:700;color:inherit\">Waiting buffer<\/strong> on the listener, not the number of PHP processes. Under Linux, the limit is <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">somaxconn<\/code> the value that the kernel assigns to the call <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">listen<\/code> accepted. If the requested backlog exceeds this limit, the kernel may silently limit it. A successful FPM startup therefore does not confirm that the listener is actually using the configured size.  <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">The upper limit for the number of requests being processed simultaneously in the pool, on the other hand, is set at <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">pm.max_children<\/code>. This <strong style=\"font-weight:700;color:inherit\">Worker Limit<\/strong> It is neither the number of available processes nor the number of requests per second. If all available workers are busy, the time it takes for one to accept a connection again depends on the duration of their current tasks. The size of the socket queue does not affect this. <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Imagine two otherwise identical pools experiencing the same short-term load spike. The pool with the larger backlog can accommodate more incoming connections in the queue while the workers process their current requests. This does not speed up the processing of current requests. As soon as the spike ends, the pool can gradually accept the waiting connections. The larger buffer can thus prevent connection errors during short spikes, but this may come at the cost of longer wait times.  <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">If the overload persists, even a larger buffer will fill up when more work arrives than the pool can handle. In and of itself, a larger backlog does not increase throughput. If the additional wait time is unacceptable to the application, the appropriate options are fewer requests arriving at the pool, shorter processing times, or more sustainable processing capacity. Whether a larger buffer is worthwhile therefore depends on how quickly the pool clears the backlog and how much additional latency is acceptable.  <\/p>\n<\/section><section class=\"wh-section\" aria-labelledby=\"statuswerte-einordnen\" style=\"display:block;margin:0 0 36px;min-width:0\"><h2 id=\"statuswerte-einordnen\" style=\"margin:38px 0 18px;color:#172f41;font-size:clamp(24px,1.25rem + 1vw,30px);font-weight:700;line-height:1.3;scroll-margin-top:115px\">Reading Queue and Worker Values Correctly<\/h2><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Status checks and internal measurements occur at two different times: PHP 8.4.0 transfers queue values to the scoreboard during periodic pool maintenance. More frequent HTTP status checks do not trigger additional socket measurements. Even `max_listen_queue` may miss spikes between internal measurement points. Record the retrieval time and pool runtime; a high maximum value may have already occurred before the incident.  <\/p>\n<div class=\"wh-table-scroll\" tabindex=\"0\" role=\"region\" aria-label=\"FPM Status Values: Documented Meaning and Limitations of the Diagnosis\" style=\"width:100%;max-width:100%;overflow-x:auto;margin:28px 0;border:1px solid #dce5e9;border-radius:14px;background:#fff;box-shadow:0 10px 28px -16px rgba(24,47,60,.32);box-sizing:border-box\"><table style=\"width:100%;min-width:580px;border-collapse:separate;border-spacing:0;border:0;margin:0;font-size:15px;line-height:1.6;background:#fff\"><caption style=\"padding:20px;text-align:start;font-size:17px;line-height:1.5;font-weight:700;color:#173246;background:#fff\">FPM Status Values: Documented Meaning and Limitations of the Diagnosis<\/caption><thead><tr><th scope=\"col\" style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#19394d;color:#fff\">Signal<\/th><th scope=\"col\" style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#19394d;color:#fff\">What it shows<\/th><th scope=\"col\" style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#19394d;color:#fff\">What It Doesn't Prove<\/th><th scope=\"col\" style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#19394d;color:#fff\">Next Synchronization<\/th><\/tr><\/thead><tbody><tr><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">listen queue<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">Reported occupancy; if there is an entry error, \"0\" may be accepted<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">That a reported \"0\" indicates an empty listener or that no congestion occurred between internal measurement points<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">Synchronize direct socket measurement and internal sampling<\/td><\/tr><tr><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">max listen queue<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">Highest internally recorded occupancy since launch<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">Actual peaks between internal measurement points, time of occurrence, or duration of the traffic jam<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">Compare Previous Values, Sampling, and Socket Measurements<\/td><\/tr><tr><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">list queue length<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">According to the PHP Manual, queue size; the tcpi_sacked value initially adopted from the Linux TCP_INFO path in PHP 8.4.0<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">Current usage, specific rejection threshold, or a zero limit for Unix sockets or query errors<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">Record socket limits separately; check the build and socket type<\/td><\/tr><tr><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">idle processes \/ active processes<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">Reported number of unemployed and employed workers<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">Why workers are busy or whether there are connections waiting on the socket<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">Process counts and listener allocation within the same time window<\/td><\/tr><tr><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">max children reached<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">Historical Reference to the Boundary of the Process<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">Whether the pool is currently at full capacity or the backlog is full<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">Process mode, current number of processes, available workers, and listener allocation<\/td><\/tr><tr><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">start time \/ start date<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">Start time or duration<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">That historical values remain comparable even after a reset<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">Mark restart limits in the measurement series<\/td><\/tr><\/tbody><\/table><\/div><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">In the PHP 8.4.0 release source code examined here, the queue detection for TCP pools is called; Unix sockets do not follow this path. If the query fails, the periodic evaluation sets the current queue to zero. A zero can therefore indicate an empty queue, a missed peak, or a detection threshold. First, check the actual FPM build and socket type, and compare them with a real-time direct observation of the socket. Do not apply the findings from this release universally to other versions or vendor packages.  <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">According to the PHP manual, `listen queue len` is the size of the queue. In the Linux TCP_INFO path of PHP 8.4.0, the initialization value for the `tcpi_sacked` field is set upon a successful query. This line of source code does not indicate current usage or an actual rejection threshold. Even with Unix sockets or query errors, a value of null does not indicate a limit of zero. For comparison, record the queue and the reported backlog separately via the socket diagnostic path documented here.   <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">An increase of <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">max children reached<\/code> \"During the incident period\" is a supplementary note, not a live display. In mode <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">static<\/code> The process count is fixed. Do not wait for the counter to increase to detect a fully utilized pool. The key factors are the available and free workers, as well as the concurrent socket usage. For regular monitoring, see the <a href=\"https:\/\/webhosting.de\/en\/php-fpm-status-page-performance-analysis\/\">PHP-FPM Status Page for Performance Analysis<\/a>.  <\/p>\n<\/section><section class=\"wh-section\" aria-labelledby=\"listener-messen\" style=\"display:block;margin:0 0 36px;min-width:0\"><h2 id=\"listener-messen\" style=\"margin:38px 0 18px;color:#172f41;font-size:clamp(24px,1.25rem + 1vw,30px);font-weight:700;line-height:1.3;scroll-margin-top:115px\">Monitor the listener directly under load<\/h2><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">If you have shell access to the Linux system running the FPM listener, you can monitor the socket independently of the status page. For containers, the query must be able to access the network namespace where the listener resides. The following commands read the socket status without changing the configuration. The first line shows listening TCP sockets; the second shows listening Unix sockets. <\/p>\n<div class=\"wh-code-window\" data-wh-code style=\"margin:28px 0 34px;border:1px solid #2c4656;border-radius:12px;overflow:hidden;background:#132a3b;box-shadow:0 9px 25px -13px rgba(15,35,55,.2)\"><div class=\"wh-code-toolbar\" style=\"display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding:11px 16px;background:#223e50;color:#edf5fa;font-size:13px;line-height:1.5;font-weight:600\"><span>Terminal<\/span><button type=\"button\" class=\"wh-code-copy\" data-wh-copy hidden style=\"padding:6px 11px;border:1px solid #7893a1;border-radius:6px;background:transparent;color:#fff;font-size:12px;line-height:1.5;font-weight:600;cursor:pointer\">Copy code<\/button><span class=\"wh-copy-status\" aria-live=\"polite\"><\/span><span data-wh-copy-success hidden>Copied<\/span><span data-wh-copy-fallback hidden>Code highlighted\u2014please copy<\/span><\/div><pre class=\"wh-code\" data-no-translation translate=\"no\" style=\"display:block;margin:0;padding:20px;max-width:100%;overflow-x:auto;color:#edf5fa;background:#132a3b;font:14px\/1.75 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;white-space:pre;direction:ltr;text-align:left\"><code class=\"language-bash\" style=\"font:inherit;color:inherit;background:transparent;padding:0;border:0;white-space:inherit\">ss -ltn\nss -lxn<\/code><\/pre><\/div><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Assign the TCP address and port or Unix socket path to the FastCGI target and select the appropriate LISTEN line. On Unix, it must be the listening stream line (u_str): `ss -lxn` does not specifically filter for stream sockets. If a matching line is missing, no measurement value is available for the listener in question. An existing matching line with Recv-Q = 0 indicates an empty queue for that measurement point in time only if queue telemetry is available; a visible line alone does not prove this condition.  <\/p>\n<figure class=\"wp-block-image size-large wh-figure\" aria-describedby=\"wh-caption-detail1\" style=\"display:block;float:none;clear:both;width:100%;max-width:760px;margin:34px auto 40px;border:1px solid #dae5e9;border-radius:14px;overflow:hidden;background:#f5f8fa;box-shadow:0 10px 28px -17px rgba(24,47,60,.28);box-sizing:border-box\"><div class=\"wh-figure-media\" style=\"display:block;background:#eef3f5;line-height:0\"><img loading=\"lazy\" width=\"800\" height=\"534\" src=\"https:\/\/webhosting.de\/wp-content\/uploads\/2026\/11\/php-fpm-tcp-listener-anschluss-e6a880e1-detail1-6f8eb4d6e9-1024x683.webp\" class=\"wp-image-22607\" alt=\"AI-generated stock image of an Ethernet cable plugged into the back of a compact server\" decoding=\"async\" srcset=\"https:\/\/webhosting.de\/wp-content\/uploads\/2026\/11\/php-fpm-tcp-listener-anschluss-e6a880e1-detail1-6f8eb4d6e9-1024x683.webp 1024w, https:\/\/webhosting.de\/wp-content\/uploads\/2026\/11\/php-fpm-tcp-listener-anschluss-e6a880e1-detail1-6f8eb4d6e9-300x200.webp 300w, https:\/\/webhosting.de\/wp-content\/uploads\/2026\/11\/php-fpm-tcp-listener-anschluss-e6a880e1-detail1-6f8eb4d6e9-768x512.webp 768w, https:\/\/webhosting.de\/wp-content\/uploads\/2026\/11\/php-fpm-tcp-listener-anschluss-e6a880e1-detail1-6f8eb4d6e9-18x12.webp 18w, https:\/\/webhosting.de\/wp-content\/uploads\/2026\/11\/php-fpm-tcp-listener-anschluss-e6a880e1-detail1-6f8eb4d6e9.webp 1536w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" ><\/div><figcaption class=\"wh-caption\" id=\"wh-caption-detail1\" style=\"display:block;margin:0;padding:12px 18px 15px;border-top:1px solid #dce5e9;color:#506575;background:#f5f8fa;font-size:14px;line-height:1.55;text-align:start\">AI-generated illustrative image: With a TCP listener, you map the measurement based on the address and port, not the physical port.<\/figcaption><\/figure><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">For the Netlink diagnostic path demonstrated here using Linux v6.12 and iproute2 v6.12.0, the following applies: For TCP-LISTEN, Recv-Q shows the fully established connections that have not yet been accepted, while Send-Q shows the reported maximum backlog. For listening Unix stream sockets, Recv-Q also shows the waiting connections, and Send-Q shows the reported socket backlog limit. These are connection counts, not data volumes or wait times. Evaluate the current usage separately from the limit. Other versions and diagnostic paths must be checked separately; a single snapshot does not indicate sustained utilization.   <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Capture multiple snapshots before, during, and after the peak load. Place the timestamped output next to the status values and web server logs. Use the same time zone. If there are multiple upstream targets, use only log entries for the target being monitored; otherwise, you may end up comparing the latency of one pool with that of an empty listener.  <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">The <strong style=\"font-weight:700;color:inherit\">Sampling rate<\/strong> determines what you can see. Between two queries, the queue can grow and then empty again. If the logs remain empty despite brief latency spikes, monitor a comparable time window more closely. Even a log showing a confirmed backlog does not indicate how long the connections have been waiting or which HTTP requests are affected.  <\/p>\n<\/section><section class=\"wh-section\" aria-labelledby=\"lastspitze-nachvollziehen\" style=\"display:block;margin:0 0 36px;min-width:0\"><h2 id=\"lastspitze-nachvollziehen\" style=\"margin:38px 0 18px;color:#172f41;font-size:clamp(24px,1.25rem + 1vw,30px);font-weight:700;line-height:1.3;scroll-margin-top:115px\">Understanding a Short Load Spike<\/h2><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Suppose a store receives a brief surge in dynamic requests after sending out a newsletter. Before the spike, the pool shows available workers, and no waiting connections are visible at the listener. This is the starting point for the comparison: The existing processes were able to handle the incoming traffic at that time without any visible backlog.  <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">During peak times, available workers become scarce. In setups with multiple sockets, the queue at the assigned listener grows. Taken together, these findings suggest that FastCGI connections sometimes arrive faster than workers can accept them. However, the utilization alone does not reveal how many milliseconds of wait time are attributable to a specific store request.  <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">After the peak, the queue empties, and free workers become available again. Now check whether response times for the affected pages increased noticeably during the same time window or whether the logs show errors during FastCGI connection establishment. If the additional latency remains within an acceptable range and no connection errors occur, the brief spike alone is not a reason to increase the backlog.  <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">If you're experiencing recurring spikes, it's worth taking a look at the <strong style=\"font-weight:700;color:inherit\">Process Reserve<\/strong>. In mode <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">dynamic<\/code> FPM maintains a configurable number of free processes; when <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">ondemand<\/code> It starts workers as needed. If the queue builds up mainly while waiting for additional processes to become available, having a reserve of workers available early on can help, provided there is enough memory for them. A larger <strong style=\"font-weight:700;color:inherit\">backlog<\/strong> has a different effect: It puts more connections on hold. This can be useful during brief spikes when connections would otherwise fail and the additional wait time is acceptable. However, it does not make a worker available any sooner. <\/p>\n<\/section><section class=\"wh-section\" aria-labelledby=\"dauerstau-ursachen\" style=\"display:block;margin:0 0 36px;min-width:0\"><h2 id=\"dauerstau-ursachen\" style=\"margin:38px 0 18px;color:#172f41;font-size:clamp(24px,1.25rem + 1vw,30px);font-weight:700;line-height:1.3;scroll-margin-top:115px\">Explain worker utilization during persistent congestion<\/h2><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">If the socket queue remains occupied across multiple measurement points and there are no available workers at the same time, compare the current number of processes with the <strong style=\"font-weight:700;color:inherit\">Process boundary<\/strong> <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">pm.max_children<\/code>. At <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">dynamic<\/code> and <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">ondemand<\/code> You can also use this to check whether the pool is already operating at its limit or is still below it. When <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">static<\/code> The number of processes is fixed. If there are no available workers and connections are waiting, the pool is at full capacity, even if <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">max children reached<\/code> remains unchanged. Therefore, prioritize the combined metric of process count, available workers, and socket utilization over the historical counter.  <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Reaching this limit does not yet explain why workers are not becoming available quickly enough. Compare which routes were accessed more frequently during the incident period and for which the response time increased. If the checkout process in particular is slowing down, analyzing it is a better starting point than looking at the average runtime of all PHP requests. Even a single slow route can tie up enough workers to slow down other pages in the same pool.<\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">The <strong style=\"font-weight:700;color:inherit\">FPM Slowlog<\/strong> helps you find jobs with long processing times. Once it's set up and <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">request_slowlog_timeout<\/code> If set, FPM can log a PHP backtrace of the current request once the threshold has been exceeded. This is a snapshot from the worker; it is not a measurement of the previous wait time at the socket. If the trace points to a database call or an external service, compare it with that service\u2019s own runtimes and errors before determining the cause. <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Which change will help depends on what\u2019s tying up the workers. If avoidable requests are reaching the pool, a suitable cache can reduce the incoming load. If, on the other hand, long queries are driving up processing time, you should focus on the query or the affected service. A larger backlog does nothing to address either of these causes: it simply causes more connections to wait without processing them any faster. <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">You can consider adding more workers if the process limit is actually causing a bottleneck and the CPU, RAM, and downstream services still have capacity to spare. If the database is already at full capacity, additional workers can send even more queries to it simultaneously, thereby further delaying processing. The following section shows how to estimate the memory budget and the required level of parallelism separately: <a href=\"https:\/\/webhosting.de\/en\/php-fpm-capacity-planning-worker-ram-requests\/\">Capacity Planning for PHP-FPM Workers<\/a>. After making a change, evaluate not only the queue but also response times and resource usage under comparable load.<\/p>\n<\/section><section class=\"wh-section\" aria-labelledby=\"upstream-fehler-pruefen\" style=\"display:block;margin:0 0 36px;min-width:0\"><h2 id=\"upstream-fehler-pruefen\" style=\"margin:38px 0 18px;color:#172f41;font-size:clamp(24px,1.25rem + 1vw,30px);font-weight:700;line-height:1.3;scroll-margin-top:115px\">502 and 504 without a visible queue<\/h2><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">A reported queue of zero does not rule out a bottleneck. First, check whether the status query and socket measurement pertain to the FastCGI target that nginx uses for the affected route. A brief bottleneck may also occur between two requests. If socket monitoring indicates pending connections, a zero in the FPM status does not disprove this.  <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">If you get a 502 or 504 error, the <strong style=\"font-weight:700;color:inherit\">Error message in the nginx log<\/strong> more informative than the HTTP status alone. <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">fastcgi_connect_timeout<\/code> This concerns establishing a connection to the FastCGI target. <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">fastcgi_read_timeout<\/code> However, it limits the time between consecutive read operations, not the total response time. <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Even a fast TCP connection establishment does not rule out waiting at the FPM listener. On Linux, the connection may already be fully established before a worker establishes it via <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">accept<\/code> assumes. Therefore, check the status at the listener at the time of the suspicious calls. A successful connection alone does not prove that FPM has already begun processing. <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Compare the Nginx upstream times within the same load window. $upstream_connect_time tracks the connection establishment; a short duration does not rule out waiting for an FPM worker to accept the connection. $upstream_header_time extends only to the response header and does not isolate this wait time. $upstream_queue_time measures only Nginx\u2019s own upstream queue, not the FPM socket. According to the vendor, the associated `queue` directive is part of the commercial offering. Check the edition and configuration: This metric is only meaningful if the upstream queue is properly supported and configured. Compare the times for the same target using worker and listener values.  <\/p>\n<div class=\"wh-table-scroll\" tabindex=\"0\" role=\"region\" aria-label=\"Compare FastCGI error phases and socket status\" style=\"width:100%;max-width:100%;overflow-x:auto;margin:28px 0;border:1px solid #dce5e9;border-radius:14px;background:#fff;box-shadow:0 10px 28px -16px rgba(24,47,60,.32);box-sizing:border-box\"><table style=\"width:100%;min-width:580px;border-collapse:separate;border-spacing:0;border:0;margin:0;font-size:15px;line-height:1.6;background:#fff\"><caption style=\"padding:20px;text-align:start;font-size:17px;line-height:1.5;font-weight:700;color:#173246;background:#fff\">Compare FastCGI error phases and socket status<\/caption><thead><tr><th scope=\"col\" style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#19394d;color:#fff\">Signal<\/th><th scope=\"col\" style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#19394d;color:#fff\">What it shows<\/th><th scope=\"col\" style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#19394d;color:#fff\">What It Doesn't Prove<\/th><th scope=\"col\" style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#19394d;color:#fff\">Next Synchronization<\/th><\/tr><\/thead><tbody><tr><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">Timeout while establishing a connection<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">The setup for the FastCGI target was not completed in time<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">The fact that the FPM backlog was full<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">Check the target, accessibility, and listener assignment<\/td><\/tr><tr><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">Timeout while reading the response<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">The allowed interval between read operations has been exceeded<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">Whether the delay occurred before approval or during processing<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">Synchronizing Worker Status, Listener Allocation, and Slow Requests<\/td><\/tr><\/tbody><\/table><\/div><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">If the correctly assigned listener remains empty even upon closer inspection, while read errors are piling up, check for long-running or aborted PHP requests and their dependencies. If, on the other hand, connection errors are piling up, first check which target nginx actually attempted to reach and whether it was accessible. Without corresponding socket data, increasing the backlog would amount to making a change based on mere suspicion.  <\/p>\n<\/section><section class=\"wh-section\" aria-labelledby=\"status-messluecken\" style=\"display:block;margin:0 0 36px;min-width:0\"><h2 id=\"status-messluecken\" style=\"margin:38px 0 18px;color:#172f41;font-size:clamp(24px,1.25rem + 1vw,30px);font-weight:700;line-height:1.3;scroll-margin-top:115px\">Maintain this status even under overload conditions<\/h2><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">If the status query runs through the same FastCGI listener as the application traffic, it may have to wait or fail during periods of high load. This means that, especially at the peak of an incident, the most important pool values may be missing. Therefore, store a timeout or a failed retrieval as <strong style=\"font-weight:700;color:inherit\">Measurement gap<\/strong>, not a queue value of zero. Otherwise, the time period will incorrectly appear in the monitoring as if the queue had been emptied.  <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\"><code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">pm.status_path<\/code> Specifies the URI path for the status page, but does not separate the path to the pool. With <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">pm.status_listen<\/code> Instead, you can set up a separate FastCGI listener for status queries. The web server must specifically forward the status path to this listener, while application traffic continues to be directed to its original destination. This allows FPM to process status requests independently of the application pool, even when it is under heavy load.  <\/p>\n<figure class=\"wp-block-image size-large wh-figure\" aria-describedby=\"wh-caption-detail2\" style=\"display:block;float:none;clear:both;width:100%;max-width:760px;margin:34px auto 40px;border:1px solid #dae5e9;border-radius:14px;overflow:hidden;background:#f5f8fa;box-shadow:0 10px 28px -17px rgba(24,47,60,.28);box-sizing:border-box\"><div class=\"wh-figure-media\" style=\"display:block;background:#eef3f5;line-height:0\"><img loading=\"lazy\" width=\"800\" height=\"534\" src=\"https:\/\/webhosting.de\/wp-content\/uploads\/2026\/11\/php-fpm-separater-statuszugang-e6a880e1-detail2-a01e16d91f-1024x683.webp\" class=\"wp-image-22609\" alt=\"AI-generated illustration of a wide main path and a separate side path leading to an observation niche\" decoding=\"async\" srcset=\"https:\/\/webhosting.de\/wp-content\/uploads\/2026\/11\/php-fpm-separater-statuszugang-e6a880e1-detail2-a01e16d91f-1024x683.webp 1024w, https:\/\/webhosting.de\/wp-content\/uploads\/2026\/11\/php-fpm-separater-statuszugang-e6a880e1-detail2-a01e16d91f-300x200.webp 300w, https:\/\/webhosting.de\/wp-content\/uploads\/2026\/11\/php-fpm-separater-statuszugang-e6a880e1-detail2-a01e16d91f-768x512.webp 768w, https:\/\/webhosting.de\/wp-content\/uploads\/2026\/11\/php-fpm-separater-statuszugang-e6a880e1-detail2-a01e16d91f-18x12.webp 18w, https:\/\/webhosting.de\/wp-content\/uploads\/2026\/11\/php-fpm-separater-statuszugang-e6a880e1-detail2-a01e16d91f.webp 1536w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" ><\/div><figcaption class=\"wh-caption\" id=\"wh-caption-detail2\" style=\"display:block;margin:0;padding:12px 18px 15px;border-top:1px solid #dce5e9;color:#506575;background:#f5f8fa;font-size:14px;line-height:1.55;text-align:start\">AI-generated illustration: A separate status access point allows the pool to be monitored without creating additional capacity for application traffic.<\/figcaption><\/figure><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Hold the <strong style=\"font-weight:700;color:inherit\">Internal Status Access<\/strong> and restrict it to authorized monitoring and administration systems. The full view can reveal, among other things, request URIs and script paths. A separate listener does not automatically protect this information: If the web server also forwards the status path in the public virtual host, the output remains accessible from the outside without access restrictions. Therefore, verify not only that internal access is restricted, but also that public access is blocked.  <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">While the system is running, verify that your monitoring tool uses the intended query path and that the response actually specifies the expected pool. Record successful requests and errors with timestamps so you can compare them later with socket metrics and web server logs. The separate status listener helps you continue monitoring during a bottleneck. It does not increase the application\u2019s worker limit or its throughput.  <\/p>\n<\/section><section class=\"wh-sources\" style=\"margin:40px 0 0;padding:24px 0 0;border-top:1px solid #dce5e9;color:#596b7b;font-size:14px;line-height:1.65\"><h2 style=\"margin:38px 0 18px;color:#172f41;font-size:clamp(24px,1.25rem + 1vw,30px);font-weight:700;line-height:1.3;scroll-margin-top:115px\">Sources and Current State of Knowledge<\/h2><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Status of the research: <time datetime=\"2026-11-20\">2026-11-20<\/time><\/p><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Last updated: November 20, 2026. The implementation findings apply to PHP 8.4.0, Linux v6.12, and iproute2 v6.12.0. Other releases and vendor packages must be tested separately. No measurements were performed on a production system.<\/p><div class=\"wh-source-urls\"><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\"><span class=\"wh-source-url\" data-no-translation dir=\"ltr\" style=\"overflow-wrap:anywhere;font:12px\/1.6 ui-monospace,monospace;direction:ltr\">https:\/\/man7.org\/linux\/man-pages\/man2\/listen.2.html<\/span><\/p><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\"><span class=\"wh-source-url\" data-no-translation dir=\"ltr\" style=\"overflow-wrap:anywhere;font:12px\/1.6 ui-monospace,monospace;direction:ltr\">https:\/\/man7.org\/linux\/man-pages\/man8\/ss.8.html<\/span><\/p><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\"><span class=\"wh-source-url\" data-no-translation dir=\"ltr\" style=\"overflow-wrap:anywhere;font:12px\/1.6 ui-monospace,monospace;direction:ltr\">https:\/\/www.php.net\/manual\/en\/fpm.status.php<\/span><\/p><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\"><span class=\"wh-source-url\" data-no-translation dir=\"ltr\" style=\"overflow-wrap:anywhere;font:12px\/1.6 ui-monospace,monospace;direction:ltr\">https:\/\/nginx.org\/en\/docs\/http\/ngx_http_fastcgi_module.html<\/span><\/p><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\"><span class=\"wh-source-url\" data-no-translation dir=\"ltr\" style=\"overflow-wrap:anywhere;font:12px\/1.6 ui-monospace,monospace;direction:ltr\">https:\/\/www.php.net\/manual\/de\/install.fpm.configuration.php<\/span><\/p><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\"><span class=\"wh-source-url\" data-no-translation dir=\"ltr\" style=\"overflow-wrap:anywhere;font:12px\/1.6 ui-monospace,monospace;direction:ltr\">https:\/\/github.com\/php\/php-src\/blob\/php-8.4.0\/sapi\/fpm\/fpm\/fpm_process_ctl.c<\/span><\/p><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\"><span class=\"wh-source-url\" data-no-translation dir=\"ltr\" style=\"overflow-wrap:anywhere;font:12px\/1.6 ui-monospace,monospace;direction:ltr\">https:\/\/github.com\/php\/php-src\/blob\/php-8.4.0\/sapi\/fpm\/fpm\/fpm_sockets.c<\/span><\/p><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\"><span class=\"wh-source-url\" data-no-translation dir=\"ltr\" style=\"overflow-wrap:anywhere;font:12px\/1.6 ui-monospace,monospace;direction:ltr\">https:\/\/github.com\/iproute2\/iproute2\/blob\/v6.12.0\/misc\/ss.c<\/span><\/p><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\"><span class=\"wh-source-url\" data-no-translation dir=\"ltr\" style=\"overflow-wrap:anywhere;font:12px\/1.6 ui-monospace,monospace;direction:ltr\">https:\/\/github.com\/torvalds\/linux\/blob\/v6.12\/net\/ipv4\/tcp_diag.c<\/span><\/p><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\"><span class=\"wh-source-url\" data-no-translation dir=\"ltr\" style=\"overflow-wrap:anywhere;font:12px\/1.6 ui-monospace,monospace;direction:ltr\">https:\/\/github.com\/torvalds\/linux\/blob\/v6.12\/net\/unix\/diag.c<\/span><\/p><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\"><span class=\"wh-source-url\" data-no-translation dir=\"ltr\" style=\"overflow-wrap:anywhere;font:12px\/1.6 ui-monospace,monospace;direction:ltr\">https:\/\/nginx.org\/en\/docs\/http\/ngx_http_upstream_module.html<\/span><\/p><\/div><\/section><\/div>","protected":false},"excerpt":{"rendered":"<p>Slow PHP pages and 502 or 504 errors do not necessarily indicate a full backlog. Here's how to identify the affected FPM pool and use socket data, worker status, and nginx logs to verify whether FastCGI connections are actually waiting at the listener.<\/p>","protected":false},"author":1,"featured_media":22606,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[780],"tags":[],"class_list":["post-22563","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-administration-anleitungen"],"acf":[],"_links":{"self":[{"href":"https:\/\/webhosting.de\/en\/wp-json\/wp\/v2\/posts\/22563","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webhosting.de\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webhosting.de\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webhosting.de\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/webhosting.de\/en\/wp-json\/wp\/v2\/comments?post=22563"}],"version-history":[{"count":11,"href":"https:\/\/webhosting.de\/en\/wp-json\/wp\/v2\/posts\/22563\/revisions"}],"predecessor-version":[{"id":22610,"href":"https:\/\/webhosting.de\/en\/wp-json\/wp\/v2\/posts\/22563\/revisions\/22610"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webhosting.de\/en\/wp-json\/wp\/v2\/media\/22606"}],"wp:attachment":[{"href":"https:\/\/webhosting.de\/en\/wp-json\/wp\/v2\/media?parent=22563"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webhosting.de\/en\/wp-json\/wp\/v2\/categories?post=22563"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webhosting.de\/en\/wp-json\/wp\/v2\/tags?post=22563"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}