I hadn't found that man page, this is great information.

Thanks
Sim

Paul J Stevens wrote:
> Sim Zacks wrote:
>> We're using dbmail 2.2.10 on postgresql 8.2.7
>> We just migrated 20 users to this system from a previous mysql
>> implementation.
>>
>> We are having a bunch of stability problems. I have not found a good
>> explanation on the dbmail parameters in dbmail.conf, including the
>> definitions of:
>> NCHILDREN=30             # Default number of child processes to start.
>> MAXCHILDREN=100          # Maximum number of child processes allowed.
>> MINSPARECHILDREN=30      # Unused children to always have availale.
>> MAXSPARECHILDREN=50      # Maximum unused children allowed to be active.
>> MAXCONNECTS=200
>>
>> I assume MAXCONNECTS is database connections. This number must be less
>> then the database max_Connections?
>> There is a MAXCONNECTS variable in the [DBMAIL] [POP] and [IMAP]
>> sections. Does the total of all these values have to be less then the
>> database max_connections, or each individual one?
> 
>>From dbmail.conf(5):
> 
>            #
>            # Child process is restarted after handling this many connections.
>            #
>            MAXCONNECTS           = 10000
> 
> All settings in the global section can be overridden per daemon.
> 
>> If I have 30 users, each using a single client, will I ever need more
>> then 30 children? Does each child use one connection?
> 
> Yes, each child uses 1 connection, plus the connection maintained by the 
> parent
> process to validate the backend is alive. But there is no fullproof way to 
> make
> sure each user will only use a single client connection. Be generous.
> Thunderbird will happily open upto 5 connections in it's default setup.
> 
> 
> 
_______________________________________________
DBmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail

Reply via email to