Re: imapd -U in cyrus.conf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Aug 4, 2009, at 2:23 PM, Peter Clark wrote:

> Not really understanding the -U (reuses) flag, is there an advantage  
> to
> using it? I imagine that there is in some specific instances so I  
> better
> ask the question differently. When would it be advantageous to use the
> -U flag in cyrus.conf?
>
> ie:
>  imap          cmd="imapd -U 60" listen="imap" prefork=6

We use the following on Linux, where fork() is cheap:

         imap            cmd="imapd -U 1" listen="imap" proto="tcp4"

On other platforms where fork() is more expensive, you'll want to set - 
U higher to save on fork() overhead.

We also wanted to use -U 1 so we could be sure changes to imapd.conf  
would be used more quickly since there wouldn't be imapd procs hanging  
around with old settings.


Cheers,

-- 
Matt
----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux