<?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 startup takes more than 30 min. in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-startup-takes-more-than-30-min/m-p/301384#M254514</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;it looks like schema validation and any operations that occur between schema validation and start of sysadmin subsystem are already costing you around 14 - 16 minutes alone.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;These three log statements are interesting:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;05:02:18,359 INFO [domain.schema.SchemaBootstrap] Schema managed by database dialect org.alfresco.repo.domain.hibernate.dialect.AlfrescoOracle9Dialect.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;05:11:19,838 INFO [domain.schema.SchemaBootstrap] No changes were made to the schema.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;05:18:27,012 INFO [management.subsystems.ChildApplicationContextFactory] Starting 'sysAdmin' subsystem, ID: [sysAdmin, default]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One thing you can try for starters is to disable schema validation. This is typically only required for upgrade scenarios and not that relevant in the day-to-day operation. Also, I know from personal experience that Oracle can be slow when retrieving database metadata from a shared service (did not figure out why precisely) / larger database server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Depending on how much that drops your startup time, I suggest you go ahead and add some SQL profiling / logging to your Alfresco system to see what Alfresco is talking with the database. Even if the database is fast, there may be an issue where Alfresco is talking "a lot" with the database which can slow things down depending on network overhead.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SQL logging can be added via P6Spy or other JDBC logging facades, if it is not possible to log / monitor on the DB server side.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One customer of ours once encountered a bug in Alfresco which would created thousands of unnecessary transactions due to bad scoping, which only hurt the customer due to a "larger than normal" network roundtrip time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Sep 2015 08:30:56 GMT</pubDate>
    <dc:creator>afaust</dc:creator>
    <dc:date>2015-09-08T08:30:56Z</dc:date>
    <item>
      <title>Alfresco startup takes more than 30 min.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-startup-takes-more-than-30-min/m-p/301383#M254513</link>
      <description>Hi,I'm begginer in Alfresco. Lately our client ask us about Alfresco startup time reduction which takes more than 30 minutes.Alfresco is&amp;nbsp; setup on one phisicall machine in number of two instances(Version :Community - v3.4.0 (d 3370)). Logs from startup shows that there is in total 22 minutes gap bee</description>
      <pubDate>Tue, 08 Sep 2015 07:58:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-startup-takes-more-than-30-min/m-p/301383#M254513</guid>
      <dc:creator>martinsmith</dc:creator>
      <dc:date>2015-09-08T07:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco startup takes more than 30 min.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-startup-takes-more-than-30-min/m-p/301384#M254514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;it looks like schema validation and any operations that occur between schema validation and start of sysadmin subsystem are already costing you around 14 - 16 minutes alone.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;These three log statements are interesting:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;05:02:18,359 INFO [domain.schema.SchemaBootstrap] Schema managed by database dialect org.alfresco.repo.domain.hibernate.dialect.AlfrescoOracle9Dialect.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;05:11:19,838 INFO [domain.schema.SchemaBootstrap] No changes were made to the schema.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;05:18:27,012 INFO [management.subsystems.ChildApplicationContextFactory] Starting 'sysAdmin' subsystem, ID: [sysAdmin, default]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One thing you can try for starters is to disable schema validation. This is typically only required for upgrade scenarios and not that relevant in the day-to-day operation. Also, I know from personal experience that Oracle can be slow when retrieving database metadata from a shared service (did not figure out why precisely) / larger database server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Depending on how much that drops your startup time, I suggest you go ahead and add some SQL profiling / logging to your Alfresco system to see what Alfresco is talking with the database. Even if the database is fast, there may be an issue where Alfresco is talking "a lot" with the database which can slow things down depending on network overhead.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SQL logging can be added via P6Spy or other JDBC logging facades, if it is not possible to log / monitor on the DB server side.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One customer of ours once encountered a bug in Alfresco which would created thousands of unnecessary transactions due to bad scoping, which only hurt the customer due to a "larger than normal" network roundtrip time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2015 08:30:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-startup-takes-more-than-30-min/m-p/301384#M254514</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2015-09-08T08:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco startup takes more than 30 min.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-startup-takes-more-than-30-min/m-p/301385#M254515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi there,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have same problem - alfresco is ready to work after 48min!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have no idea how to speed up this process &lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://connect.hyland.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How exactly I can disable schema validation? I was going through alfresco-global.properties configuration file but no clue there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2016 09:29:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-startup-takes-more-than-30-min/m-p/301385#M254515</guid>
      <dc:creator>andrewjones</dc:creator>
      <dc:date>2016-02-10T09:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco startup takes more than 30 min.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-startup-takes-more-than-30-min/m-p/301386#M254516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi there,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have same problem - alfresco is ready to work after 48min!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have no idea how to speed up this process &lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://connect.hyland.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How exactly I can disable schema validation? I was going through alfresco-global.properties configuration file but no clue there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;—&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A.J.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2016 09:41:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-startup-takes-more-than-30-min/m-p/301386#M254516</guid>
      <dc:creator>andrewjones</dc:creator>
      <dc:date>2016-02-10T09:41:32Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco startup takes more than 30 min.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-startup-takes-more-than-30-min/m-p/301387#M254517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;See the documentation about &amp;lt;a href="&lt;/SPAN&gt;&lt;A href="http://docs.alfresco.com/4.2/concepts/maincomponents-disable.html" rel="nofollow noopener noreferrer"&gt;http://docs.alfresco.com/4.2/concepts/maincomponents-disable.html&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;disabling Alfresco features&amp;lt;/a&amp;gt;. Schema validation is part of the schema update feature.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2016 17:02:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-startup-takes-more-than-30-min/m-p/301387#M254517</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2016-02-10T17:02:27Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco startup takes more than 30 min.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-startup-takes-more-than-30-min/m-p/301388#M254518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Axel,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks for fast answer. Just to be 100% sure is it db.schema.update=false? In documentation there is info: " Specifies whether the system bootstrap should create or upgrade the database schema automatically." - I'm not quite sure is it about schema validation?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2016 09:04:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-startup-takes-more-than-30-min/m-p/301388#M254518</guid>
      <dc:creator>andrewjones</dc:creator>
      <dc:date>2016-02-11T09:04:56Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco startup takes more than 30 min.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-startup-takes-more-than-30-min/m-p/301389#M254519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No that is not schema validation, as far as I can see there is no property to control schema validation.&amp;nbsp;&amp;nbsp; However schema validation does run after an upgrade so turning off upgrade also turns off the validation after the upgrade.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However you shouldn't be upgrading every time you start alfresco,&amp;nbsp; that's an abnormal condition.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you sure you are seeing exactly the same problem as the OP?&amp;nbsp;&amp;nbsp; With an old version of alfresco and the same community oracle plug in?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alfresco startup typically takes a couple of minutes. It can take longer on first start up and during an upgrade when patches are running.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It can also take a long time rebuilding the lucene indexes if an inconsistency is detected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anything else is unexpected.&amp;nbsp;&amp;nbsp; It can for example take far longer if you are trying to run alfresco with too little memory or if there are network connectivity issues.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2016 14:03:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-startup-takes-more-than-30-min/m-p/301389#M254519</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2016-02-11T14:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco startup takes more than 30 min.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-startup-takes-more-than-30-min/m-p/301390#M254520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, Thanks for participation in this conversation. I have same issue as OP but in my case startup takes up to 45-50 minutes. I have no Idea what's the cause. I don't know if the data from NAGIOS client&amp;nbsp; would be helpful - i.e. if I provide You info about moments when respective indicators are set on green (OK) status along with the repository logs?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2016 07:47:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-startup-takes-more-than-30-min/m-p/301390#M254520</guid>
      <dc:creator>andrewjones</dc:creator>
      <dc:date>2016-02-16T07:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco startup takes more than 30 min.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-startup-takes-more-than-30-min/m-p/301391#M254521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the most useful items for analyzing long startup times are the alfresco.log and any SQL profiling data you can gather. It is important to identify which parts of the startup are taking what percentages of the total time. I.e. there are also some features of Alfresco that pro-actively traverse / cache data structures that may delay startup due to sheer amount of data to process (and potentially cold DB caches), such as IMAP server functionality which as far as I remember caches the folder structure.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't believe Nagios will provide much interesting data apart from CPU / memory / network utilisation which might indicate resource bottlenecks in your configuration. But simply when what status changes to green should be too abstract for any meaningful analysis.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2016 08:27:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-startup-takes-more-than-30-min/m-p/301391#M254521</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2016-02-16T08:27:55Z</dc:date>
    </item>
  </channel>
</rss>

