[erlang-questions] Debian ARM: Three beam processes

Rickard Green <>
Tue Apr 3 22:14:37 CEST 2007


When linuxthreads is used, all threads show up in process listings. Try 
adding +A10 (which creates ten async-threads in the emulator) to the erl 
command line and you will get even more beam processes reported by ps.

BR,
Rickard Green, Erlang/OTP, Ericsson AB.

Miguel Rodríguez Rubinos wrote:
> Hello all,
> 
> I've realised a curious behaviour in erlang debian package. When I
> call erl, three processes are created with the same erlang name, as
> you can see below. I know this is not usual (at least in Mac OS X and
> FreeBSD in which I usually develop), any idea? Help would be
> appreciated...
> 
> I'm using Debian: Linux bs0 2.6.18-3-ixp4xx #1 Tue Dec 5 16:52:07 UTC
> 2006 armv5tel GNU/Linux
> ARM Architecture:  XScale-IXP42x Family rev 1 (v5l)
> Erlang package version is 11.b.2-4.
> 
> The unusual behaviour:
> 
> $ ps ax |grep beam
> 2569 pts/0    S+     0:00 grep beam
> 
> $ erl -sname dontknowwhy -detached
> 
> $ ps ax |grep beam
> 2581 pts/0    S      0:01 /usr/lib/erlang/erts- 5.5.2/bin/beam -- -root 
> /usr/lib/erlang -progname erl -- -home /home/mrrubinos -sname 
> dontknowwhy -noshell -noinput
> 2582 pts/0    S      0:00 /usr/lib/erlang/erts-5.5.2/bin/beam -- -root 
> /usr/lib/erlang -progname erl -- -home /home/mrrubinos -sname
> dontknowwhy -noshell -noinput
> 2583 pts/0    S      0:00 /usr/lib/erlang/erts-5.5.2/bin/beam -- -root 
> /usr/lib/erlang -progname erl -- -home /home/mrrubinos -sname
> dontknowwhy -noshell -noinput
> 2589 pts/0    S+     0:00 grep beam
> 
> One of the strangest things is that at this point there are three
> erlang nodes with the same name and no erl_crash.dump.
> 
> Thanks in advance,
> 
>           Miguel
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> erlang-questions mailing list
> 
> http://www.erlang.org/mailman/listinfo/erlang-questions



More information about the erlang-questions mailing list