Alessandro Vesely wrote:
> Gordon Messmer wrote:
>> I tend to set MAXDAEMONS to 10x the number of users, or 75% of physical 
>> RAM / size of each daemon process, whichever is lower.
> 
> Eh? Isn't that quite high? Some imap clients keep many connections 
> open (thunderbird defaults to 5 IIRC -never got why) but then some 
> users might switch their PCs off from time to time...

It's high for a server that does things other than mail.  For my 
purposes, it's fine.  As I said before, MAXDAEMONS is used to prevent 
resource exhaustion.  Setting it as high as I do may not prevent 
intentional attacks, since an attacker could raise all of the services 
to their max and use more than the available physical RAM.  However, I'm 
more concerned with not setting it so low that users have login 
problems, as I believe that's more likely.

> Thus the above is an indication of how much ram a server should have 
> for a given number of users. Is it fair to think of 10~15K per daemon?

It depends somewhat on the size of your users' mailboxes.  couriertls is 
probably about 500k per daemon, imapd is often as much as 5-10MB.

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to