Skip to content

fix(market): 512mb VM - the Tier A geo data does not fit in 256mb - #32

Merged
M0nsxx merged 1 commit into
mainfrom
fix/market-512mb
Nov 27, 2026
Merged

M0nsxx merged 1 commit into
mainfrom
fix/market-512mb

Conversation

@Eras256

@Eras256 Eras256 commented Nov 27, 2026

Copy link
Copy Markdown
Member

Deploying the Tier A block (#30) showed that geoip-lite keeps its country data in memory, and the 256mb VM is not enough:

  • Solana market: the new machine started, but the first paid request was OOM-killed (Out of memory: Killed process ... anon-rss:159716kB), so /v1/market answered 502. It was scaled to 512mb live with fly scale memory 512 and has answered 402 (payment required) since, with the Tier A block in place.
  • Avalanche market: the bluegreen deploy timed out while the new machine started (about 80 s to listen), so Fly kept the old machine, which has no Tier A block yet.

This PR sets memory = "512mb" in fly.market.toml, so the next deploy does not go back to 256mb and the Avalanche market can be deployed with the block.

🤖 Generated with Claude Code

After #30 the market loads geoip-lite's country data into memory. On the 256mb VM the
first paid request was OOM-killed (seen on the Solana market on 27 Nov 2026: "Out of memory: Killed
process", paid route 502), and the Avalanche bluegreen deploy timed out while the new machine
started. 512mb fixes both: the Solana market was scaled live and answers again.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@M0nsxx M0nsxx left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AI-assisted review (Claude)

Read the diff: fly.market.toml raises the VM from 256mb to 512mb, with a comment explaining why. Deploying the Tier A block showed that geoip-lite keeps its country data in memory: on 256mb the Solana market's first paid request was OOM-killed (502), and the Avalanche bluegreen deploy timed out. The Solana market was scaled to 512mb live and answers 402 again. One-line config change. Approve.

@M0nsxx
M0nsxx merged commit a392788 into main Nov 27, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants