Messaging Gateway

 View Only
  • 1.  SMG - high CPU load after move to Hyper-V server

    Posted Aug 09, 2016 06:50 AM

    Hello!

    Our company use with success SMG appliance 8340 (ver 10.5.4-4). Now it's time to move this instalation to Hyper-V. I maked new HV machine from ISO image (the same version as appliance, 2 vCPU, 6GB RAM, disk 120GB fixed) and restored settings from last backup.

    All settings, queues, logs are imported fine. New virtual SMG is functional and working, but CPU usage (in www page\Status\System\Hosts) is very often at 50% or about 100%.

    TOP report from Diagnostics pack (4 files TOP_B.txt) shows:

    Cpu(s): 55.3%us,  7.6%sy,  0.0%ni, 36.5%id,  0.5%wa,  0.0%hi,  0.1%si,  0.0%st
    Mem:   6116512k total,  3198160k used,  2918352k free,   109556k buffers
    Swap:  4242768k total,        0k used,  4242768k free,   827144k cached
    
      PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
     5141 mailwall  15   0 1106m 802m  19m S 101.0 13.4   5:22.65 bmserver
    10028 root      23   0 25268  14m 5664 R 99.1  0.2   0:00.57 yum
    ...
    
    Cpu(s): 53.5%us,  8.6%sy,  0.0%ni, 37.3%id,  0.4%wa,  0.0%hi,  0.1%si,  0.0%st
    Mem:   6116512k total,  3316896k used,  2799616k free,   152644k buffers
    Swap:  4242768k total,        0k used,  4242768k free,   833496k cached
    
      PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND           
     5755 mailwall  17   0  125m  18m  12m R 101.5  0.3  20:22.44 conduit
    26213 root      25   0 35648  23m 7420 R 74.2  0.4   0:02.88 yum
    26281 root      22   0  7524 5432 1764 R 21.5  0.1   0:00.11 xpath
    ...
    
    Cpu(s): 57.4%us,  7.7%sy,  0.0%ni, 34.1%id,  0.6%wa,  0.1%hi,  0.2%si,  0.0%st
    Mem:   6116512k total,  3360704k used,  2755808k free,   113532k buffers
    Swap:  4242768k total,        0k used,  4242768k free,  1013848k cached
    
      PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
     6393 mailwall  25   0  128m  21m  12m R 101.8  0.4   7:25.48 conduit
    ...
    
    Cpu(s): 51.6%us,  8.6%sy,  0.0%ni, 39.3%id,  0.3%wa,  0.0%hi,  0.1%si,  0.0%st
    Mem:   6116512k total,  4414508k used,  1702004k free,   296384k buffers
    Swap:  4242768k total,      108k used,  4242660k free,  1511880k cached
    
      PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
     5538 mailwall  15   0 1149m 850m  29m S 101.2 14.2 160:25.76 bmserver
     4183 root      20   0 39684  27m 7664 R 99.2  0.5   0:08.80 yum

    Windows Performance Monitor at my HV host shows load on virtual processors in this HV machine to 95%.

    My HV host have 2x Xeon 5420 @2.50GHz, 48GB RAM, Windows 2012 R2 Std.

    My old physical appliance work at very low CPU load: 0-2%, only sometimes have a tick.

    If I did something wrong preparing HV? What can I do with this?

    Thanks a lot!



  • 2.  RE: SMG - high CPU load after move to Hyper-V server

    Posted Aug 09, 2016 09:03 AM

    .



  • 3.  RE: SMG - high CPU load after move to Hyper-V server

    Posted Aug 18, 2016 12:15 PM

    Hi,

    Have you checked conduit and the download performance of new patterns?

    Thomas



  • 4.  RE: SMG - high CPU load after move to Hyper-V server

    Posted Sep 02, 2016 03:56 AM

    Thanks for Your post.

    I not observe and problems with download definitions from Symantec. My system check for updates every 10 min, I see this in Status page.

    I created new virtual machine and install SMG from CD twice, but the result is the same.

    This is not only problem with "Conduit" app, sometimes "bmserver" load goes up.

    Network settings are strictly the same as old physical machine, so this is no network or firewall issue.

     



  • 5.  RE: SMG - high CPU load after move to Hyper-V server

    Posted Sep 06, 2016 01:19 AM

    Hi,

    1. Did you check the recoms and minimum requirements at https://support.symantec.com/en_US/article.HOWTO93104.html? What kind of disks are you using?

    2. Conduit: Just to get sure, eg temporary disable the updates. Does that have and impact to cpu-util? I guess yes.

    3. bmserver: If a large mail comes in, eg zip attachment, etc it must be extracted, scanned for virus etc. Is there a correlation to cpu? I guess yes, too. Leads us back to point 1 - kind of disk and speed.

    Thomas



  • 6.  RE: SMG - high CPU load after move to Hyper-V server

    Posted Sep 06, 2016 03:07 AM

    Hello!


    ad 1. Yes, I carefully checked "System requirements..." for virtual deployment (I have Hyper-V - 2012 R2 server on IBM SystemX 3650 (2x Xeon 5420 @2.50GHz, 48GB RAM) with disk array IBM DS4700, FC disks). This is my test HV-host, but I think pretty fast.

    SMG VM is created as type 1 virtual machine, disk type - fixed, 120G, RAM 6G, CPU 2x.

    ad 2. I must restore my enviroment to test this. I switched to my old physical scanner.

    ad 3. I did not use SMG-VM to transfer emails. I observed CPU-load issues after a fresh install and later after settings restore too.

    I have to go to VM because my SMG version is 10.5.4-4 and this is last supported version for my appliance.

    Thanks

    Piotr



  • 7.  RE: SMG - high CPU load after move to Hyper-V server

    Posted Sep 06, 2016 06:59 AM

    Hi Piotr,

    What about drilling a little deeper using monitor?

    monitor --proc conduit system database

    We are talking about 1 VM with scanner and cc, right?

    On the other hand, does the high util has any impact on the scanner, other vms?

    Thomas



  • 8.  RE: SMG - high CPU load after move to Hyper-V server

    Posted Sep 06, 2016 08:17 AM

    Hi

    Yes - 1VM, cc and scanner together.

    I opened a case with Symantec. Support Engineer says that 2 VCPU and 4GB RAM is not enough for virtual version.

    His recomendation for SMG 10.5.4 on HV is

    CPUs: 4 or more
    Memory: 8 GB or more

    SMG 10.6
    CPUs: 8
    Memory: 16 GB or more

    So I must update my HV settings and make some tests again.

    I check my current hardware appliance (ver 8340, 2x Pentium, 4GB). TOP command (from support account) says:

    load average: 2.08, 1.80, 1.76

    So information about CPU load from SMG administration web page are not good - my web page says 20%-55% !

    I think this ends the matter - thank for all!

    Regards



  • 9.  RE: SMG - high CPU load after move to Hyper-V server

    Posted Sep 08, 2016 11:17 AM

    Hi,

    Thanks for sharing this info.

    As we are on appliances my info was just theoretically.

    Thomas