Nirendra Singh Panwar
Nirendra Singh Panwar

Reputation: 61

High CPU Utilization issue on Moqui instance

We are facing one problem of random High CPU utilization on Production Server which makes application Not Responding. And we need to restart the application again. We have done initial level diagnostic and couldn’t conclude.

We are using following configuration for Production Server

Below two results are of top command

1) At 6:52:50 PM

KiB Mem :  8173968 total,  2100304 free,  4116436 used,  1957228 buff/cache
KiB Swap:  1048572 total,  1047676 free,      896 used.  3628092 avail Mem  
PID   USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND  
20698 root      20   0 6967736 3.827g  21808 S   3.0 49.1   6:52.50 java 

2) At 6:53:36 PM

KiB Mem :  8173968 total,  2099000 free,  4116964 used,  1958004 buff/cache
KiB Swap:  1048572 total,  1047676 free,      896 used.  3627512 avail Mem 
PID   USER  PR  NI   VIRT    RES    SHR S  %CPU %MEM TIME+COMMAND                                                                           
20698 root 20   0 6967736 3.828g  21808 S  200.0 49.1  6:53.36 java 

Note:

Results shows CPU utilization is increase drastically.

Any suggestion or direction which can lead to solution??

Additionally, following is the cpu utilization graph for last week. enter image description here Thanks!

Upvotes: 1

Views: 116

Answers (1)

Ronan Keane
Ronan Keane

Reputation: 189

Without seeing a stack trace, I'd guess that the problem is likely Jetty, as there have been recent documented bugs in Jetty causing the behaviour you describe on EC2 (do a google search on this.). I would recommend you do a couple of stack trace dumps during 100% cpu, to confirm it is Jetty, then if you look at the Jetty documentation on this bug, hopefully you may find you simply need to update Jetty.

Upvotes: 2

Related Questions