Hi all,

I have Go tip fetch and build every once or more in a week on my local
development (office environment).
For local testing, I have VirtualBox setup with all third parties.
The host machine is macOS Catalina version 10.15.3,

  Model Identifier:             MacBookPro14,1
  Processor Name:               Dual-Core Intel Core i5
  Processor Speed:              2,3 GHz
  Number of Processors:         1
  Total Number of Cores:        2
  L2 Cache (per Core):          256 KB
  L3 Cache:                     4 MB
  Hyper-Threading Technology:   Enabled
  Memory:                       8 GB
  Boot ROM Version:             204.0.0.0.0


The guest machine is Arch Linux on VirtualBox 6.1.4 r136177 (Qt5.6.3),

  5.5.7-arch1-1 #1 SMP PREEMPT Sat, 29 Feb 2020 19:06:02 +0000 x86_64 GNU/Linux

  HPET:                        disabled
  CPUProfile:                  host
  Chipset:                     piix3
  Firmware:                    BIOS
  Number of CPUs:              1
  PAE:                         disabled
  Long Mode:                   enabled
  Triple Fault Reset:          disabled
  APIC:                        enabled
  X2APIC:                      enabled
  Nested VT-x/AMD-V:           disabled
  ACPI:                        enabled
  IOAPIC:                      enabled
  BIOS APIC mode:              APIC
  Time offset:                 0ms
  RTC:                         local time
  Hardware Virtualisation:     enabled
  Nested Paging:               enabled
  Large Pages:                 enabled
  VT-x VPID:                   enabled
  VT-x Unrestricted Exec.:     enabled
  Paravirt. Provider:          None
  Effective Paravirt. Prov.:   None


At the guest, we have five Go services that depends on Nats, Redis, and MySQL.

The problem is at random time one or two random service(s) will run with high
CPU usage.

There is no issue when building with Go 1.14.

I have add "net/http/pprof" to each of them and try to run the profiling tools
from host to service that run with high CPU, but it can't reach the service 
with the following error,

        Fetching profile over HTTP from 
http://192.168.56.10:6079/debug/pprof/profile
        192.168.56.10:6079/debug/pprof/profile: Get 
"http://192.168.56.10:6079/debug/pprof/profile": net/http: timeout awaiting 
response headers
        failed to fetch any source profiles


My question is any one have idea how to debug this so I can provide more
detailed report?

Thank you in advance.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/B211F6E8-A7F5-4EC2-8FEC-91DBF1919A20%40gmail.com.

Reply via email to