I will look into this.
Ilja Booij wrote:
Hi All,
On Sunday, Oct 19, 2003, at 17:53 Europe/Amsterdam, Paul J Stevens wrote:
You're right.
Dbmail simply spawns NCHILDREN, accepts MAXCONNECTS subsequent
connects per child, and then exits and respawns that child.
Afaik MAXCHILDREN is not used at all.
So if you're looking for intelligent pre-forking of children, or even
simply linear scaling of children to accept incoming connects, look no
further; it not there.
We do indeed need a smart setup which will allow deployment of dbmail
in hostile environments.
A scheme like the one that Apache uses would be nice:
spawn a number of servers on startup (on Apache this is
given by the StartServers directive), and have at least
MinSpareServers and at maximum MaxSpareServers ready waiting
for connections. the MaxClientdirective is used for setting
the maximum amount of servers.
Is there anybody on the list who has implemented something like
this before, and/or wants to investigate this?
The server spawning code is pretty independent from the other
dbmail code (it's in server.c and serverchild.c), so once you
know how to implement this server spawning scheme, it should
be quite straightforward to put it in DBMail.
cheers,
Ilja
_______________________________________________
Dbmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail
--
________________________________________________________________
Paul Stevens mailto:[EMAIL PROTECTED]
NET FACILITIES GROUP PGP: finger [EMAIL PROTECTED]
The Netherlands________________________________http://www.nfg.nl