Unbounded loop · Content tag
Cases with reports labeled as an unbounded loop.
26 matching items
Cases · 26
hhaaa114514: a Worker cron loop produced unexpected R2 Class A usage; a one-time waiver was requested.
Cloudflare Community user hhaaa114514 (cafemai.top) asks for a one-time courtesy billing waiver after R2 usage unexpectedly exceeded the free tier. The author first attributed the excess to AI-assisted development and automated operations that unintentionally triggered a large number of requests. In a follow-up, the author says the excess requests were primarily caused by the Worker's internal scheduled-task logic: when a machine-control module was triggered by Cron, it repeatedly performed standby scans, plan reconciliation, and repeated writes and deletions of lock state, continuously generating R2 Class A requests even with no user activity. The author says this was an unreasonable early-stage scheduling design, not malicious traffic, and that the logic has been optimized and deployed; post-deployment logs show ListObjects, PutObject, and DeleteObject requests in the idle state have dropped to 0. No invoice amount is stated. There is no Cloudflare staff reply on the public thread.
Reported amount · USD
Not disclosed
opsfork: a MeloTTS retry loop produced a $391.50 Workers AI charge; a waiver was requested.
Cloudflare Community user opsfork (newsfork.com) asks for a full waiver of a $391.50 Workers AI charge for the billing period October 21 – November 20, 2026. The author says normal Workers AI spend is about $1–2 per day, but an unexpected incident involving the @cf/myshell-ai/melotts model sharply increased billable usage, mainly on November 18–19. According to the author, MeloTTS was scheduled for deprecation on November 20, 2026, yet repeated model failures began around November 17, before that date; those failures triggered a queue retry mechanism, and a defect in the author’s retry implementation amplified the failures, producing about 3.3 million queued messages. The author says almost all affected inference requests were failed or redundant retries of the same few video rendering jobs and produced no usable output. The author acknowledges responsibility for the retry defect, says the loop has been stopped, and lists safeguards already added, including retry limits, exponential backoff, a circuit breaker, and removal of MeloTTS. Requested resolution includes investigating the pre-deprecation failures, excluding the abnormal usage, waiving the amount attributable to the incident or issuing an equivalent one-time account credit, and a revised invoice; the author is willing to pay legitimate normal-usage charges. A formal billing adjustment request was submitted as Billing Support Case #02445560. Community MVP sjr replied that the author needs to work through the billing ticket and that the Community cannot help with billing issues. There is no Cloudflare staff reply on the public thread.
Reported amount · USD
$391.50
igorrizzom: a forgotten Durable Object alarm billed US$ 2,038; Support refunded US$ 1,533.29, leaving US$ 505.
X user @igorrizzom (Igor Rizzo), who also posted on Cloudflare Community as igorarm (urnaaovivo.com), says a personal, non-commercial prototype that collected public election data in Brazil was left running after the October 25 runoff. A Durable Object kept rescheduling itself via alarm every ~5 seconds and writing to SQLite, and the invoice reached US$ 2,038, almost all from DO rows written, with about 10k pageviews. The author says budget alerts were set up but went to an old inbox that was never checked, and that alerts do not stop usage. Spend limits for Workers and Durable Objects were only announced on November 13, after almost all of the usage; the author then set a US$ 1 spend limit, turned the collector off, and removed Cron Triggers. The author says Support refunded US$ 1,533.29 as a one-time courtesy. The remaining US$ 505, which the author later described as US$ 500 of usage plus the US$ 5 Workers Paid fee, was closed as final; the author asked for a supervisor review in case #02442826 (follow-up to #02435308) and also asked @SidChatterjee whether any goodwill path remained for pre-launch cases. There is no Cloudflare staff reply on the public X thread or the Community thread. Public Support actions are reported by the author.
Reported amount · USD
$2,038
hiromsaeden: an unindexed D1 query loop billed $2,129.00; a $953.74 courtesy credit left $645.38 due.
Cloudflare Community user hiromsaeden, in a post-mortem of a personal hobby project on Workers and D1, says an unindexed GROUP BY aggregate query scanned about 877,000 rows to return 30 rows, and an unintended loop triggered about 315,000 runs across two billing cycles. In the Oct 15 – Nov 15 cycle alone, 1,447,580,203,670 rows (1.44 trillion rows) were read, on top of the previous cycle’s usage. The author says the October invoice IN-83890481 was $529.88 USD, paid in full out of pocket; the November invoice IN-89082487 was $1,599.12 USD ($1,447.58 D1 Rows Read + $6.16 Workers CPU + $145.38 tax); and the total billed was $2,129.00 USD against an expected budget of about $20/month. After noticing the issue on Nov 2–3, the author deleted the Worker and the D1 database; Support confirmed all reads had stopped. In case #02408621, Support offered a $275.00 courtesy credit for October and advised holding it until the November invoice was issued on Nov 15. In case #02434399, Support applied a one-time courtesy credit of $953.74 (which included the held $275.00), leaving a final balance of $645.38 USD, and said the review was complete and no further adjustments can be made. The author, having already paid $529.88, says the remaining $645.38 cannot be afforded and the account will be downgraded on Nov 22. The author also says a budget alert fired once at the $37 mark but did not stop the charges, and that D1 currently has no hard spending cap. There is no Cloudflare staff reply on the public thread; the Support actions are reported by the author.
Reported amount · USD
$2,129
neoblender13: an AI agent’s recursive alarm system turned a ~$10 monthly Cloudflare bill into $1,500; $400 credited.
neoblender13 says the Cloudflare bill is normally around $10 a month, but this month it was hit with a $1,500 bill because an AI agent created a recursive alarm system that ballooned Durable Objects storage writes, and that Cloudflare support was not very helpful. In later replies the author says they did not realize spending limits were alert only, received a $400 credit and still had to pay $1,100, that the single alert email got buried in the inbox, and that a Discord bot now reports costs every 12 hours.
Reported amount · USD
$1,500
per month
wickedev: a D1 ranking-update loop and about $10,846 across two billing periods.
wickedev reports about $10,846 from a repeated D1 ranking update: a paid $6,209 September bill plus $4,637 estimated for the October billing period. He later says a $5,704 refund was approved and is still being processed.
Reported amount · USD
$10,846
Lion Brain: a Durable Object alarm loop from an AI-coding bug wrote about 250 million rows, roughly $210.
Replying in another user's Community thread, bennygoldstein says a bug written by an AI coding tool made a Durable Object alarm in their Lion Brain app re-index the same data every few seconds on October 10 and 11, 2026, writing about 250 million rows and costing roughly $210 in overage on Workers Paid. He says he only found out from the budget alert email, which never pauses anything, and that he opened a billing case asking for a one-time courtesy credit and a real hard spending cap.
Reported amount · USD
$210
salmon evil (@evilsalmon666): a Durable Objects retry loop rewrote 577 million rows into a $577 bill; one-time $250 credit.
salmon evil (@evilsalmon666) says a task written by GPT-5.6 retried every 5 seconds after its executor went offline, rewriting about 8,800 old records on each retry, for 577 million rows written in total; the small project’s bill was $577. The $10 budget alert only emailed at $333. Support gave a one-time $250 credit, described as the maximum, leaving $332 to pay. On October 10 the author described the same staging Durable Objects bug, said the default $10 alert fired only once at $333 (case #02343658), and put the bill at about $900. A Cloudflare Community post on October 26 describes the same incident figures (a staging Durable Object rewriting about 8,800 records about every 5 seconds, about $577 of Storage Rows Written overage, a one-time $250 credit and $332.23 still due, with the first $10-alert email arriving around $333), puts the rows at about 967 million over September 20–24, and requests a further courtesy credit; a Cloudflare Team member replies that Billing support has answered the case.
Reported amount · USD
$577
babynarc: a Durable Objects alarm loop and a surprise bill that grew from $300 to $500.
@babynarc says an alarm loop in an old Durable Object he thought was inactive left him badly burned: he watched a surprise $300 bill grow to $500 even after killing it. Replying to Cloudflare's Dane Knecht and Kenton Varda, he suggests prepending budget-alert details to every `cf` result by default.
Reported amount · USD
$500
shmily7: a Durable Object alarm loop and a reported US$10,811.41 bill.
@shmily7 reports a Durable Object alarm loop in an unused test project, then says he paid the full US$10,811.41 bill to avoid service suspension. Cloudflare’s Ashley Peacock publicly says he is looking into it internally and will follow up. Cloudflare’s Dane Knecht later replies that he escalated it too. On October 9 the author declares the case closed: he reports that, with Ashley Peacock’s help, Cloudflare decided to refund the charges incurred during the bug in full, with the money still to arrive, and posts the support ticket reply he received.
Reported amount · USD
$10,811.41
Meathill: a Next.js prefetch loop, then R2 operation charges two months running.
Meathill (@meathill1) says a Next.js 16.3.x bug caused infinite prefetching that exhausted his Worker quota in September, used up the month’s Class A operations, and later made ISR caching cost more than Workers. In October he says a blog’s 404 pages going through ISR drove R2 Class A operations up again. He gives no amount.
Reported amount · USD
Not disclosed
z.calloway43: Litestream R2 loop produced a $25.19 Class A overage.
Community user z.calloway43 requests a one-time courtesy waiver for unpaid invoice IN-75481816 ($25.19) after an unintended Litestream SQLite backup loop on R2 generated about 9.74 million Class A ListObjects operations from a 10-second sync interval and prefix accumulation. The author stopped Litestream, switched to daily Restic snapshots, and added a fail-closed usage guard.
Reported amount · USD
$25.19
A development app, a reported $655.83 Durable Object alarm bill.
@q_huy_ngo reports a $655.83 bill and roughly 700 million interactions from a faulty alarm in an app with no users. CloudflareHelp says it will review the support case and reply in the ticket.
Reported amount · USD
$655.83
Standard Agents: two loops, a reported $8,846 bill.
Justin Schroeder and Boyd describe the same Standard Agents incident: two Durable Objects ran unbounded loops. Justin reports an $8,846 bill and a later bill adjustment.
Reported amount · USD
$8,846
An R2 and Queues loop produced about $3,171.60 in charges.
Community user user67823 (English-ease) says an open billing case covers about $3,171.60 of R2 and Queues operations caused by a self-inflicted queue-loop bug, now fixed and back at baseline. With no response in five days and the charge due on July 5, 2026, they ask how to get a hold placed so the production account is not suspended.
Reported amount · USD
$3,171.60
Thunderbit: a browser-extension client loop drove about $38,772.92 in Workers charges.
Community user shuai of Thunderbit, a Chrome extension with about 200,000 users, says a bug in one extension build made every client repeatedly call their Worker, producing an anomalous charge of about $38,772.92 for the May 18 to June 17, 2026 cycle, with a second cycle accruing the same way. The bug was fixed and usage returned to baseline; they say a billing case with a full usage audit requested a refund and had no response.
Reported amount · USD
$38,772.92
per month
An R2 to Queue to Worker loop ran for a week, about $818.
Community user o2coolwow says an accidental recursive R2 event-notification loop (R2 to Queue to Worker to R2) from May 14 to 20, 2026 caused about $818 of unintended usage on an account that normally bills $0 to $60 a month. A support case with an incident report was filed on May 20; after seven business days without a substantive response, they ask for a pre-invoice adjustment before the next invoice.
Reported amount · USD
$818
Will Moss: an alarm loop, 20 trillion Durable Object reads and a reported $34,895 invoice.
@itswillmoss reports 20,213,871,155,804 Durable Object reads, a dashboard mismatch and lost project access. He attributes the loop to health checks waking onStart and repeatedly setting an alarm. The X thread estimates the cost above $30,000; a same-day Hacker News post by thewillmoss describing the same alarm loop reports a $34,895 invoice and a support case awaiting a billing response.
Reported amount · USD
$34,895
brenden5: a Worker–Queue feedback loop ran about 27 days, with a $4,915 February invoice.
Community user brenden5 says a Worker bound to the same Queue as producer and consumer pushed messages back into that queue, creating a feedback loop that ran for about 27 days at roughly 14 million requests a day and generated billions of internal operations from only 139 external HTTP requests. The February invoice was $4,915 and already charged; the author estimates the March invoice at $16,000–$21,000 on what was a $5/month side-project account. The author killed the loop on March 2, deleted all Workers, KV namespaces, R2 buckets and Pages deployments, and opened ticket #01999404 in the Refunds area.
Reported amount · USD
$4,915
A loop in a staging environment produced a $383.12 Durable Objects charge.
Community user cyjun003, a small self-funded startup, says an infinite loop in their staging environment ran up more than 700 million Durable Object reads and a $383.12 bill. They patched it, added usage alerts and ask for a one-time courtesy credit through an existing support ticket.
Reported amount · USD
$383.12
Little Bear Apps: a D1 write loop and a reported full US$4,586.64 invoice waiver.
Nathan Schram reports that two bugs wrote 4.83 billion D1 rows in January 2026 on an account that usually costs $5 a month, an overage he estimated at about $4,868. After a support ticket, a Community post, direct emails and a Reddit post, he says Cloudflare waived the full $4,586.64 invoice on February 19.
Reported amount · USD
$4,586.64
per month
burak emre: an agent loop on sandboxes, a $1,000 bill, and support said to pay.
burak emre (@bu7emba) says his agent got into an infinite loop using the AI binding with sandboxes, and within an hour the bill reached about a thousand dollars because new sandboxes spin up fast with no way to rate limit. He says support called it his fault, and later that they had to pay the bill.
Reported amount · USD
$1,000
Jovan Jester: a recursive image-processing Worker and about $2.2k in charges.
Jovan Jester (@JovanJester), a solo developer, asks CloudflareHelp and CloudflareDev for help with a surprise bill from an accidental recursive loop in an image-processing Worker. Weeks later he says the bug left about $2.2k in charges and asks for tips on getting a credit or a deferred payment plan, worried his domains and DNS could be shut down over the unpaid charges.
Reported amount · USD
$2,200
Workers and Queues: an author reports a jump from $5 to $2,145.
@goteap reports that a code loop generated over two billion internal requests and raised an invoice from $5 to $2,145. The author says a refund was not possible.
Reported amount · USD
$2,145
Paweł Mioduszewski: an R2-event queue loop, a $302 charge and a reported $284 account credit.
Paweł Mioduszewski (@mioduszewsky) says buggy Worker code created an infinite loop on an "R2-object-created" queue, with the consumer saving files back into the same bucket. He first estimated at least $343 across Workers, Image Transformations and Queues, then says Cloudflare charged him $302 while his support case waited. About three weeks after contacting support, he reports no cash refund but a $284 account credit that basically wiped the Image Transformations charges.
Reported amount · USD
$302
RetainDB: a reported $36k bill from a queue loop with 81 users.
Reddit user alameenswe, building RetainDB on Workers, KV, Durable Objects and Queues, reports a Cloudflare bill of about $36k for one month with 81 users; the post body says $35,000. He attributes it to a queue consumer that re-queued async writes, 12 unbatched Durable Object writes per memory write and a kv.list() authentication fallback.
Reported amount · USD
$36,000
per month