On Wednesday 08 April 2009, Andrei Pelinescu-Onciul wrote:
BUG:
<core> [pt.c:283]: ERROR: fork_process(): Process limit of 36
exceeded. Will simulate fork fail.
Is this something critical? Why is there a limit on the process number
and how can i extend this?
It's not limited, but every new process must first be registered. In the
case of a module, if you want to start 2 processes (for example) you
have to call from mod_init: register_procs(2).
This is used to properly size-up the process table. If you don't call it
when the number of registered processes is exceeded, fork will fail.
(modules init and starting processes is documented in
doc/modules_init.txt).
[..]
Hi Andrei,
thanks a lot for the explanation. I've found the error in the nathelper
module, the already existing register_procs call was not executed in my test
setup.
Cheers,
Henning