[ejabberd] SOLVED Re: mod_http_fileserver only returns 404

Badlop badlop at gmail.com
Sat Sep 18 02:58:26 MSD 2010


2010/9/17 Aaron Brashears <aaron at stageit.com>:
> the number of fileservers started matched the number of
> hosts in the {hosts, [...]} tagged list.

> init creates one process for
> serving files specific to a particular host.

Yes.


> What spawns the processes
> at one per host? Is that the general case for all modules in ejabberd?

The function ejabberd_app:start_modules/1 has two nested loops to call
  gen_mod:start_module(Host, Module, Args)
for each module in each host.



---
Badlop
ProcessOne


More information about the ejabberd mailing list