<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=windows-1252">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <font size="-1"><font face="Arial">    Hi,<br>
        <br>
        <font face="Arial">    I'm running amavisd 2.10.1 (latest) on a
          newly installed and fully updated CentOS<font face="Arial"> 6
            box (Centos 6.6) 64 bit version. <font face="Arial">Machine
              <font face="Arial">is equipped with 4Gb RAM. Have tried
                amavisd 2.9.1 and got exactly same results.<br>
                <br>
                <font face="Arial">    <font face="Arial">Amavis
                    configuration is pretty simple, just clam<font
                      face="Arial">av (using clamd.sock) for antivirus
                      scanning and spamassassin call for spam checking.
                      It's working fine, no problem on that.<br>
                      <br>
                      <font face="Arial">    However, after just a <font
                          face="Arial">few hours <font face="Arial">of
                            running (and some few hundred of messages<font
                              face="Arial"> processed), memory usage of
                              amavisd daemons are really high.<br>
                              <br>
                              <font face="Arial">    For example, i'm
                                now running for<font face="Arial"> a
                                  little more than 2<font face="Arial">
                                    hours. Logs of <font face="Arial">starting
                                      amavisd:<br>
                                      <br>
                                      <font face="Arial">Oct 31 16:20:41
                                        hermes amavis[19006]: logging
                                        initialized, log level 2,
                                        syslog: amavis.mail<br>
                                        Oct 31 16:20:41 hermes
                                        amavis[19006]: starting.
                                        /usr/sbin/amavisd at
                                        hermes.emsa.com.br
                                        amavisd-new-2.10.1 (20141025),
                                        Unicode aware,
                                        LANG="en_US.UTF-8"<br>
                                        <br>
                                        <font face="Arial">    time now<br>
                                          <br>
                                          <font face="Arial">[root@hermes
                                            log]# date<br>
                                            Fri Oct 31 18:39:20 BRST
                                            2014<br>
                                          </font><br>
                                          <br>
                                          <font face="Arial">    amavisd
                                            memory usage:<br>
                                            <font face="Arial">13.6
                                              /usr/sbin/amavisd
                                              (ch86-ava vscan<br>
                                              11.1 /usr/sbin/amavisd
                                              (ch77-ava vscan<br>
                                              10.4 /usr/sbin/amavisd
                                              (ch98-ava vscan<br>
                                               8.1 /usr/sbin/amavisd
                                              (ch110-av vscan<br>
                                               8.0 /usr/sbin/amavisd
                                              (ch95-ava vscan<br>
                                               7.8 /usr/sbin/amavisd
                                              (ch89-ava vscan<br>
                                               7.4
                                              /usr/sbin/clamd            
                                              vscan<br>
                                               7.0 /usr/sbin/amavisd
                                              (ch86-ava vscan<br>
                                               4.4 /usr/sbin/amavisd
                                              (ch92-ava vscan<br>
                                               4.3 /usr/sbin/amavisd
                                              (ch88-ava vscan<br>
                                               3.9 /usr/sbin/amavisd
                                              (ch86-ava vscan</font><br>
                                          </font><br>
                                          <br>
                                          after a stop/start on amavisd,
                                          the number<font face="Arial">s
                                            are:<br>
                                            <br>
                                            <font face="Arial">[root@hermes
                                              log]# ps -eo
                                              pmem,args,user | sort -nr
                                              | head -15<br>
                                               7.4
                                              /usr/sbin/clamd            
                                              vscan<br>
                                               2.5 /usr/sbin/amavisd
                                              (virgin c vscan<br>
                                               2.5 /usr/sbin/amavisd
                                              (virgin c vscan<br>
                                               2.5 /usr/sbin/amavisd
                                              (virgin c vscan<br>
                                               2.5 /usr/sbin/amavisd
                                              (virgin c vscan<br>
                                               2.5 /usr/sbin/amavisd
                                              (virgin c vscan<br>
                                               2.5 /usr/sbin/amavisd
                                              (virgin c vscan<br>
                                               2.5 /usr/sbin/amavisd
                                              (virgin c vscan<br>
                                               2.5 /usr/sbin/amavisd
                                              (virgin c vscan<br>
                                               2.5 /usr/sbin/amavisd
                                              (virgin c vscan<br>
                                               2.5 /usr/sbin/amavisd
                                              (virgin c vscan</font><br>
                                          </font><br>
                                          <br>
                                              as a workaround, i <font
                                            face="Arial">set
                                            $max_requests <font
                                              face="Arial">to a low n<font
                                                face="Arial">umber
                                                (actually 50).</font></font></font>
                                          However, i really dont think
                                          that running f<font
                                            face="Arial">or such a few
                                            time should <font
                                              face="Arial">lead to such
                                              high memory <font
                                                face="Arial">usage
                                                situation<font
                                                  face="Arial">s.<br>
                                                  <br>
                                                  <font face="Arial">   
                                                    is there anything i
                                                    can do or any other
                                                    information i can
                                                    provide for help<font
                                                      face="Arial">
                                                      tracking what's
                                                      happenin<font
                                                        face="Arial">g
                                                        and how to avoid
                                                        it ? </font></font></font><br>
                                                </font></font></font></font><br>
                                          <br>
                                        </font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font>
    <pre class="moz-signature" cols="72">-- 


        Atenciosamente / Sincerily,
        Leonardo Rodrigues
        Solutti Tecnologia
        <a class="moz-txt-link-freetext" href="http://www.solutti.com.br">http://www.solutti.com.br</a>

        Minha armadilha de SPAM, NÃO mandem email
        <a class="moz-txt-link-abbreviated" href="mailto:gertrudes@solutti.com.br">gertrudes@solutti.com.br</a>
        My SPAMTRAP, do not email it


</pre>
  </body>
</html>