Hi Gabriele, One way to fix this would be have your amaivsd processes run in FX scheduling class with priority 0 at all times. You just have to wrap something like this around its startup script:
$ priocntl -e -c FX amaivsd This should have a much stronger effect than renice(1). We're also working on a feature called CPU caps for the FSS scheduling class that will allow you to put an absolute cap on how much CPU (in percentage points) can be used by any application. You can use shares-based FSS scheduling today, to make Tomcat processes receive more CPU cycles when competing with SpamAssasin or anything else running on your system. See FSS(7) man page for more details. Hope this helps, - Andrei On 9/28/05, Gabriele Bulfon <[EMAIL PROTECTED]> wrote: > Hello, don't know if this is the correct forum, but it is about performance. > > I have servers with Solaris 10, postfix+amaivsd+cyrus, and tomcat running a > web application for imap mail and other things. > > Sometimes customers' machines are stressed by spammers, and amavisd start to > steal a lot of CPU resources, lowering tomcat responses. > > What is the best way to lower amavisd cpu requests so that SpamAssassina and > ClamAV processes will not steal Tomcat times? > This message posted from opensolaris.org > _______________________________________________ > perf-discuss mailing list > perf-discuss@opensolaris.org > _______________________________________________ perf-discuss mailing list perf-discuss@opensolaris.org