clamav & amavisd

Discussion in 'Installation/Configuration' started by planet_fox, May 2, 2009.

  1. planet_fox

    planet_fox Member HowtoForge Supporter

    Hi I have a Problem on a debian lenny vserver with 256 Mb ram.

    First when I start clamav, two minute laters stop clamd and courier his service.

    When I do this in master.cf

    Code:
    #127.0.0.1:10025 inet n - - - - smtpd
    and in the main.cf

    Code:
    #content_filter =amavis[127.0.0.1]:10024
    the mailserver work. when I want run only amavis do the same.#

    some logs

     
    Last edited: May 2, 2009
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Any additional errors in the syslog about missing memory? Also please check the user_beancounter .
     
  3. planet_fox

    planet_fox Member HowtoForge Supporter

    No

    Code:
    cat /proc/meminfo
    MemTotal:       262144 kB
    MemFree:        173300 kB
    Buffers:             0 kB
    Cached:              0 kB
    SwapCached:          0 kB
    Active:              0 kB
    Inactive:            0 kB
    HighTotal:           0 kB
    HighFree:            0 kB
    LowTotal:       262144 kB
    LowFree:        173300 kB
    SwapTotal:           0 kB
    SwapFree:            0 kB
    Dirty:               0 kB
    Writeback:           0 kB
    AnonPages:           0 kB
    Mapped:          88844 kB
    Slab:                0 kB
    PageTables:          0 kB
    NFS_Unstable:        0 kB
    Bounce:              0 kB
    CommitLimit:         0 kB
    Committed_AS:   353008 kB
    VmallocTotal:        0 kB
    VmallocUsed:         0 kB
    VmallocChunk:        0 kB
    HugePages_Total:     0
    HugePages_Free:      0
    HugePages_Rsvd:      0
    Hugepagesize:     2048 kB
    
    Code:
     cat /proc/user_beancounters
    Version: 2.5
           uid  resource           held    maxheld    barrier      limit    failcnt
          105:  kmemsize        5644899    6166793   13577273   14935000       2923
                lockedpages           0          0        662        662          0
                privvmpages       88474      97038     300000     350000          4
                shmpages            862        862      10000      10000          0
                dummy                 0          0 2147483647 2147483647          0
                numproc              69         75        330        330          0
                physpages         20927      23525          0 2147483647          0
                vmguarpages           0          0      55556 2147483647          0
                oomguarpages      20927      23525 2147483647 2147483647          0
                numtcpsock           19         26        330        330          0
                numflock             13         14        528        580          0
                numpty                1          1         33         33          0
                numsiginfo            0          1       1024       1024          0
                tcpsndbuf        230308     230308    4194304    8388608          0
                tcprcvbuf        311296     278528    4194304    8388608          0
                othersockbuf     190332     224824    1587038    2938718          0
                dgramrcvbuf           0       8380    1587038    1587038          0
                numothersock        130        143        330        330       1593
                dcachesize            0          0    2952699    3041280          0
                numfile            2283       2565     200000     200000          0
                dummy                 0          0          0          0          0
                dummy                 0          0          0          0          0
                dummy                 0          0          0          0          0
                numiptent            14         14         40         40         54
    
     
  4. planet_fox

    planet_fox Member HowtoForge Supporter

    ok ia have an error in log

    Code:
    Sun May 3 13:25:40 2009 -> +++ Started at Sun May 3 13:25:40 2009
    Sun May 3 13:25:40 2009 -> clamd daemon 0.95.1 (OS: linux-gnu, ARCH: i386, CPU: i486)
    Sun May 3 13:25:40 2009 -> Running as user clamav (UID 110, GID 115)
    Sun May 3 13:25:40 2009 -> Log file size limit disabled.
    Sun May 3 13:25:40 2009 -> Reading databases from /var/lib/clamav
    Sun May 3 13:25:40 2009 -> Not loading PUA signatures.
    Sun May 3 13:25:41 2009 -> Loaded 548851 signatures.
    Sun May 3 13:25:41 2009 -> ERROR: LOCAL: Socket file /var/run/clamav/clamd.ctl is in use by another process.
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Looks as if there is already a clamd process running. find the process with ps and kill it. Then try to start clamd again.
     

Share This Page