cloudflared
cloudflared copied to clipboard
Sse uses too much cpu
When a user reaches a page on my website that uses sse, the CPU gets pinned to 100% usage and does not go down until the process is restarted.
Example endpoint: https://api.merklemap.com/live-domains
To Reproduce Steps to reproduce the behavior:
- Produce an endpoint that produce data over sse (or proxy to the api above).
- Observe the cpu usage
If it's an issue with Cloudflare Tunnel:
ID NAME CREATED CONNECTIONS
e87feb54-2f48-4377-a0fe-2a8e97272530 merklemap 2024-09-04T16:39:25Z 1xams08, 1xams15, 2xhel01
With default settings.
Environment and versions
Description: Debian GNU/Linux 12 (bookworm)
Release: 12
Codename: bookworm
- Architecture: AMD EPYC 9454P
- cloudflared version 2024.8.3 (built 2024-08-22-1348 UTC)