amavis problems

Discussion in 'General' started by tahunasky, Feb 8, 2013.

  1. tahunasky

    tahunasky Member

    Hi, I have had a problem today where one of my servers had amavis take up 40% + of cpu, with email stuck in the postfix que, and cron jobs not running.

    This is what is in the syslog - the same 2 exact line outputs over and over..

    I stopped amavis and restarted and flushed the postfix que and everything seems to be working ok again. There was plenty of free RAM (350MB free) and disk space (200GB free) when this was happening.

    Has anyone seen this before or know what has caused it as i cant find anything when i google it.

    Server is running ubuntu 12.10 /postfix/dovecot/apache as per standard ISPconfig perfect server setup.
     
  2. falko

    falko Super Moderator ISPConfig Developer

    350MB of RAM is not that much - it can quickly be filled up. You should get more RAM.
     
  3. tahunasky

    tahunasky Member

    I think there is plently of ram, as very little virtual memory is being used - and at this very moment there is 450MB free.

    On some of my older servers (HP e-pcs 40) which only have 512mb of total RAM and are running RHEL 6.1 with apache/postfix/dovecot/dnsmasq dont use any virtual memory, and have worked fine for years with between 100 and 125mb being used. So ram isnt the problem.
     
  4. Ovidiu

    Ovidiu Active Member

    Sorry to revive this old thread but its the only one with this issue.

    Has there ever been anyone figuring this out? is it simply the case of too little RAM? I found the same errors in my logs but I do have plenty of RAM. Maybe some daily job took more RAM than usual and triggered this error?
     
  5. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Monitor memory, for example with
    Code:
    free -h
    If your swap is full, then host is out of memory. And if logs show unable to allocate memory or out of memory then I would say mamory is exhausted.
    Or install dstat and get more monitoring info.
     
    Ovidiu likes this.

Share This Page