<?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 Engine Container High Throughput in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-engine-container-high-throughput/m-p/130171#M35198</link>
    <description>&lt;P&gt;Hi Marco&lt;BR /&gt;&lt;BR /&gt;Did you solve this issue.&lt;/P&gt;&lt;P&gt;We appear to be battling the same issue.&lt;/P&gt;&lt;P&gt;We have random spikes in CPU which lock up the whole server and requiring a restart.&lt;/P&gt;&lt;P&gt;Similarly, plenty of server power, dockerised Alfresco.&lt;/P&gt;&lt;P&gt;alfresco-content-repository-community:23.1.0&lt;/P&gt;&lt;P&gt;alfresco-transform-core-aio:5.0.1&lt;/P&gt;&lt;P&gt;alfresco-share:23.1.1&lt;/P&gt;&lt;P&gt;alfresco-content-app:4.3.0&lt;/P&gt;&lt;P&gt;alfresco-search-services:2.0.8.2&lt;/P&gt;&lt;P&gt;alfresco-activemq:5.18-jre17-rockylinux8&lt;/P&gt;&lt;P&gt;alfresco-control-center:8.3.0&lt;/P&gt;&lt;P&gt;Running Postgres 16 undockerised on the host.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marc&lt;/P&gt;</description>
    <pubDate>Tue, 13 Feb 2024 19:30:48 GMT</pubDate>
    <dc:creator>gait</dc:creator>
    <dc:date>2024-02-13T19:30:48Z</dc:date>
    <item>
      <title>Alfresco Engine Container High Throughput</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-engine-container-high-throughput/m-p/130170#M35197</link>
      <description>&lt;P&gt;Hello everybody.&lt;/P&gt;&lt;P&gt;Today I use Alfresco through the docker-compose.yml architecture in the following versions:&lt;/P&gt;&lt;H1&gt;Docker Image versions&lt;/H1&gt;&lt;P&gt;ALFRESCO_CE_TAG=7.2.0&lt;BR /&gt;SEARCH_CE_TAG=2.0.3&lt;BR /&gt;SHARE_TAG=7.2.0&lt;BR /&gt;ACA_TAG=2.9.0&lt;BR /&gt;TRANSFORM_ENGINE_TAG=2.5.7&lt;BR /&gt;ACTIVEMQ_TAG=5.16.1&lt;/P&gt;&lt;P&gt;And with Postgresql version 13.3 on another server configuration with db_pool_max at 300 in docker-compose.yml and in the Postgres server's postgresql.conf at 400.&lt;BR /&gt;The Alfresco Server is Ubuntu 22.04 with 98 GB RAM and 24 cores, while the Postgres server is also Ubuntu 22.04 with 26 GB RAM and 16 cores.&lt;/P&gt;&lt;P&gt;During a few times a day (sporadically) the alfresco container reaches 1600% CPU processing (through docker stats). The alfresco container's memory configuration in docker-compose.yml is 68 GB and even so it reaches these high CPU processing numbers.&lt;/P&gt;&lt;P&gt;At these moments, Postgresql begins to generate time outs in active processes running and thus the entire environment needs to be rebooted (Postgresql and Alfresco).&lt;/P&gt;&lt;P&gt;We have already advised development teams to no longer use CMIS and only REST API to send, search, update and delete nodes in Alfresco. There are thousands of GET/PUT requests that are received by Alfresco. All applications use only 1 user to connect to Alfresco.&lt;/P&gt;&lt;P&gt;In Postgresql we monitor in particular a query that executes as follows:&lt;/P&gt;&lt;P&gt;select&lt;BR /&gt;assoc.id as id,&lt;BR /&gt;parentNode.id as parentNodeId,&lt;BR /&gt;parentNode.version as parentNodeVersion,&lt;BR /&gt;parentStore.protocol as parentNodeProtocol,&lt;BR /&gt;parentStore.identifier as parentNodeIdentifier,&lt;BR /&gt;parentNode.uuid as parentNodeUuid,&lt;BR /&gt;childNode.id as childNodeId,&lt;BR /&gt;childNode.version as childNodeVersion,&lt;BR /&gt;childStore.protocol as childNodeProtocol,&lt;BR /&gt;childStore.identifier as childNodeIdentifier,&lt;BR /&gt;childNode.uuid as childNodeUuid,&lt;BR /&gt;assoc.type_qname_id as type_qname_id,&lt;BR /&gt;assoc.child_node_name_crc as child_node_name_crc,&lt;BR /&gt;assoc.child_node_name as child_node_name,&lt;BR /&gt;assoc.qname_ns_id as qname_ns_id,&lt;BR /&gt;assoc.qname_localname as qname_localname,&lt;BR /&gt;assoc.is_primary as is_primary,&lt;BR /&gt;assoc.assoc_index as assoc_index&lt;BR /&gt;from&lt;BR /&gt;alf_child_assoc assoc&lt;BR /&gt;join alf_node parentNode on (parentNode.id = assoc.parent_node_id)&lt;BR /&gt;join alf_store parentStore on (parentStore.id = parentNode.store_id)&lt;BR /&gt;join alf_node childNode on (childNode.id = assoc.child_node_id)&lt;BR /&gt;left join alf_store childStore on (childStore.id = childNode.store_id)&lt;BR /&gt;where&lt;BR /&gt;parentNode.id = 988&lt;/P&gt;&lt;P&gt;All processes in Postgresql basically run this query and it returns thousands of documents at a time (sometimes millions). This query gets stuck running for a long time in Postgresql with many deadlocks and when the processes start to turn red it shows an error:&lt;BR /&gt;ERROR: relation "alf_bootstrap_lock" does not exist at character 15&lt;/P&gt;&lt;P&gt;Has anyone come across this type of scenario? If you need more data, I will provide it without any problems.&lt;/P&gt;&lt;P data-unlink="true"&gt;There are a ticket wiht #1018 in this link github.com/Alfresco/acs-deployment/issues/1018&amp;nbsp; that CHUNT answer about put the ticket here.&lt;/P&gt;&lt;P data-unlink="true"&gt;I would like to add that the query above, we discovered using APM Search to monitor what it is triggered by Solr (by API Solr / GET), could anyone help me with this? Or give me some direction?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 25 Sep 2023 12:48:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-engine-container-high-throughput/m-p/130170#M35197</guid>
      <dc:creator>marcog</dc:creator>
      <dc:date>2023-09-25T12:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco Engine Container High Throughput</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-engine-container-high-throughput/m-p/130171#M35198</link>
      <description>&lt;P&gt;Hi Marco&lt;BR /&gt;&lt;BR /&gt;Did you solve this issue.&lt;/P&gt;&lt;P&gt;We appear to be battling the same issue.&lt;/P&gt;&lt;P&gt;We have random spikes in CPU which lock up the whole server and requiring a restart.&lt;/P&gt;&lt;P&gt;Similarly, plenty of server power, dockerised Alfresco.&lt;/P&gt;&lt;P&gt;alfresco-content-repository-community:23.1.0&lt;/P&gt;&lt;P&gt;alfresco-transform-core-aio:5.0.1&lt;/P&gt;&lt;P&gt;alfresco-share:23.1.1&lt;/P&gt;&lt;P&gt;alfresco-content-app:4.3.0&lt;/P&gt;&lt;P&gt;alfresco-search-services:2.0.8.2&lt;/P&gt;&lt;P&gt;alfresco-activemq:5.18-jre17-rockylinux8&lt;/P&gt;&lt;P&gt;alfresco-control-center:8.3.0&lt;/P&gt;&lt;P&gt;Running Postgres 16 undockerised on the host.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marc&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 19:30:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-engine-container-high-throughput/m-p/130171#M35198</guid>
      <dc:creator>gait</dc:creator>
      <dc:date>2024-02-13T19:30:48Z</dc:date>
    </item>
  </channel>
</rss>

