{"id":875,"date":"2022-12-08T10:06:58","date_gmt":"2022-12-08T09:06:58","guid":{"rendered":"https:\/\/www.ume.li\/blog\/?p=875"},"modified":"2023-01-10T11:09:37","modified_gmt":"2023-01-10T10:09:37","slug":"hcl-connections-2-0-2-high-cpu-load","status":"publish","type":"post","link":"https:\/\/www.ume.li\/blog\/2022\/12\/08\/hcl-connections-2-0-2-high-cpu-load\/","title":{"rendered":"HCL Connections Docs 2.0.2 High CPU load"},"content":{"rendered":"<p>We noticed on at least 2 environments, that the CPU load was around 100%, Memory usage 100% and Swap used 100%.<br \/>\nPrior to the update, the servers ran happily and did not show any issues.<\/p>\n<p>The process list (htop) showed a lot of \/opt\/libreoffice7.2\/program\/soffice.bin tasks.<br \/>\nSwitching to the process tree view in htop showed some of these tasks inside the Conversion server and some outside. The screenshot shows how I think it should be:<br \/>\n<a href=\"https:\/\/www.ume.li\/blog\/2022\/12\/08\/hcl-connections-2-0-2-high-cpu-load\/selection_557\/\" rel=\"attachment wp-att-886\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-medium wp-image-886\" src=\"https:\/\/www.ume.li\/blog\/wp-content\/uploads\/2022\/12\/Selection_557-300x49.png\" alt=\"\" width=\"300\" height=\"49\" srcset=\"https:\/\/www.ume.li\/blog\/wp-content\/uploads\/2022\/12\/Selection_557-300x49.png 300w, https:\/\/www.ume.li\/blog\/wp-content\/uploads\/2022\/12\/Selection_557-768x125.png 768w, https:\/\/www.ume.li\/blog\/wp-content\/uploads\/2022\/12\/Selection_557.png 989w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>If the command below returns more than 4, you might run into this problem too :<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nps -eo pid,time,args | grep &quot;libreoffice7.2\/program\/soffice.bin&quot; | grep -v grep | wc -l\r\n<\/pre>\n<p>As a workaround I updated the kill_timeout.sh and sym_monitor.sh scripts in Conversion\/symphony\/sym_monitor directory.<\/p>\n<p>The workaround is just replaceing the <em>soffice<\/em> with the path <em>&#8220;symphony2\/program\/soffice.bin&#8221;<\/em> inside all the greps within the kill_timeout.sh and sym_monitor.sh scripts.<\/p>\n<p>example in sym_monitor.sh around line 92:<\/p>\n<p>original:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\npsResult=`ps -eo cmd | grep soffice| grep -v &quot;grep&quot;| tr -s &#039; &#039; |cut -d&quot; &quot; -f 1`\r\n<\/pre>\n<p>updated:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\npsResult=`ps -eo cmd | grep &quot;symphony2\/program\/soffice.bin&quot; | grep -v &quot;grep&quot;| tr -s &#039; &#039; |cut -d&quot; &quot; -f 1`\r\n<\/pre>\n<p>After monitoring our server for 2 days it seems that this workaround may have helped.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We noticed on at least 2 environments, that the CPU load was around 100%, Memory usage 100% and Swap used<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23,80],"tags":[81],"class_list":["post-875","post","type-post","status-publish","format-standard","hentry","category-connections","category-docs","tag-docs-load-cpu-high-files"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/posts\/875","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/comments?post=875"}],"version-history":[{"count":13,"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/posts\/875\/revisions"}],"predecessor-version":[{"id":911,"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/posts\/875\/revisions\/911"}],"wp:attachment":[{"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/media?parent=875"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/categories?post=875"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/tags?post=875"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}