[erlang-questions] eheap_alloc crash when using mnesia
Christian
chsu79@REDACTED
Thu Oct 23 10:07:45 CEST 2008
> This works for a stateless protocol like DNS - but what would you do for
> e.g. HTTP? The correct answer would probably to send an "503 Service
> Unavailable" answer, but that would need more memory and we've just run
> out of memory. Even abruptly closing the TCP session might need more
> memory to construct the FIN packet.
There is "memsup" in OTP, allowing one to monitor ram usage and adjust
limits dynamically. Not that I have ever used it, but it seems
sensible.
More information about the erlang-questions
mailing list