You could probably nice it down by editing the
/var/qmail/supervise/spamd/run script.

Erik

On 4/6/06, Dairenn Lombard <[EMAIL PROTECTED]> wrote:
> Oh I know, and that's how I explained it to my boss.
> But he said when they ran top, it was one particular spamd process (a
> single PID) that was using up CPU time.  It was not a matter of too many
> spmad processes running, or too many messages coming in/being processed.
> It wasn't the queue.
>
> So we were wondering if there is a way to make it so that when simscan
> calls spamd, that there is a limit to how much CPU it can use.
>
> > -----Original Message-----
> > From: Erik Espinoza [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, April 06, 2006 6:52 PM
> > To: [email protected]
> > Subject: Re: [qmailtoaster] Load levels occasionally skyrocket
> >
> >
> > The spamd's run in a parent/child configuration. The more
> > childs asking for the parent to scan viruses, the more the
> > parent will work. Eventually eating 100% of the cpu. The only
> > way to fix this is to lower how many childs will be asking
> > the parent to scan, and that is by lowering the concurrent
> > incoming e-mail :)
> >
> > Erik
> >
> > On 4/6/06, Dairenn Lombard <[EMAIL PROTECTED]> wrote:
> > > I asked my boss, and he said that the problem was there was one
> > > particular instance of spamd that was drawing almost 100%
> > of the CPU's
> > > time.  That doesn't appear to be something we could fix by lowering
> > > the number of messages the server will try to process at any given
> > > moment.
> > >
> > > How can we throttle it so that a single instance of spamd can bring
> > > the loads up to 45-55+?
> > >
> > > Thanks!
> > >
> > > Dairenn
> > >
> > >
> > > > -----Original Message-----
> > > > From: Erik Espinoza [mailto:[EMAIL PROTECTED]
> > > > Sent: Wednesday, April 05, 2006 6:28 PM
> > > > To: [email protected]
> > > > Subject: Re: [qmailtoaster] Load levels occasionally skyrocket
> > > >
> > > >
> > > > You can try lowering your 'concurrencyincoming' limit. I believe
> > > > that QmailToaster defaults to 100 and starts throttling how much
> > > > mail comes in (thus being scanned by spamd/clamd). Try
> > putting this
> > > > file, /var/qmail/control/concurrencyincoming, to 50.
> > > >
> > > > Thanks,
> > > > Erik
> > > >
> > > > On 4/5/06, Dairenn Lombard <[EMAIL PROTECTED]> wrote:
> > > > > Hey there,
> > > > >
> > > > > On one of our toasters, we've had a situation (twice since it
> > > > > first went online late last summer) where, the server's load
> > > > average shoots
> > > > > over 50 for no apparent reason.
> > > > >
> > > > > We seem to feel it might have something to do with
> > simscan because
> > > > > when we ran top, we just saw like ridiculous amounts of
> > resources
> > > > > being used by up spamd and clamd - they don't run on
> > their own and
> > > > > are, rather, called by simscan (as is my understanding).
> > > > >
> > > > > My question is, is there some way of throttling this?  We
> > > > had a number
> > > > > of customers complaining about not being able to get
> > their e-mail
> > > > > 'cause of timeouts.  It even took me 5 minutes to SSH into
> > > > the server
> > > > > once this had already begun, and a reboot was already tried.
> > > > >
> > > > > Any ideas, guys?
> > > > >
> > > > >
> > > >
> > --------------------------------------------------------------------
> > > > -
> > > > >      QmailToaster hosted by: VR Hosted <http://www.vr.org>
> > > > >
> > > >
> > --------------------------------------------------------------------
> > > > -
> > > > > To unsubscribe, e-mail:
> > > > [EMAIL PROTECTED]
> > > > > For additional commands, e-mail:
> > > > > [EMAIL PROTECTED]
> > > > >
> > > > >
> > > >
> > > >
> > ---------------------------------------------------------------------
> > > >      QmailToaster hosted by: VR Hosted <http://www.vr.org>
> > > >
> > --------------------------------------------------------------------
> > > > -
> > > > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > > > For additional commands, e-mail:
> > > > [EMAIL PROTECTED]
> > > >
> > > >
> > >
> > >
> > ---------------------------------------------------------------------
> > >      QmailToaster hosted by: VR Hosted <http://www.vr.org>
> > >
> > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > > For additional commands, e-mail:
> > > [EMAIL PROTECTED]
> > >
> > >
> >
> > ---------------------------------------------------------------------
> >      QmailToaster hosted by: VR Hosted <http://www.vr.org>
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> >
> >
>
> ---------------------------------------------------------------------
>      QmailToaster hosted by: VR Hosted <http://www.vr.org>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
     QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to