This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Astaro using 100% CPU

Hey,

I have three Astaro's v8.0.1 with Mail Scanserver. They just Scanning for Spams. Everyone Scans 200 000 E-Mail every day.

And two of them always use 100% CPU...
But for what? this reporting service?
How can i optimise that?

USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND

root      2276  0.0  0.0   2212   380 ?        S
root      4095  0.0  0.2   7612  5204 ?        S    Aug23   0:08 /usr/local/bin/sysmond
root      4132  0.0  0.5  14884 11684 ?        Ss   Aug23   0:00 /var/aua/aua.bin
root     20788  0.0  0.0      0     0 ?        Z    13:54   0:00  \_ [aua.bin] 
root      4164  0.0  0.5  15088 11660 ?        S    Aug23   0:00 /usr/local/bin/notifier.plx
at        4229  0.0  0.0   2204   452 ?        Ss   Aug23   0:00 /usr/sbin/atd
postgres  4324  0.1  0.2  46764  5248 ?        S    Aug23   1:25 /usr/bin/postgres -D /var/storage/pgsql/data
postgres  4326  0.0  1.6  46748 34828 ?        Ss   Aug23   0:33  \_ postgres: writer process                    
postgres  4327  0.0  0.0  46748  1024 ?        Ss   Aug23   0:02  \_ postgres: wal writer process                
postgres  4328  0.0  0.0  47060  1368 ?        Ss   Aug23   0:03  \_ postgres: autovacuum launcher process       
postgres  4329  0.0  0.0   7348  1060 ?        Ss   Aug23   0:27  \_ postgres: stats collector process           
postgres  4927  3.2  1.8  49380 38340 ?        Ss   Aug23  44:06  \_ postgres: reporting reporting [local] idle  
postgres  5218  0.0  1.8  49028 37520 ?        Ss   Aug23   0:09  \_ postgres: postgres smtp 127.0.0.1(38756) idle
postgres  6274  0.0  0.2  49020  6040 ?        Ss   Aug23   0:00  \_ postgres: postgres smtp 127.0.0.1(39101) idle
postgres 11815 77.9  4.8 123332 100448 ?       Rs   06:40 342:36  \_ postgres: reporting reporting [local] DELETE
postgres 21673  0.1  0.3  48952  6660 ?        Ss   13:58   0:00  \_ postgres: postgres smtp 127.0.0.1(49429) idle
postgres 21674  0.0  0.2  49012  5784 ?        Ss   13:58   0:00  \_ postgres: postgres smtp 127.0.0.1(49430) idle
root      4376  0.0  1.1  27132 24120 ?        S    Aug23   0:07 /var/mdw/mdw.plx
root      4413  0.0  0.0   1768   532 ?        S    Aug23   0:00  \_ logger -p daemon.debug -t middleware[4376]
root      4407  0.0  0.0   4660  2004 ?        S


This thread was automatically locked due to age.
  • What do you see if you run "top" from a console or SSH root prompt?  Also, try entering a capital "T" while running top and see what processes are using the most cycles historically.
  • PostgreSQL seems to be the culprit.  In 'Reporting >> Settings':
    With the drop-down boxes you can configure how long reporting data is kept. Less data stored means less effort spent on the reporting databases, which will reduce base load and increase responsiveness in the dynamic reporting pages. It is generally adviseable to keep the timeframe as short as possible.

    Cheers - Bob
     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
  • after a new installation and new configuration > Reporting >> Settings
    it works perfekt [:)]
    just the new config was not enough