Linking to/from a gen_server?
    Bjorn Gustavsson 
    bjorn@REDACTED
       
    Mon Mar  3 11:30:20 CET 2003
    
    
  
Shawn Pearce <spearce@REDACTED> writes:
> Is there any limitation imposed by erts on the number of processes
> another process (my gen_server) can monitor at once?  Or is it just
> the limitation on number of actively running processes within the
> local node?
There is no limit, but...
> 
> I'm only interested in this gen_server monitoring a large number
> (around 4-5k) of local processes so that if they crash or terminate
> unexpectedly the ets dictionary is cleaned up so future lookups for
> that process won't find it.
>
... we have not optimized the code for that many processes (yet, at least).
There will be a linear slowdown that will probably be quite noticeable.
/Bjorn
-- 
Björn Gustavsson            Ericsson Utvecklings AB
bjorn@REDACTED      ÄT2/UAB/F/P
			    BOX 1505
+46 8 727 56 87 	    125 25 Älvsjö
    
    
More information about the erlang-questions
mailing list