howto refuse connection based on load..

Simon Loader simon at surf.org.uk
Mon Feb 24 09:40:03 EST 2003


On Mon, 2003-02-24 at 13:54, daniele.sartori at libero.it wrote:
> >On Mon, 2003-02-24 at 10:13, daniele.sartori at libero.it wrote:
> >> Hello, how to refuse the logons based on load average?
> >
> >In imapd.conf you can set a limit on the number of spawned connection.
> >
> 
> how?

man cyrus.conf (sorry worng file)

       maxchild=-1
            The maximum number of instances of  this  service  to
            spawn.   A value of -1 means unlimited.  This integer
            value is optional.

> 
> >Refusing on load average I think is always a strange idea as load avg.
> >is not a good basis for how loaded a machine is.
> 
> why?

load is an evaluation of many thing io , cpu usage , memory usage?.
Since mail is often IO based high loads happen. Often no enough to stop
things from working.


-- 
Simon Loader
"Ive had all I can stands I cant stand no more" - pop i





More information about the Info-cyrus mailing list