[erlang-questions] Curiosity about MochiWeb (no questions this time)
Thu Nov 4 22:17:05 CET 2010
Mochiweb spawns a pool of short-lived processes (from the
`mochiweb_acceptor` module), and re-spawns new acceptor processes when
each finishes/times-out. The default settings are: 16 processes are
alive at a time, and they timeout after 2 seconds.
I did some analysis of the Mochiweb code a while back. There's a
diagram at the bottom of the page that lays out the program flow.
On Thu, Nov 4, 2010 at 11:17 AM, Alessandro Sivieri
> Hi all,
> I was looking to an appmon instance launched from a node with MochiWeb
> active, and I saw a few processes linked to the _web process, so I was
> wondering if MochiWeb generates something like a pool of processes for
> client requests, which may explain why there were all those processes...
> Sivieri Alessandro
More information about the erlang-questions