couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Kocoloski <kocol...@apache.org>
Subject Re: system_limit?
Date Fri, 10 Dec 2010 17:58:22 GMT
On Dec 10, 2010, at 10:39 AM, Aurélien Bénel wrote:

> Dear all,
> 
> One of the application we developed with CouchDB is compute-intensive.
> We are now testing it with 20 simultaneous users updating data and visualizing them with
lists and shows.
> 
> From time to time, we get the following error:
> 
> {"error":"EXIT","reason":"{system_limit,
>    [{erlang,spawn_opt,
>         [proc_lib,init_p,
>          [couch_view,
>           [couch_secondary_services,couch_server_sup,<0.33.0>],
>           gen,init_it,
>           [gen_server,<0.100.0>,<0.100.0>,couch_view_group,
>           ... 8< ... 8< ... 8< ...            
>          [link]]},
>     {proc_lib,start_link,5},
>     {couch_view_group,start_link,1},
>     {couch_view,handle_call,3},
>     {gen_server,handle_msg,5},
>     {proc_lib,init_p_do_apply,3}]}"}
> 
> Which system limit is it all about? Is there a way to avoid having this error again?
> 
> 
> Regards,
> 
> Aurélien

That looks like a limit on the number of Erlang processes in the VM.  The default limit is
32768.  You can raise the maximum number of processes by starting the VM with e.g. erl +P
65536, but in my experience bumping into this limit means something else is going wrong. 
Regards,

Adam
Mime
View raw message