fixthestatusquo / proca-server

Proca server, SDKs and services
https://proca.app
5 stars 3 forks source link

SystemLimitError caused by too many processes #224

Open destag opened 1 year ago

destag commented 1 year ago

Today the application was unavailable for a while probably because BEAM was running too many processes.

As a temporary workaround, we can increase the process limit in BEAM: https://erlang.org/documentation/doc-5.8.4//erts-5.8.4/doc/html/erl.html#max_processes

But eventually we should find the module that creates too many processes and fix it (probably the cause is Stats which takes too long and starts new processes instead of waiting)