browser sessions start failing at around 20 concurrent. nobody warns you about this

Reddit r/AI_Agents Tools

Summary

Playwright scrapers in production on Node.js start failing around 20 concurrent browser sessions, causing memory spikes and crashes. The developer notes documentation does not warn about this limit.

29M backend dev. playwright scrapers in prod on node, fine until it wasnt 18 concurrent and timeouts just. memory spikes, websocket drops, queue dead. threw 32gb ram at it like thats a fix. pm thinks im stalling and honestly i cant blame him for wondering docs are all horizontal scaling this, easy setup that. never says you flatline around 20?? staging OOM kills since chrome 121. downgrade PR been open two weeks, nobody will merge it restarted workers four times today. who actually runs past 15-20 concurrent on node headless without hand holding every session. whats your failure mode, timeouts or full crashes
Original Article

Similar Articles