<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic .soffice.bin/soffice.bin is using 100% CPU in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/soffice-bin-soffice-bin-is-using-100-cpu/m-p/284508#M237638</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm sure it's an old topic, but it's still happened to me at Alfresco 5.0.a - Ubuntu 14.04.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;At the same time I could fix the problem and know exactly what process made the CPU spike near 100%.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There are 2 solutions to solve this problem:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. As explained on [1] by add stop-start script on rc.local file. This is only affects when the system (OS) restarted or start up.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. By restarting libreoffice service while Alfresco runs. We run command: ./alfresco.sh restart libreoffice&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;By performing 2 commands above the CPU will not high consumes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem was when we restart Alfresco completely, (./alfresco.sh restart) the CPU will spike near 100%.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I monitoring what is actually script or process made this CPU spike.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I found when CPU is normal, there is only 1 (one) soffice process, as shown below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2739&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp; 0 11:00 pts/0&amp;nbsp;&amp;nbsp;&amp;nbsp; 00:00:00 /kmapp/alfresco/libreoffice/program/.soffice.bin –nofirststartwizard –nologo –headless –accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then, the CPU will raise higher when there is a second soffice after the first process (above):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6117&amp;nbsp; 5977 54 12:58 pts/0&amp;nbsp;&amp;nbsp;&amp;nbsp; 00:00:04 /kmapp/alfresco/libreoffice/program/.soffice.bin –accept=socket,host=127.0.0.1,port=8100;urp;StarOffice.ServiceManager -env:UserInstallation=file:///kmapp/alfresco/alf_data/oouser –headless –nocrashreport –nofirststartwizard –nologo –norestore&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anybody know who or what script triggered that second soffice execution?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Or maybe someone has information about this issue (bugs?).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[bayu]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[1] &lt;/SPAN&gt;&lt;A href="http://forums.alfresco.com/forum/installation-upgrades-configuration-integration/installation-upgrades/sofficebin-using-100-cpu" rel="nofollow noopener noreferrer"&gt;http://forums.alfresco.com/forum/installation-upgrades-configuration-integration/installation-upgrades/sofficebin-using-100-cpu&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Jul 2014 06:23:43 GMT</pubDate>
    <dc:creator>billydekid</dc:creator>
    <dc:date>2014-07-09T06:23:43Z</dc:date>
    <item>
      <title>.soffice.bin/soffice.bin is using 100% CPU</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/soffice-bin-soffice-bin-is-using-100-cpu/m-p/284508#M237638</link>
      <description>Hi,I'm sure it's an old topic, but it's still happened to me at Alfresco 5.0.a - Ubuntu 14.04.At the same time I could fix the problem and know exactly what process made the CPU spike near 100%.There are 2 solutions to solve this problem:1. As explained on [1] by add stop-start script on rc.local fi</description>
      <pubDate>Wed, 09 Jul 2014 06:23:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/soffice-bin-soffice-bin-is-using-100-cpu/m-p/284508#M237638</guid>
      <dc:creator>billydekid</dc:creator>
      <dc:date>2014-07-09T06:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: .soffice.bin/soffice.bin is using 100% CPU</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/soffice-bin-soffice-bin-is-using-100-cpu/m-p/284509#M237639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey, I'm not sure if you still have this issue but I found a workaround, and posted it to in this thread:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://forums.alfresco.com/comment/146438#comment-146438" rel="nofollow noopener noreferrer"&gt;https://forums.alfresco.com/comment/146438#comment-146438&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2015 10:22:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/soffice-bin-soffice-bin-is-using-100-cpu/m-p/284509#M237639</guid>
      <dc:creator>mnbrecher</dc:creator>
      <dc:date>2015-04-29T10:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: .soffice.bin/soffice.bin is using 100% CPU</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/soffice-bin-soffice-bin-is-using-100-cpu/m-p/284510#M237640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I never got a response as to why this happens, but it occurs in other Libreoffice instances, outside of Alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A solution for you would be to have a AlfrescoRestart script that runs the two consecutively. Something like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;./alfresco.sh restart&lt;BR /&gt;./alfresco.sh restart libreoffice &lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a fully scripted, daily, tar backup, and I call both every-time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2015 10:29:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/soffice-bin-soffice-bin-is-using-100-cpu/m-p/284510#M237640</guid>
      <dc:creator>mnbrecher</dc:creator>
      <dc:date>2015-04-29T10:29:55Z</dc:date>
    </item>
  </channel>
</rss>

