[erlang-questions] : PID recycling
Raimo Niskanen
raimo+erlang-questions@REDACTED
Mon Sep 8 16:33:31 CEST 2008
On Mon, Sep 08, 2008 at 01:59:56PM +0200, Zoltan Peter Toth wrote:
> Hi Raimo !
>
> Thanks. So if a node completely restarts, i.e. epmd as well, then the
> cycling is lost,
> i.e. after 0 there will be 0 again after the reboot, right ?
Well, 1, since nodes with names use creation 1..3,
but you are right.
>
> (Regarding HMTL, I think you could try Seamonkey or Thunderbird, they
> have no difficulties
> displaying HMTL mail.)
There _are_ reasons I prefer not to use a graphical mail client.
Furthermore I strongly believe mail should remain non-graphical.
>
> Br,
> Zoltan
>
> Raimo Niskanen wrote:
> >Firstly. Please do not send HTML code to this list.
> >It is very hard to read for some (at least me).
> >
> >On Fri, Sep 05, 2008 at 02:08:22PM +0200, Zoltan Peter Toth wrote:
> >:
> >
> >>Question: how is the last used incarnation stored and when are values
> >>recycled
> >>? (on Linux)
> >>Is there any way to change the cycling range ?
> >>Just for my curiosity :)
> >>
> >>Br,
> >> Zoltan
> >>
> >
> >The incarnation aka "Creation" is stored in EPMD, the Erlang
> >Port Mapper Daemon, that is external to all nodes.
> >It cycles 1,2,3 then round to 1 again. You can not change it.
> >It is platform independent. An undistributed node has creation 0.
> >Creation 0 is also used for dirty tricks having the meaning
> >of the current creation.
> >
> >We have had plans to change it from 2 bits to 32 but it would
> >hit hard on erl_interface and applications using it.
> >
> >
> >
--
/ Raimo Niskanen, Erlang/OTP, Ericsson AB
More information about the erlang-questions
mailing list