<?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 Re: Alfresco crashing during working hours in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-crashing-during-working-hours/m-p/284917#M238047</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;One more update. I was checking load with htop and noticed, that some threads takes high CPU for long time. For example in the screenshot there is 5 running threads. Each of them were running for at least 1 minute at about 80% CPU utilization. Some of them (for example 22240, 22282) were running for longer - 5 minutes and more and is now still running while I am writing this post.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to dig deeper and understand why those threads are taking so long and what functions are users using? Myself I can not trigger a thread while using system which would have this CPU utilization and would take so long.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[img=640x480]&lt;/SPAN&gt;&lt;A href="https://cdn-forums.alfresco.com/sites/forums/files/htop2.png" rel="nofollow noopener noreferrer"&gt;https://cdn-forums.alfresco.com/sites/forums/files/htop2.png&lt;/A&gt;&lt;SPAN&gt;[/img]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Feb 2016 13:41:28 GMT</pubDate>
    <dc:creator>hostman</dc:creator>
    <dc:date>2016-02-23T13:41:28Z</dc:date>
    <item>
      <title>Alfresco crashing during working hours</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-crashing-during-working-hours/m-p/284909#M238039</link>
      <description>So, we are now experiencing this problem - Alfresco is very slow during working hours and finally crashes. Our setup is following:Virtual server for applications (alfresco and share): 4 x 2.40 GHz, 9.5 GB RAM;Database server: 4 x 2.40 GHz, 5GB RAM;OS: Centos 6;Alfresco version: Alfresco 4.2.e + Alve</description>
      <pubDate>Tue, 16 Feb 2016 00:01:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-crashing-during-working-hours/m-p/284909#M238039</guid>
      <dc:creator>hostman</dc:creator>
      <dc:date>2016-02-16T00:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco crashing during working hours</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-crashing-during-working-hours/m-p/284910#M238040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You may want to take a look at the very good blogpost - &lt;/SPAN&gt;&lt;A href="http://blyx.com/2015/02/05/alfresco-tuning-shortlist/" rel="nofollow noopener noreferrer"&gt;http://blyx.com/2015/02/05/alfresco-tuning-shortlist/&lt;/A&gt;&lt;SPAN&gt; which may give you some direction to proceed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2016 06:03:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-crashing-during-working-hours/m-p/284910#M238040</guid>
      <dc:creator>romschn</dc:creator>
      <dc:date>2016-02-16T06:03:19Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco crashing during working hours</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-crashing-during-working-hours/m-p/284911#M238041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;And if you are using alfresco enterprise,&amp;nbsp; then I suggest you call alfresco support.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2016 09:23:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-crashing-during-working-hours/m-p/284911#M238041</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2016-02-16T09:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco crashing during working hours</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-crashing-during-working-hours/m-p/284912#M238042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for the link. We have already tried most of the stuff mentioned in the link, but there is some new things at the end of the article. Hope those will help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2016 11:03:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-crashing-during-working-hours/m-p/284912#M238042</guid>
      <dc:creator>hostman</dc:creator>
      <dc:date>2016-02-16T11:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco crashing during working hours</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-crashing-during-working-hours/m-p/284913#M238043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We are using Alfresco Community version.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2016 11:03:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-crashing-during-working-hours/m-p/284913#M238043</guid>
      <dc:creator>hostman</dc:creator>
      <dc:date>2016-02-16T11:03:58Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco crashing during working hours</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-crashing-during-working-hours/m-p/284914#M238044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you are familiar with htop run that and it will give you a break down of what loads you are running on your CPU's and what process is running.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2016 21:40:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-crashing-during-working-hours/m-p/284914#M238044</guid>
      <dc:creator>eswbitto</dc:creator>
      <dc:date>2016-02-17T21:40:01Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco crashing during working hours</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-crashing-during-working-hours/m-p/284915#M238045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We have installed htop and checked the data. Looks like there are ~180 threads running. Most of them (~90%) are /opt/alfresco/java/bin/java. They are using ~0 or 1 % of CPU. Every couple seconds some (1, 2, 3, 4 or more) of /opt/alfresco/java/bin/java threads starts using (10% - 60%) of CPU core. So if there is more threads, eventually it reaches 400% CPU and then we are having too high load average.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2016 12:19:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-crashing-during-working-hours/m-p/284915#M238045</guid>
      <dc:creator>hostman</dc:creator>
      <dc:date>2016-02-23T12:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco crashing during working hours</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-crashing-during-working-hours/m-p/284916#M238046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I also attach htop data exactly at the moment of admin user loading the homepage. Before and after, CPU load was ~5%.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[img=640x480]&lt;/SPAN&gt;&lt;A href="https://cdn-forums.alfresco.com/sites/forums/files/htop.png" rel="nofollow noopener noreferrer"&gt;https://cdn-forums.alfresco.com/sites/forums/files/htop.png&lt;/A&gt;&lt;SPAN&gt;[/img]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2016 12:27:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-crashing-during-working-hours/m-p/284916#M238046</guid>
      <dc:creator>hostman</dc:creator>
      <dc:date>2016-02-23T12:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco crashing during working hours</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-crashing-during-working-hours/m-p/284917#M238047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;One more update. I was checking load with htop and noticed, that some threads takes high CPU for long time. For example in the screenshot there is 5 running threads. Each of them were running for at least 1 minute at about 80% CPU utilization. Some of them (for example 22240, 22282) were running for longer - 5 minutes and more and is now still running while I am writing this post.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to dig deeper and understand why those threads are taking so long and what functions are users using? Myself I can not trigger a thread while using system which would have this CPU utilization and would take so long.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[img=640x480]&lt;/SPAN&gt;&lt;A href="https://cdn-forums.alfresco.com/sites/forums/files/htop2.png" rel="nofollow noopener noreferrer"&gt;https://cdn-forums.alfresco.com/sites/forums/files/htop2.png&lt;/A&gt;&lt;SPAN&gt;[/img]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2016 13:41:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-crashing-during-working-hours/m-p/284917#M238047</guid>
      <dc:creator>hostman</dc:creator>
      <dc:date>2016-02-23T13:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco crashing during working hours</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-crashing-during-working-hours/m-p/284918#M238048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Could you give the steps of tuning your JVM?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You should be modifying these files.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/alfrescoinstall/tomcat/bin/setenv.sh&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/alfrescoinstall/tomcat/scripts/ctl.sh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2016 17:15:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-crashing-during-working-hours/m-p/284918#M238048</guid>
      <dc:creator>eswbitto</dc:creator>
      <dc:date>2016-02-23T17:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco crashing during working hours</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-crashing-during-working-hours/m-p/284919#M238049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have been playing with parameters in ctl.sh for ages. None of the customizations gives good results. My /alfrescoinstall/tomcat/scripts/ctl.sh at the moment has:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;…&lt;BR /&gt;export JAVA_OPTS="-XX:MaxPermSize=256m -Xss1024K -Xms7G -Xmx7G -XX:+DisableExplicitGC -Dcom.sun.management.jmxremote -Djava.awt.headless=true -Dalfresco.home=/opt/alfresco -Dcom.sun.management.jmxremote -Dsun.security.ssl.allowUnsafeRenegotiation=true -server"&lt;BR /&gt;…&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&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 didn't change anything in /alfrescoinstall/tomcat/bin/setenv.sh and it has:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;JAVA_HOME=/opt/alfresco/java&lt;BR /&gt;JRE_HOME=/opt/alfresco/java&lt;BR /&gt;JAVA_OPTS="$JAVA_OPTS "&lt;BR /&gt;export JAVA_HOME&lt;BR /&gt;export JRE_HOME&lt;BR /&gt;export JAVA_OPTS&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 08:21:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-crashing-during-working-hours/m-p/284919#M238049</guid>
      <dc:creator>hostman</dc:creator>
      <dc:date>2016-02-24T08:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco crashing during working hours</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-crashing-during-working-hours/m-p/284920#M238050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Try putting your parameter here too and then restart alfresco completely. Any java changes (or anything for that matter) require a restart of the service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;JAVA_HOME=/opt/alfrescoinstall/java&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;JRE_HOME=$JAVA_HOME&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;JAVA_OPTS="-XX:-DisableExplicitGC -XX:ReservedCodeCacheSize=128m $JAVA_OPTS "&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;JAVA_OPTS="-XX:MaxPermSize=256M -Xms128M -Xmx4096M $JAVA_OPTS " # java-memory-settings&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;export JAVA_HOME&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;export JRE_HOME&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;export JAVA_OPTS&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 16:43:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-crashing-during-working-hours/m-p/284920#M238050</guid>
      <dc:creator>eswbitto</dc:creator>
      <dc:date>2016-02-24T16:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco crashing during working hours</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-crashing-during-working-hours/m-p/284921#M238051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It seems you are using Alvex Enterprise.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm presuming this based on the log messages.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Why don't you try to contact them?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The error seems to be related with a header extension.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I couldn't find anything odd by looking at the community version's source though.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 02:42:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-crashing-during-working-hours/m-p/284921#M238051</guid>
      <dc:creator>douglascrp</dc:creator>
      <dc:date>2016-03-16T02:42:40Z</dc:date>
    </item>
  </channel>
</rss>

