{"id":1434,"date":"2015-01-22T05:44:47","date_gmt":"2015-01-22T05:44:47","guid":{"rendered":"http:\/\/pariswells.com\/blog\/?p=1434"},"modified":"2015-01-22T05:44:47","modified_gmt":"2015-01-22T05:44:47","slug":"avaya-onex-server-using-up-high-cpu-and-iops-every-5-minutes","status":"publish","type":"post","link":"https:\/\/pariswells.com\/blog\/random\/avaya-onex-server-using-up-high-cpu-and-iops-every-5-minutes","title":{"rendered":"Avaya OneX Server using up high CPU and IOP&#8217;s every 5 minutes"},"content":{"rendered":"\r\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-thumbnail wp-image-1435 img-responsive\" src=\"http:\/\/pariswells.com\/blog\/wp-content\/uploads\/2015\/01\/52afc1a25a054_avaya_button1-150x150.png\" alt=\"52afc1a25a054_avaya_button[1]\" width=\"150\" height=\"150\" \/>I was asked to investigate a server which was using lots of disk and CPU useage every 5 minutes. I logged in and check perf mon to find out tomcat7.exe was zipping up all the files in \\onexportal\\Tomcat\\Server\\logs into from *RollingFiles. After running this , all I could see in the logs is<\/p>\r\n<p>&#8220;couldn&#8217;t be deleted after adding to zip&#8221;<\/p>\r\n<p>A quick research of TomCat turns out the Avaya server was using the log4j Apache Logging Service ( http:\/\/logging.apache.org\/log4j\/2.x\/ )<\/p>\r\n<p>The config for this was in Tomcat\\Server\\bin\\log4j.xml<\/p>\r\n<p>After checking there was a parameter in there called &lt;param value=&#8221;10MB&#8221; name=&#8221;MaxFileSize&#8221;\/&gt; which meant it would try to Roll these constantly.<\/p>\r\n<p>You can change &lt;param value=&#8221;true&#8221; name=&#8221;Append&#8221;\/&gt; to &lt;param value=&#8221;false&#8221; name=&#8221;Append&#8221;\/&gt; and restart the service which means the logs will start from scratch everytime you restart the &#8220;Avaya one-X Portal for IP Office&#8221; service<\/p>\r\n<p>or you can clear the logs file by using a sheuduled script<\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>I was asked to investigate a server which was using lots of disk and CPU useage every 5 minutes. I logged in and check perf mon to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[889,888,891,892,894,890,893],"class_list":["post-1434","post","type-post","status-publish","format-standard","hentry","category-random","tag-avaaya","tag-couldnt-be-deleted-after-adding-to-zip","tag-high-cpu","tag-high-iops","tag-log4j","tag-onex","tag-tomcat7-exe"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/1434","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/comments?post=1434"}],"version-history":[{"count":2,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/1434\/revisions"}],"predecessor-version":[{"id":1708,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/1434\/revisions\/1708"}],"wp:attachment":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/media?parent=1434"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/categories?post=1434"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/tags?post=1434"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}