{"id":502,"date":"2018-10-04T21:11:13","date_gmt":"2018-10-04T21:11:13","guid":{"rendered":"https:\/\/www.rochen.com\/docs\/?post_type=ht_kb&#038;p=502"},"modified":"2021-04-28T20:49:14","modified_gmt":"2021-04-28T20:49:14","slug":"interpreting-resource-usage-logs","status":"publish","type":"ht_kb","link":"https:\/\/www.rochen.com\/docs\/documentation\/interpreting-resource-usage-logs\/","title":{"rendered":"Interpreting Resource Usage Logs"},"content":{"rendered":"<p>If you have received a notification of excessive server resource usage then this article will assist you understanding the logs we provide. The example below is for the fictional domain rochendemo.com with the username rochendemo.<\/p>\n<p>rochendemo \u00a0 \u00a0 \u00a0rochendemo.com \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a03.50 \u00a0 \u00a0 \u00a0 \u00a00.52 \u00a0 \u00a0 \u00a0 \u00a01.4<\/p>\n<p>Top Process \u00a0 \u00a0 \u00a0 \u00a0%CPU 142.0 \u00a0 \u00a0 \u00a0 \u00a0\/usr\/bin\/php \/home\/rochendemo\/public_html\/index.php<\/p>\n<p>Top Process \u00a0 \u00a0 \u00a0 \u00a0%CPU 95.0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0[php]<\/p>\n<p>Top Process \u00a0 \u00a0 \u00a0 \u00a0%CPU 34.0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\/usr\/bin\/php \/home\/rochendemo\/public_html\/index.php<\/p>\n<p>The first figure of 3.50 is the average % of CPU usage over a 24 hour period. This is generally the statistic which triggers an excessive resource usage ticket.\u00a0The second figure of 0.52 is the average % of Memory usage over a 24 hour period.\u00a0The third figure is not something which we use commonly. It represents the average number of established MySQL connections over a 24 hour period.<\/p>\n<p>Each set of daily statistics will give the top 3 single processes by CPU usage.\u00a0In the example the top single process uses 142% of the available CPU to execute and output. This typically means 100% of 1 CPU was utilized and 42% of a 2nd CPU. Generally well coded scripts or components will not peak above 35-40%. Any resource intensive script (something which should not be run in a shared environment) or extension\/plugin\/module\/addon will also cause a high spike.<\/p>\n<p>The top process in our example also lists the script which is being executed. In some cases this can be helpful to track down the problem however the top 3 single processes may not be the cause of the overall high average usage.\u00a0In many cases, like in the 2nd top process, only [php] will be shown.\u00a0This simply means the spike was from a PHP process under the account. Unfortunately cPanel does not log a great deal of detail. The reason for this is that extensive logging would result in a significant amount of load and thus be counterproductive to overall performance on the server.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you have received a notification of excessive server resource usage then this article will assist you understanding the logs we provide. The example below is for the fictional domain rochendemo.com with the username rochendemo. rochendemo \u00a0 \u00a0 \u00a0rochendemo.com \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a03.50 \u00a0 \u00a0 \u00a0 \u00a00.52 \u00a0&#8230;<\/p>\n","protected":false},"author":2,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[230],"ht-kb-tag":[205,320,321,183],"class_list":["post-502","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-general-use-and-troubleshooting","ht_kb_tag-cpu","ht_kb_tag-logs","ht_kb_tag-processes","ht_kb_tag-resource-usage"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Interpreting Resource Usage Logs - Rochen Documentation<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.rochen.com\/docs\/documentation\/interpreting-resource-usage-logs\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Interpreting Resource Usage Logs - Rochen Documentation\" \/>\n<meta property=\"og:description\" content=\"If you have received a notification of excessive server resource usage then this article will assist you understanding the logs we provide. The example below is for the fictional domain rochendemo.com with the username rochendemo. rochendemo \u00a0 \u00a0 \u00a0rochendemo.com \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a03.50 \u00a0 \u00a0 \u00a0 \u00a00.52 \u00a0...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rochen.com\/docs\/documentation\/interpreting-resource-usage-logs\/\" \/>\n<meta property=\"og:site_name\" content=\"Rochen Documentation\" \/>\n<meta property=\"article:modified_time\" content=\"2021-04-28T20:49:14+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rochen.com\\\/docs\\\/documentation\\\/interpreting-resource-usage-logs\\\/\",\"url\":\"https:\\\/\\\/www.rochen.com\\\/docs\\\/documentation\\\/interpreting-resource-usage-logs\\\/\",\"name\":\"Interpreting Resource Usage Logs - Rochen Documentation\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rochen.com\\\/docs\\\/#website\"},\"datePublished\":\"2018-10-04T21:11:13+00:00\",\"dateModified\":\"2021-04-28T20:49:14+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rochen.com\\\/docs\\\/documentation\\\/interpreting-resource-usage-logs\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rochen.com\\\/docs\\\/documentation\\\/interpreting-resource-usage-logs\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rochen.com\\\/docs\\\/documentation\\\/interpreting-resource-usage-logs\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rochen.com\\\/docs\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Interpreting Resource Usage Logs\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.rochen.com\\\/docs\\\/#website\",\"url\":\"https:\\\/\\\/www.rochen.com\\\/docs\\\/\",\"name\":\"Rochen Documentation\",\"description\":\"Official documentation for Rochen&#039;s web hosting services as well as helpful articles for CMS like WordPress, Joomla and Drupal.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.rochen.com\\\/docs\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Interpreting Resource Usage Logs - Rochen Documentation","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.rochen.com\/docs\/documentation\/interpreting-resource-usage-logs\/","og_locale":"en_US","og_type":"article","og_title":"Interpreting Resource Usage Logs - Rochen Documentation","og_description":"If you have received a notification of excessive server resource usage then this article will assist you understanding the logs we provide. The example below is for the fictional domain rochendemo.com with the username rochendemo. rochendemo \u00a0 \u00a0 \u00a0rochendemo.com \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a03.50 \u00a0 \u00a0 \u00a0 \u00a00.52 \u00a0...","og_url":"https:\/\/www.rochen.com\/docs\/documentation\/interpreting-resource-usage-logs\/","og_site_name":"Rochen Documentation","article_modified_time":"2021-04-28T20:49:14+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.rochen.com\/docs\/documentation\/interpreting-resource-usage-logs\/","url":"https:\/\/www.rochen.com\/docs\/documentation\/interpreting-resource-usage-logs\/","name":"Interpreting Resource Usage Logs - Rochen Documentation","isPartOf":{"@id":"https:\/\/www.rochen.com\/docs\/#website"},"datePublished":"2018-10-04T21:11:13+00:00","dateModified":"2021-04-28T20:49:14+00:00","breadcrumb":{"@id":"https:\/\/www.rochen.com\/docs\/documentation\/interpreting-resource-usage-logs\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rochen.com\/docs\/documentation\/interpreting-resource-usage-logs\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.rochen.com\/docs\/documentation\/interpreting-resource-usage-logs\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rochen.com\/docs\/"},{"@type":"ListItem","position":2,"name":"Interpreting Resource Usage Logs"}]},{"@type":"WebSite","@id":"https:\/\/www.rochen.com\/docs\/#website","url":"https:\/\/www.rochen.com\/docs\/","name":"Rochen Documentation","description":"Official documentation for Rochen&#039;s web hosting services as well as helpful articles for CMS like WordPress, Joomla and Drupal.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.rochen.com\/docs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/www.rochen.com\/docs\/wp-json\/wp\/v2\/ht-kb\/502","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rochen.com\/docs\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/www.rochen.com\/docs\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.rochen.com\/docs\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rochen.com\/docs\/wp-json\/wp\/v2\/comments?post=502"}],"version-history":[{"count":1,"href":"https:\/\/www.rochen.com\/docs\/wp-json\/wp\/v2\/ht-kb\/502\/revisions"}],"predecessor-version":[{"id":1666,"href":"https:\/\/www.rochen.com\/docs\/wp-json\/wp\/v2\/ht-kb\/502\/revisions\/1666"}],"wp:attachment":[{"href":"https:\/\/www.rochen.com\/docs\/wp-json\/wp\/v2\/media?parent=502"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.rochen.com\/docs\/wp-json\/wp\/v2\/ht-kb-category?post=502"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.rochen.com\/docs\/wp-json\/wp\/v2\/ht-kb-tag?post=502"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}