Cloudflare Docs
Load Balancing
Load Balancing
Edit this page
Give us feedback
Set theme to dark (⇧+D)

Frequently Asked Questions

​​ Overview

For more detailed information about Load Balancing — including how-to guides, tutorials, and other reference information — check out our product documentation.


​​ Why is my origin receiving so many health monitor requests?

This issue may be caused by a combination of two issues.

​​ Multiple Health Monitor Regions

When you attach a monitor to a pool, you can specify the Health Monitor Regions that Cloudflare uses to monitor your endpoint health.

If you select multiple regions or choose All Data Centers (Enterprise Only), you may dramatically increase traffic to that pool and its associated endpoints. Each region sends individual health monitor requests from 3 data centers. Using All Data Centers sends individual health monitor requests from all existing Cloudflare data centers (and that number of data centers is growing all the time).

To reduce traffic, reduce the number of selected regions or choose an option besides All Data Centers.

​​ Low intervals for health monitor requests

If you have a low interval for your health monitor requests, you may increase the traffic sent to your endpoints.


​​ Why is my endpoint or pool considered unhealthy?

To learn more about how endpoints and pools become unhealthy, refer to Endpoint and pool health.

If you know that your endpoint is healthy but load balancing is reporting it as unhealthy, check the following settings on the monitor:

  • Perform a curl request against the configured endpoint. Make sure the response you are seeing matches your settings for the monitor.
  • Ensure your firewall or web server does not block or rate limit our health monitors and accepts requests from Cloudflare IP addresses.
  • If you are looking for a specific value in the Response Body, make sure that value is relatively static and within the first 10 KB of the HTML page.
  • If your endpoint responds with a 301 or 302 status code, make sure Follow Redirects is selected.
  • Try increasing the Timeout value.
  • Review the Host Header for the health monitor.
  • If you are using Authenticated Origin Pulls, Argo Smart Routing, make sure that you entered a zone value for Simulate Zone.

​​ Why does my load balancer route traffic to a secondary pool when the primary pool is still healthy?

You occasionally might see traffic routed away from a pool if a health monitor request fails from a specific data center (even if the endpoint is still healthy). That data center may direct a small number of requests to another pool that is considered healthy by that data center.

To learn more about how endpoints and pools become unhealthy, refer to Endpoint and pool health.


​​ What happens when a pool or endpoint becomes unhealthy?

To learn more about how endpoints and pools become unhealthy, refer to Endpoint and pool health.


​​ What is the difference between Load Balancing and Health Checks?

Cloudflare Load Balancing helps monitor endpoints health and — based on that and other information — route incoming requests accordingly. Individual endpoints have monitors attached, which issue monitor requests at regular intervals.

Cloudflare Health Checks are identical to monitors within a load balancer, but only meant for probing server health (and not distributing traffic).


​​ Why do I see different numbers of requests in Load Balancing Analytics?

You may see different numbers of requests when reviewing Load Balancing Analytics, especially when compared to other Cloudflare dashboards (Caching, etc.).

Load balancing requests are the number of uncached requests made by your load balancer. By default, Cloudflare caches resolved IP addresses for up to five seconds. This built-in caching is often the cause of an discrepancies.


​​ I’m seeing a specific error code for my load balancer or monitor.

For a list of specific error codes and next steps, refer to Load Balancing Troubleshooting.