<?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 Max number of threads for webscript in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/max-number-of-threads-for-webscript/m-p/310404#M263534</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is there a maximum number of threads that Alfresco will spawn for webscript execution? We are running load tests against a custom web application that is calling our REST webscript every 5 seconds. For 100 requests, only about 60 completed correctly. We saw a maximum of 28 of our requests being handled at one time.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Apr 2015 18:10:24 GMT</pubDate>
    <dc:creator>dswenson</dc:creator>
    <dc:date>2015-04-28T18:10:24Z</dc:date>
    <item>
      <title>Max number of threads for webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/max-number-of-threads-for-webscript/m-p/310404#M263534</link>
      <description>Is there a maximum number of threads that Alfresco will spawn for webscript execution? We are running load tests against a custom web application that is calling our REST webscript every 5 seconds. For 100 requests, only about 60 completed correctly. We saw a maximum of 28 of our requests being hand</description>
      <pubDate>Tue, 28 Apr 2015 18:10:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/max-number-of-threads-for-webscript/m-p/310404#M263534</guid>
      <dc:creator>dswenson</dc:creator>
      <dc:date>2015-04-28T18:10:24Z</dc:date>
    </item>
    <item>
      <title>Re: Max number of threads for webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/max-number-of-threads-for-webscript/m-p/310405#M263535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes there will be maximum numbers.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; And alfresco may need tuning upwards for your load.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; No script should fail so that needs investigating.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2015 21:09:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/max-number-of-threads-for-webscript/m-p/310405#M263535</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2015-04-28T21:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: Max number of threads for webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/max-number-of-threads-for-webscript/m-p/310406#M263536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What specific properties should be adjusted to increase the maximum number? From glancing at the &amp;lt;a href="&lt;/SPAN&gt;&lt;A href="https://wiki.alfresco.com/wiki/ASR_Performance_Optimization" rel="nofollow noopener noreferrer"&gt;https://wiki.alfresco.com/wiki/ASR_Performance_Optimization&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;ASV Performance Optimization page&amp;lt;/a&amp;gt;, I can increase the number of database connections and increase the tomcat's thread pool. I also noticed a maxPoolSize for async actions in the repository.properties file, but I don't think that applies to my situation as the webscript is not being run asynchronously. Are any of these settings relevant? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As for the script failing, I apologize for not being clearer. I don't believe that it is failing. Instead, it seems that the expected execution of the code never occurs, as if Alfresco says "I have too many things going on right now, I don't have the resources to run you", which is what led us to thinking it might by thread related.&amp;nbsp; &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2015 16:34:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/max-number-of-threads-for-webscript/m-p/310406#M263536</guid>
      <dc:creator>dswenson</dc:creator>
      <dc:date>2015-04-29T16:34:02Z</dc:date>
    </item>
  </channel>
</rss>

