<?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 [Alfresco 5.0.d] 100% CPU usage and Read timed out error in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-5-0-d-100-cpu-usage-and-read-timed-out-error/m-p/141339#M37671</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;in a production environment (Alfresco 5.0.d, SOLR4, 8 Core, 20 GB RAM) suddenly we're experiencing an annoying problem: Cpu usage is costantly 100%. This error appears on catalina.out:&lt;/P&gt;&lt;PRE&gt;java.net.SocketTimeoutException: Read timed out
        at java.net.SocketInputStream.socketRead0(Native Method)
        at java.net.SocketInputStream.read(SocketInputStream.java:150)
        at java.net.SocketInputStream.read(SocketInputStream.java:121)
        at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)
        at sun.security.ssl.InputRecord.read(InputRecord.java:503)
        at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:961)
        at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:918)
        at sun.security.ssl.AppInputStream.read(AppInputStream.java:105)
        at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
        at java.io.BufferedInputStream.read(BufferedInputStream.java:265)
        at org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:78)
        at org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:106)
        at org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1116)
        at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.readLine(MultiThreadedHttpConnectionManager.java:1413)
        at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1973)
        at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1735)
        at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098)
        at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
        at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
        at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
        at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
        at org.alfresco.httpclient.AbstractHttpClient.executeMethod(AbstractHttpClient.java:135)
        at org.alfresco.httpclient.AbstractHttpClient.sendRemoteRequest(AbstractHttpClient.java:111)
        at org.alfresco.httpclient.HttpClientFactory$HttpsClient.sendRequest(HttpClientFactory.java:385)
        at org.alfresco.solr.client.SOLRAPIClient.getTextContent(SOLRAPIClient.java:1024)
        at org.alfresco.solr.SolrInformationServer.addContentPropertyToDocUsingAlfrescoRepository(SolrInformationServer.java:2451)
        at org.alfresco.solr.SolrInformationServer.addContentToDoc(SolrInformationServer.java:2438)
        at org.alfresco.solr.SolrInformationServer.updateContentToIndexAndCache(SolrInformationServer.java:2372)
        at org.alfresco.solr.tracker.ContentTracker$ContentIndexWorkerRunnable.doWork(ContentTracker.java:133)
        at org.alfresco.solr.tracker.AbstractWorkerRunnable.run(AbstractWorkerRunnable.java:40)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)&lt;/PRE&gt;&lt;P&gt;We tried a SOLR reindex&amp;nbsp;but nothing has changed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone help me? Thanks in advance&lt;/P&gt;</description>
    <pubDate>Wed, 01 Dec 2021 11:53:54 GMT</pubDate>
    <dc:creator>jonnypa</dc:creator>
    <dc:date>2021-12-01T11:53:54Z</dc:date>
    <item>
      <title>[Alfresco 5.0.d] 100% CPU usage and Read timed out error</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-5-0-d-100-cpu-usage-and-read-timed-out-error/m-p/141339#M37671</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;in a production environment (Alfresco 5.0.d, SOLR4, 8 Core, 20 GB RAM) suddenly we're experiencing an annoying problem: Cpu usage is costantly 100%. This error appears on catalina.out:&lt;/P&gt;&lt;PRE&gt;java.net.SocketTimeoutException: Read timed out
        at java.net.SocketInputStream.socketRead0(Native Method)
        at java.net.SocketInputStream.read(SocketInputStream.java:150)
        at java.net.SocketInputStream.read(SocketInputStream.java:121)
        at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)
        at sun.security.ssl.InputRecord.read(InputRecord.java:503)
        at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:961)
        at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:918)
        at sun.security.ssl.AppInputStream.read(AppInputStream.java:105)
        at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
        at java.io.BufferedInputStream.read(BufferedInputStream.java:265)
        at org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:78)
        at org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:106)
        at org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1116)
        at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.readLine(MultiThreadedHttpConnectionManager.java:1413)
        at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1973)
        at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1735)
        at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098)
        at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
        at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
        at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
        at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
        at org.alfresco.httpclient.AbstractHttpClient.executeMethod(AbstractHttpClient.java:135)
        at org.alfresco.httpclient.AbstractHttpClient.sendRemoteRequest(AbstractHttpClient.java:111)
        at org.alfresco.httpclient.HttpClientFactory$HttpsClient.sendRequest(HttpClientFactory.java:385)
        at org.alfresco.solr.client.SOLRAPIClient.getTextContent(SOLRAPIClient.java:1024)
        at org.alfresco.solr.SolrInformationServer.addContentPropertyToDocUsingAlfrescoRepository(SolrInformationServer.java:2451)
        at org.alfresco.solr.SolrInformationServer.addContentToDoc(SolrInformationServer.java:2438)
        at org.alfresco.solr.SolrInformationServer.updateContentToIndexAndCache(SolrInformationServer.java:2372)
        at org.alfresco.solr.tracker.ContentTracker$ContentIndexWorkerRunnable.doWork(ContentTracker.java:133)
        at org.alfresco.solr.tracker.AbstractWorkerRunnable.run(AbstractWorkerRunnable.java:40)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)&lt;/PRE&gt;&lt;P&gt;We tried a SOLR reindex&amp;nbsp;but nothing has changed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone help me? Thanks in advance&lt;/P&gt;</description>
      <pubDate>Wed, 01 Dec 2021 11:53:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-5-0-d-100-cpu-usage-and-read-timed-out-error/m-p/141339#M37671</guid>
      <dc:creator>jonnypa</dc:creator>
      <dc:date>2021-12-01T11:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: [Alfresco 5.0.d] 100% CPU usage and Read timed out error</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-5-0-d-100-cpu-usage-and-read-timed-out-error/m-p/141340#M37672</link>
      <description>&lt;P&gt;You need to identify the service that is consuming that CPU. Using some &lt;A href="https://www.baeldung.com/java-profilers" target="_blank" rel="noopener nofollow noreferrer"&gt;profiling tool&lt;/A&gt; could help for this purpose.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Dec 2021 14:44:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-5-0-d-100-cpu-usage-and-read-timed-out-error/m-p/141340#M37672</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2021-12-01T14:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: [Alfresco 5.0.d] 100% CPU usage and Read timed out error</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-5-0-d-100-cpu-usage-and-read-timed-out-error/m-p/141341#M37673</link>
      <description>&lt;P&gt;Hi, thank for this hint, using jvmtop (my envorinment is a Centos 7 Server, without GUI) this is the output:&lt;/P&gt;&lt;PRE&gt;  99.95% (     1.70s) ....alfresco.repo.content.transform.TikaPoweredContentTr()
   0.02% (     0.00s) org.alfresco.httpclient.AbstractHttpClient.executeMethod()
   0.01% (     0.00s) com.mysql.jdbc.Messages.getString()
   0.01% (     0.00s) com.mysql.jdbc.MysqlIO.readPacket()
   0.01% (     0.00s) com.mysql.jdbc.util.ReadAheadInputStream.fill()
   0.01% (     0.00s) ....mysql.jdbc.ConnectionPropertiesImpl.exposeAsProperti()
   0.00% (     0.00s) ....alfresco.repo.transaction.TransactionServiceImpl.get()
   0.00% (     0.00s) ....mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnect()
   0.00% (     0.00s) org.alfresco.jlan.netbios.server.NetBIOSNameServer.run()
   0.00% (     0.00s) org.alfresco.jlan.netbios.NetBIOSSession.DecodeName()
   0.00% (     0.00s) ....alfresco.util.exec.RuntimeExec$InputStreamReaderThre()
   0.00% (     0.00s) ....alfresco.jlan.smb.server.nio.NIOCifsConnectionsHandl()
   0.00% (     0.00s) org.mortbay.jetty.bio.SocketConnector.accept()&lt;/PRE&gt;&lt;P&gt;so &lt;STRONG&gt;alfresco.repo.content.transform.TikaPoweredContentTr()&amp;nbsp;&lt;/STRONG&gt;is consuming all resources. Why?&lt;/P&gt;</description>
      <pubDate>Wed, 01 Dec 2021 16:01:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-5-0-d-100-cpu-usage-and-read-timed-out-error/m-p/141341#M37673</guid>
      <dc:creator>jonnypa</dc:creator>
      <dc:date>2021-12-01T16:01:04Z</dc:date>
    </item>
    <item>
      <title>Re: [Alfresco 5.0.d] 100% CPU usage and Read timed out error</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-5-0-d-100-cpu-usage-and-read-timed-out-error/m-p/141342#M37674</link>
      <description>&lt;P&gt;The problems seems related to PDF Transformation.&lt;/P&gt;
&lt;P&gt;Not sure if that is the same issue, but I created some patch for something similar in:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/keensoft/alf-21970-repo" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/keensoft/alf-21970-repo&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Dec 2021 08:17:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-5-0-d-100-cpu-usage-and-read-timed-out-error/m-p/141342#M37674</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2021-12-02T08:17:27Z</dc:date>
    </item>
    <item>
      <title>Re: [Alfresco 5.0.d] 100% CPU usage and Read timed out error</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-5-0-d-100-cpu-usage-and-read-timed-out-error/m-p/141343#M37675</link>
      <description>&lt;P&gt;Thank you for your reply.&amp;nbsp;I can confirm that the problems were related to PDF Transformation.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Following your suggestions regarding java process monitoring and &lt;A href="https://hub.alfresco.com/t5/alfresco-content-services-forum/transformation-triggers-huge-cpu-load/m-p/296226/highlight/true#M17800" target="_self" rel="nofollow noopener noreferrer"&gt;this&lt;/A&gt;&amp;nbsp;issue, I've enabled DEBUG logging for &lt;STRONG&gt;&lt;EM&gt;a&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;lfresco.repo.content.transform.TransformerDebug&lt;/EM&gt;&lt;/STRONG&gt; and I found some documents with transformation issues.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Deleting these documents and restarting Alfresco, all CPU values&amp;nbsp;​​are back to normal.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Dec 2021 10:05:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-5-0-d-100-cpu-usage-and-read-timed-out-error/m-p/141343#M37675</guid>
      <dc:creator>jonnypa</dc:creator>
      <dc:date>2021-12-02T10:05:53Z</dc:date>
    </item>
  </channel>
</rss>

