[erlang-questions] System limit bringing down rex and the VM

Jachym Holecek freza@REDACTED
Wed Sep 8 19:07:38 CEST 2010


# Musumeci, Antonio S 2010-09-08:
> OS limits? This is the BEAM process limit. [...]

Which you can adjust with '+P <number>' emulator flag to a sufficiently large
value and be done with it, in the spirit of what Igor suggests.

You're supposed to provide the runtime system with enough resources (be it OS
or emulator settings) to handle the expected load. Dealing with this kind of
errors "more gracefully" would be too much pain[1] or simply impossible[2],
AFAIU.

Regards,
	-- Jachym

[1] Process table limit -- every single call to any variant of spawn() may fail
    this way. There's plenty of those. There's a similar limit on # of ETS tabs.

[2] Out of memory -- if there's no memory, where do you get the memory to deal
    with OOM error?


More information about the erlang-questions mailing list