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

BUG: 8.201 using 100% of CPU

I have been using 8.103 for some time and had no issues with CPU usage. However after the update to 8.201, ASG Home has been consuming 100% of the CPU.  I rebooted the machine both days and CPU usage returns to normal, but eventually will jump back up again.  See the attached graph.

cpuusage_daily.png

In addition to this issue, I noticed that I am unable to double scan web downloads or the download is never accessible. With double scanning enabled, I see the Astaro download screen, but then it jumps to a blank page. In 8.103 this worked fine, but in 8.201 unless I just select single scan, I am unable to get downloaded files. A specific example was this link.

http://www.linuxjournaldigital.com/01d49f0edcd9418d3c3a3b20034855a6/4e55247b/linuxjournal/201109/data/linuxjournal201109-dl.pdf?lm=1314190536000

Any assistance on these issues would be appreciated.

Mike


This thread was automatically locked due to age.
  • What process is using all the CPU? Go to the support menu...
  • That's a good question.  When I take a look at the Support->Advanced tab and look at the CPU usage, nothing is using all that much.  However, the machine is still using 100%. See below:

    USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
    
    root         2  0.0  0.0      0     0 ?        S    09:50   0:00 [kthreadd]
    root         3  0.0  0.0      0     0 ?        S    09:50   0:00  \_ [ksoftirqd/0]
    root         4  0.0  0.0      0     0 ?        S    09:50   0:41  \_ [events/0]
    root         5  0.0  0.0      0     0 ?        S    09:50   0:00  \_ [khelper]
    root        10  0.0  0.0      0     0 ?        S    09:50   0:00  \_ [async/mgr]
    root        11  0.0  0.0      0     0 ?        S    09:50   0:00  \_ [pm]
    root        76  0.0  0.0      0     0 ?        S    09:50   0:00  \_ [sync_supers]
    root        78  0.0  0.0      0     0 ?        S    09:50   0:00  \_ [bdi-default]
    root        80  0.0  0.0      0     0 ?        S    09:50   0:00  \_ [kblockd/0]
    root        82  0.0  0.0      0     0 ?        S    09:50   0:00  \_ [kacpid]
    root        83  0.0  0.0      0     0 ?        S    09:50   0:00  \_ [kacpi_notify]
    root        84  0.0  0.0      0     0 ?        S    09:50   0:00  \_ [kacpi_hotplug]
    root       243  0.0  0.0      0     0 ?        S    09:50   0:00  \_ [ksuspend_usbd]
    root       247  0.0  0.0      0     0 ?        S    09:50   0:00  \_ [khubd]
    root       250  0.0  0.0      0     0 ?        S    09:50   0:00  \_ [kseriod]
    root       280  0.0  0.0      0     0 ?        S    09:50   0:00  \_ [kondemand/0]
    root       299  0.0  0.0      0     0 ?        S    09:50   0:00  \_ [kswapd0]
    root       300  0.0  0.0      0     0 ?        S    09:50   0:00  \_ [aio/0]
    root       301  0.0  0.0      0     0 ?        S    09:50   0:00  \_ [crypto/0]
    root      1014  0.0  0.0      0     0 ?        S    09:50   0:00  \_ [redd/0]
    root      1033  0.0  0.0      0     0 ?        S    09:50   0:00  \_ [edac-poller]
    root      1096  0.0  0.0      0     0 ?        S    09:50   0:04  \_ [ata/0]
    root      1097  0.0  0.0      0     0 ?        S    09:50   0:00  \_ [ata_aux]
    root      1103  0.0  0.0      0     0 ?        S    09:50   0:00  \_ [scsi_eh_0]
    root      1106  0.0  0.0      0     0 ?        S    09:50   0:00  \_ [scsi_eh_1]
    root      1165  0.0  0.0      0     0 ?        S    09:50   0:00  \_ [mpt_poll_0]
    root      1166  0.0  0.0      0     0 ?        S    09:50   0:00  \_ [mpt/0]
    root      1167  0.0  0.0      0     0 ?        S    09:50   0:00  \_ [scsi_eh_2]
    root      3291  0.0  0.0      0     0 ?        S    09:50   0:00  \_ [kjournald]
    root      3297  0.0  0.0      0     0 ?        S    09:50   0:00  \_ [flush-8:0]
    root      4865  0.0  0.0      0     0 ?        S    09:50   0:00  \_ [kjournald]
    root      4866  0.0  0.0      0     0 ?        S    09:50   0:00  \_ [kjournald]
    root      4867  0.0  0.0      0     0 ?        S    09:50   0:00  \_ [kjournald]
    root      4868  0.0  0.0      0     0 ?        S    09:50   0:00  \_ [kjournald]
    root      4897  0.0  0.0      0     0 ?        S    09:50   0:00  \_ [vmmemctl]
    root      4926  0.0  0.0      0     0 ?        S    09:50   0:00  \_ [kauditd]
    root         1  0.0  0.0   1816   604 ?        Ss   09:50   0:01 init [3]  
    root      3357  0.0  0.0   2244   680 ?        S
    root      5417  0.0  0.2   7632  5256 ?        S    09:50   0:04 /usr/local/bin/sysmond
    root      5507  0.0  0.5  15500 12356 ?        S    09:50   0:00 /var/aua/aua.bin
    root      5684  0.0  0.4  13768 10004 ?        S    09:50   0:00 /usr/local/bin/notifier.plx -d
    at        5720  0.0  0.0   2236   460 ?        Ss   09:50   0:00 /usr/sbin/atd
    postgres  5830  0.0  0.2  46768  5320 ?        S    09:50   0:02 /usr/bin/postgres -D /var/storage/pgsql/data
    postgres  5832  0.0  1.0  46768 21588 ?        Ss   09:50   0:05  \_ postgres: writer process                    
    postgres  5833  0.0  0.0  46768  1048 ?        Ss   09:50   0:04  \_ postgres: wal writer process                
    postgres  5834  0.0  0.0  47056  1368 ?        Ss   09:50   0:02  \_ postgres: autovacuum launcher process       
    postgres  5835  0.0  0.0   7352  1064 ?        Ss   09:50   0:03  \_ postgres: stats collector process           
    postgres  6580  0.0  0.6  49552 12616 ?        Ss   09:50   0:33  \_ postgres: reporting reporting [local] idle  
    postgres  6631  0.0  0.2  49196  4228 ?        Ss   09:50   0:00  \_ postgres: postgres pop3 127.0.0.1(39053) idle
    postgres  6874  0.0  0.2  49180  5684 ?        Ss   09:50   0:00  \_ postgres: postgres smtp 127.0.0.1(39060) idle
    postgres  9872  0.0  0.3  49248  6532 ?        Ss   22:03   0:00  \_ postgres: postgres smtp 127.0.0.1(60711) idle
    postgres 10502  1.3  0.4  53744  8468 ?        Ss   22:17   0:00  \_ postgres: reporting reporting [local] idle  
    root      5889  0.0  2.8  60512 57764 ?        S    09:50   0:35 /var/mdw/mdw.plx
    root      5946  0.0  0.0   1796   552 ?        S    09:50   0:00  \_ logger -p daemon.debug -t middleware[5889]
    root      6217  0.0  0.0   2848  1164 ?        Ss   09:50   0:00  \_ /bin/bash /bin/DHCPC.sh eth0
    root      6354  0.0  0.0   2536  1128 ?        S    09:50   0:00      \_ /usr/sbin/dhclient -d -cf /etc/eth0.conf -lf /var/db/eth0.l
    root      5923  0.3  0.4  11428  9608 ?        S    09:50   2:15 /usr/local/bin/selfmonng.plx
    root      5948  0.0  0.3  11132  7256 ?        S    09:50   0:00  \_ [timewarp check]
    root      5927  0.0  0.0   4480  1792 ?        S


    Mike
  • Here is the rest (hit the 100000 character limit)...


    root      6588  0.0  0.1   6708  3124 ?        Ss   09:50   0:30  \_ /usr/sbin/syslog-ng -f /etc/syslog-ng.conf
    root      7222  0.0  0.4  17524  9720 ?        S    09:51   0:02      \_ /usr/bin/perl /usr/local/bin/reporter/pfilter-reporter.pl
    root      7224  0.0  0.4  16492  8436 ?        S    09:51   0:00      \_ /usr/bin/perl /usr/local/bin/reporter/vpn-reporter.pl
    root      7225  0.0  0.4  16704  8784 ?        S    09:51   0:01      \_ /usr/bin/perl /usr/local/bin/reporter/mailsec-reporter.pl
    root      7226  0.0  0.4  17556  9616 ?        S    09:51   0:01      \_ /usr/bin/perl /usr/local/bin/reporter/ips-reporter.pl
    root      7228  0.0  0.5  19928 12052 ?        S    09:51   0:23      \_ /usr/bin/perl /usr/local/bin/reporter/websec-reporter.pl
    root      7230  0.0  0.4  17448  9604 ?        S    09:51   0:02      \_ /usr/bin/perl /usr/local/bin/reporter/waf-reporter.pl
    root     18309  0.0  0.4  10600  8648 ?        S    13:06   0:00      \_ /usr/bin/perl /usr/local/bin/reporter/admin-reporter.pl
    root      6628  0.0  0.0   6796  1268 ?        Ss   09:50   0:00 /bin/pop3proxy
    chroot    6652  0.0  0.0   2200   696 ?        S    09:50   0:00 /usr/sbin/frox -f /etc/frox.conf
    106       6703  6.6  7.8 973620 160828 ?       Ssl  09:50  49:58 /var/chroot-http/usr/bin/httpproxy -f -c /var/chroot-http -u httppr
    root      6723  0.0  1.0  30360 22244 ?        Ss   09:50   0:32 smtpd [master]
    root      6850  0.0  1.0  30236 21816 ?        S    09:50   0:03  \_ smtpd [queue manager]
    chroot    6875  0.0  0.1   7976  2092 ?        S    09:50   0:00  \_ /bin/exim -DINPUT -bdf
    root      6728  0.0  5.5 148936 114252 ?       Ssl  09:50   0:07 /usr/bin/cssd -d
    root      6856  0.0  0.6  21524 13180 ?        Ss   09:50   0:01 /usr/apache/bin/httpd -k restart
    root      6860  0.0  0.0   1796   560 ?        S    09:50   0:00  \_ /bin/logger -i -p local7.info -t wafidx
    root      6866  0.0  0.0   1796   552 ?        S    09:50   0:00  \_ /bin/logger -p local7.info -t reverseproxy
    root      6868  0.0  0.0   1796   556 ?        S    09:50   0:00  \_ /bin/logger -p local7.info -t reverseproxy
    nobody    7252  0.0  0.8 449380 16524 ?        Sl   09:51   0:03  \_ /usr/apache/bin/httpd -k restart
    root      6921  0.0  0.0   7968  2000 ?        Ss   09:50   0:00 /usr/lib/ctasd/ctasd -p /var/run/ctasd.pid -l /usr/lib/ctasd
    root      6924  0.0  0.4  22660  9668 ?        Sl   09:50   0:08  \_ /usr/lib/ctasd/ctasd -p /var/run/ctasd.pid -l /usr/lib/ctasd
    root      6922  0.0  0.2  17224  4700 ?        Ssl  09:50   0:04 ./ctipd.bin -l /usr/lib/ctipd
    root      7208  0.0  0.1   6488  3952 ?        S    09:51   0:02 ddclient - sleeping for 190 seconds
    root      7366  0.0  0.0   5736  1500 ?        Ss   09:51   0:00 /usr/libexec/postfix/master
    postfix  23227  0.0  0.0   5828  1540 ?        S    14:51   0:00  \_ qmgr -l -t fifo -u -c
    postfix   8454  0.0  0.0   5772  1504 ?        S    21:31   0:00  \_ pickup -l -t fifo -u -c
    snort     7509  1.0  8.6 213844 177288 ?       S


    Mike
  • Same Issue here with the cpu at 100%

    The httpproxy and the webadmin use the 100% of cpu, I turn off and on the webproxy and the cpu steel's on 100%,
    part 1:

    USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
    root         2  0.0  0.0      0     0 ?        S    Aug21   0:00 [kthreadd]
    root         3  0.0  0.0      0     0 ?        S    Aug21   0:00  \_ [ksoftirqd/0]
    root         4  0.0  0.0      0     0 ?        S    Aug21   1:34  \_ [events/0]
    root         5  0.0  0.0      0     0 ?        S    Aug21   0:00  \_ [khelper]
    root        10  0.0  0.0      0     0 ?        S    Aug21   0:00  \_ [async/mgr]
    root        11  0.0  0.0      0     0 ?        S    Aug21   0:00  \_ [pm]
    root        76  0.0  0.0      0     0 ?        S    Aug21   0:00  \_ [sync_supers]
    root        78  0.0  0.0      0     0 ?        S    Aug21   0:00  \_ [bdi-default]
    root        80  0.0  0.0      0     0 ?        S    Aug21   0:00  \_ [kblockd/0]
    root        82  0.0  0.0      0     0 ?        S    Aug21   0:00  \_ [kacpid]
    root        83  0.0  0.0      0     0 ?        S    Aug21   0:00  \_ [kacpi_notify]
    root        84  0.0  0.0      0     0 ?        S    Aug21   0:00  \_ [kacpi_hotplug]
    root       162  0.0  0.0      0     0 ?        S    Aug21   0:00  \_ [ksuspend_usbd]
    root       166  0.0  0.0      0     0 ?        S    Aug21   0:00  \_ [khubd]
    root       169  0.0  0.0      0     0 ?        S    Aug21   0:00  \_ [kseriod]
    root       199  0.0  0.0      0     0 ?        S    Aug21   0:00  \_ [kondemand/0]
    root       214  0.0  0.0      0     0 ?        S    Aug21   0:01  \_ [kswapd0]
    root       215  0.0  0.0      0     0 ?        S    Aug21   0:00  \_ [aio/0]
    root       216  0.0  0.0      0     0 ?        S    Aug21   0:00  \_ [crypto/0]
    root       865  0.0  0.0      0     0 ?        S    Aug21   0:00  \_ [redd/0]
    root       883  0.0  0.0      0     0 ?        S    Aug21   0:00  \_ [edac-poller]
    root       945  0.0  0.0      0     0 ?        S    Aug21   0:00  \_ [ata/0]
    root       946  0.0  0.0      0     0 ?        S    Aug21   0:00  \_ [ata_aux]
    root       952  0.0  0.0      0     0 ?        S    Aug21   0:00  \_ [scsi_eh_0]
    root       955  0.0  0.0      0     0 ?        S    Aug21   0:00  \_ [scsi_eh_1]
    root      2767  0.0  0.0      0     0 ?        S    Aug21   0:12  \_ [flush-8:0]
    root      2768  0.0  0.0      0     0 ?        S    Aug21   0:10  \_ [kjournald]
    root      3931  0.0  0.0      0     0 ?        S    Aug21   0:00  \_ [kjournald]
    root      3932  0.0  0.0      0     0 ?        S    Aug21   0:17  \_ [kjournald]
    root      3933  0.0  0.0      0     0 ?        S    Aug21   0:16  \_ [kjournald]
    root      3934  0.0  0.0      0     0 ?        S    Aug21   0:01  \_ [kjournald]
    root      3990  0.0  0.0      0     0 ?        S    Aug21   0:00  \_ [kauditd]
    root         1  0.0  0.0   1816   592 ?        Ss   Aug21   0:03 init [3]  
    root      2833  0.0  0.0   2244   440 ?        S
    at        4793  0.0  0.0   2236   496 ?        Ss   Aug21   0:00 /usr/sbin/atd
    root      4899  0.0  0.0   2116   468 ?        Ss   Aug21   0:00 /usr/local/bin/asg_ha_zeroconf
    root      4906  0.0  0.5  14052 10416 ?        S    Aug21   0:00 /usr/local/bin/notifier.plx -d
    postgres  4930  0.0  0.2  46764  5264 ?        S    Aug21   0:15 /usr/bin/postgres -D /var/storage/pgsql/data
    postgres  4947  0.0  1.6  46764 34760 ?        Ss   Aug21   1:22  \_ postgres: writer process                    
    postgres  4948  0.0  0.0  46764  1052 ?        Ss   Aug21   1:36  \_ postgres: wal writer process                
    postgres  4949  0.0  0.0  47004  1344 ?        Ss   Aug21   0:18  \_ postgres: autovacuum launcher process       
    postgres  4950  0.0  0.0   7212   992 ?        Ss   Aug21   0:39  \_ postgres: stats collector process           
    postgres  5711  0.4  1.8  49576 38396 ?        Ss   Aug21  31:09  \_ postgres: reporting reporting [local] idle  
    postgres  6332  0.0  0.3  49240  7296 ?        Ss   Aug21   0:00  \_ postgres: postgres smtp 127.0.0.1(36886) idle
    postgres  9273  0.1  0.2  49240  5228 ?        Ss   10:51   0:07  \_ postgres: postgres smtp 127.0.0.1(56995) idle
  • part2:

    root      5018  0.0  2.8  61076 57976 ?        S    Aug21   1:26 /var/mdw/mdw.plx
    root      5078  0.0  0.0   1796   588 ?        S    Aug21   0:00  \_ logger -p daemon.debug -t middleware[5018]
    root      5048  0.0  0.1   5708  3104 ?        S
    root     17508  0.0  0.1   7808  2512 ?        SN   Aug24   1:44 /usr/sbin/snmpd -c /etc/snmpd.conf -LSid udp:161 udp6:161
    afcd      4102  0.4  0.8  73032 17280 ?        S
    wwwrun   12704  0.6  2.5  54700 52556 ?        S    11:52   0:02  |   \_ /var/webadmin/index.plx
    wwwrun   12712  0.6  2.5  54700 52452 ?        S    11:52   0:02  |   \_ /var/webadmin/index.plx
    wwwrun   12623  0.2  0.1   8600  3528 ?        S    11:51   0:01  \_ /bin/httpd -f /etc/httpd/httpd.conf
    wwwrun   12701  0.1  0.1   8516  3336 ?        S    11:52   0:00  \_ /bin/httpd -f /etc/httpd/httpd.conf
    wwwrun   12780  0.1  0.1   8428  3272 ?        S    11:55   0:00  \_ /bin/httpd -f /etc/httpd/httpd.conf
    root      7635  0.0  0.1   4924  2252 ?        Ss   10:17   0:00 /sbin/openvpn --config /etc/openvpn/openvpn.conf --writepid /var/ru
    root      7637  0.0  0.0   4244   772 ?        S    10:17   0:00  \_ /sbin/openvpn --config /etc/openvpn/openvpn.conf --writepid /va
    snort    10326  4.8  4.0 122336 82972 ?        S
  • So the 100% CPU problem has persisted, occurring ~once a day since this post. I also never got any feedback/comments on the double scan issue mentioned in the original post.

    Mike
  • So the 100% CPU problem has persisted, occurring ~once a day since this post.
    Always at the same time or randomly?  If it were me, it'd look through all of the logs for the time that this happens to check for anything "interesting" during that time frame.

    I also never got any feedback/comments on the double scan issue mentioned in the original post.
    What do you see in the Web Filter log when you try to download something with dual scan enabled?  The big thing that I can think of here is if the ClamAV definitions are corrupted.  If it is corrupted definitions, it can be fixed by a pattern update.  The catch here is that pattern updates can't be applied to something that is disabled...if dual scan is off, the definitions for ClamAV won't be updated.
  • Randomly.  I can take a look at logs and see if anything interesting shows up. This is definitely new with 8.2xx.  We were running 8.103 without any issues for some time now.

    I can turn on dual scan for a while and see if the problem resolves.

    Mike
  • I can turn on dual scan for a while and see if the problem resolves.
    I would temporarily change pattern updates to manual at Management>>up2date>>Configuration Tab, then on the Overview Tab kick off a pattern check to minimize the wait time.  During all of this, I'd keep an eye on the up2date messages live log.
  • I have been using 8.103 for some time and had no issues with CPU usage. However after the update to 8.201, ASG Home has been consuming 100% of the CPU.  I rebooted the machine both days and CPU usage returns to normal, but eventually will jump back up again.  See the attached graph.

    [ATTACH]6518[/ATTACH]

    In addition to this issue, I noticed that I am unable to double scan web downloads or the download is never accessible. With double scanning enabled, I see the Astaro download screen, but then it jumps to a blank page. In 8.103 this worked fine, but in 8.201 unless I just select single scan, I am unable to get downloaded files. A specific example was this link.

    http://www.linuxjournaldigital.com/01d49f0edcd9418d3c3a3b20034855a6/4e55247b/linuxjournal/201109/data/linuxjournal201109-dl.pdf?lm=1314190536000

    Any assistance on these issues would be appreciated.

    Mike


    cpu type and speed?  are you running inside a vm?  how much ram..system stats please.