High CPU utilization

1,017 views
Skip to first unread message

Saurabh Shah

unread,
Jun 11, 2018, 12:04:58 PM6/11/18
to gce-discussion
Hello,

I have taken Google cloud service on trial basis but every now and then my cpu utilisation shoots upto 100% eventhough I upgraded CPU cores and RAM the problem doesnot seems to be solved. At the time of issue the ssh is not accessible so I am not able to figure out what the issue is.Here is the screenshot of the CPU utilisation. At the time of high cpu utilisation the outbound traffic increases also I have reinstalled OS many times but my issue doesn't seems to be resoved.


cpu_usage.jpg

Justin Reiners

unread,
Jun 11, 2018, 12:16:41 PM6/11/18
to Saurabh Shah, gce-discussion
A misconfiguration of internal software can cause that it a service keeps looping to start. Does it show anything in the console?

--
© 2018 Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043
 
Email preferences: You received this email because you signed up for the Google Compute Engine Discussion Google Group (gce-discussion@googlegroups.com) to participate in discussions with other members of the Google Compute Engine community and the Google Compute Engine Team.
---
You received this message because you are subscribed to the Google Groups "gce-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gce-discussion+unsubscribe@googlegroups.com.
To post to this group, send email to gce-discussion@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gce-discussion/6576544e-dca5-4934-9257-0e891c2b9b48%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Saurabh Shah

unread,
Jun 11, 2018, 12:18:19 PM6/11/18
to gce-discussion

At the time of 100% CPU usage I am not able to do ssh and also not able to use console.

Kamran (Google Cloud Support)

unread,
Jun 11, 2018, 2:18:56 PM6/11/18
to gce-discussion
Hello Saurabh,

To get some ideas on what's happening to your VM, you can use the Google Cloud Console, go to Compute Engine -> VM instances, click on name of the affected VM and take a look to the output of Serial port 1 (console). If you can find some activities or errors that correlate to spikes of your VM's CPU that would be good point to start investigating the issue. Interacting with the Serial Console is another method that can help you to get into the VM while SSH is not working to inspect and troubleshoot malfunctioning instances. If you've customized your VM by installing some softwares or services make sure that the VPC firewall rules locked down to only allow ingress from and egress to authorized hosts.

I hope this helps.
Reply all
Reply to author
Forward
0 new messages