I have this problem too -- with my project, the server right at once uses 100% CPU and memory increases dramatically. During this time, it stops responding to requests. Monit notices this and just restarts it. This happens for me roughly every half-an-hour under very high load.<p>I'm using JSON parsing but not much else. No dependencies / libraries at all. Are there any steps I can take to provide useful data? Would anyone like me to run it with --prof and hammer it with 'ab' for example?<p>Here's the code: <a href="http://github.com/gcr/goggles" rel="nofollow">http://github.com/gcr/goggles</a>
Erlang has various defects, but it is bomb proof in many ways - it's been out there for many years with many people using it for critical infrastructure.<p>I'd bet on Node.js and similar efforts for the future, but Erlang is a pretty nice system and well worth looking at and learning from.