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

Whats going on with the CPU usage?

Recently I've noticed that my ASG VM is burning up CPU time like there's no tomorrow and I'm not doing anything different to it.  I've even rebuilt it from scratch only to have the same problem.

This is what I have:
ASG v7.405
running on VMware Server 2 (had it on MS Virtual Server 2005 R2 before same problem)
Core2 Duo with 1 core assigned to the VM
256MB of RAM assigned to the VM

I've only got firewall and http-proxy enabled.
Proxy is in transparent mode (I use it for the caching and content filter for the kids)
I have uTorrent running on one box but it is set as an exception in the proxy settings and DNAT is configured to send all packets with the uTorrent dport to that box.

So the other day, something happened while I was out, net was down and my server had to be hard reset, might have been a brown out or something.  Anyway, it all fired up fine, ASG did its disk check thing and seemed happy but the net was slow and I kept getting lag spikes and disconnects in WoW while I was trying to do a 25man run.  I thought something must have been screwed up, so I investigated in webadmin.  the CPU was pegged at between 95 and 99% and would not go back down, normally it runs with little effort.

I decided I would rebuild it and even remove virtual server and intall vmware server 2 (I wanted it installed for something else anyway).  Built astaro (took ages) and noticed that it was using lots of CPU cycles right from the start, before I even did any updates.  My torrent box may have been hitting it trying to make connections.  So I configured and updated it and still the CPU usage is high.

This morning I've stopped uTorrent to see if that would ease the pressure, but still its going hard.

top tells me that the majority of the usage is from pppoe and confd.plx.  confd drops off when I exit webadmin but pppoe persists.

As far as I can tell, everything in the server seems to be working fine.  WebAdmin seems to be more reliable than it was on the previous build, but I can't have ASG hogging the CPU, it never used to.  Admittedly the only reason I'm using ASG is becasue of the nice web filtering, I was using smoothwall prior to this and even with addons its filtering is nowhere near as good as Astaro, but if I can't get this resolved, I'll have to look elsewhere, I need those CPU cycles for other things.

=== FIXED ===
Read my post further on for details.


This thread was automatically locked due to age.
Parents
  • Well I can't get ADSL2 here, its only a 1500 connection.

    I've had it running on 1Gig of RAM for a couple of hours now and its using 19% RAM and sitting at 65%+ CPU usage.  pppoe is still hammering it.
Reply
  • Well I can't get ADSL2 here, its only a 1500 connection.

    I've had it running on 1Gig of RAM for a couple of hours now and its using 19% RAM and sitting at 65%+ CPU usage.  pppoe is still hammering it.
Children
  • Hi,
    there are a couple of questions.
    1/. How are you measuring the CPU usage?
    2/. How did you get the ADSL connection to work across the VM connection?

    CPU usage within a guest is not displayed accurately because of the way VM assigns cycles. The only way to get real CPU usage is from the VM console.

    While the webadmin dashboard shows 19% memory, that isn't showing the real usage. If you want to you could drop the assigned memory to 512mb, any lower than that and you will start swapping.

    Ian M
  • Hi,
    there are a couple of questions.
    1/. How are you measuring the CPU usage?
    2/. How did you get the ADSL connection to work across the VM connection?

    CPU usage within a guest is not displayed accurately because of the way VM assigns cycles. The only way to get real CPU usage is from the VM console.

    While the webadmin dashboard shows 19% memory, that isn't showing the real usage. If you want to you could drop the assigned memory to 512mb, any lower than that and you will start swapping.

    Ian M


    1/. I was monitoring usage using all of the following:

    • ASG WebAdmin
    • ASG top command
    • VMware Server Admin console
    • Host OS task manager

    The VMware console was showing high usage 50% to 90%
    The task manager was showing the vmware task using 45-50% and keeping one core maxed (dual core)

    2/. My ADSL is connected such:
    Billion ADSL router in bridge mode connected to one of three NICs in the server.  This NIC is assigned an IP of 192.168.1.250 so I can admin the router from the server.  There is a LAN NIC which has an IP of 192.168.0.250. Both of these NICs are assigned to VMnet NICs in VMware.  The ASG has two interfaces, one for internal with an IP of 192.168.0.254 and one for PPPoE (assigned to the router connected NIC).  The third NIC on the server is not in use.

    What you say about the way the VM assigns CPU cycles makes sense, but the vmware console AND the task manager showed that one core getting raped.
  • Hi,
    running out of ideas.
    What do the PPPoE log and the boot messages logs show?

    I was able to get an ADSL connection working over earlier versions of VM, but not the later versions. I built a high performance 64 bit linux (low power) box to run VM on, but gave up after the ADSL would not connect across the bridge connections.

    Regards

    Ian M
  • Hi,
    running out of ideas.
    What do the PPPoE log and the boot messages logs show?

    I was able to get an ADSL connection working over earlier versions of VM, but not the later versions. I built a high performance 64 bit linux (low power) box to run VM on, but gave up after the ADSL would not connect across the bridge connections.

    Regards

    Ian M


    I've attached my pppoe and boot logs.  Had to zip the boot one, forums have strict size limits.
  • Hi,
    the boot file is showing a cross between a VM and real motherboard.

    I am hoping that one of the VM wizkids might have a look at the files.

    There is probably another log to look at, but I am not sure which one?

    I suspect the kernel log. It should show how the ADSL interface is configured.

    Ian M