<?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: Nuxeo 6 - nx_update_read_acls never ending process and High CPU usage. NX freezes in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-6-nx-update-read-acls-never-ending-process-and-high-cpu/m-p/327681#M14682</link>
    <description>&lt;P&gt;Solved here: &lt;A href="http://answers.nuxeo.com/questions/11081/how-to-modify-nx_update_read_acls-permanently" target="test_blank"&gt;http://answers.nuxeo.com/questions/11081/how-to-modify-nx_update_read_acls-permanently&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Feb 2015 17:17:31 GMT</pubDate>
    <dc:creator>gsc_</dc:creator>
    <dc:date>2015-02-04T17:17:31Z</dc:date>
    <item>
      <title>Nuxeo 6 - nx_update_read_acls never ending process and High CPU usage. NX freezes</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-6-nx-update-read-acls-never-ending-process-and-high-cpu/m-p/327680#M14681</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;When we add new user rights to a folder Nuxeo freezes for 20 minutes and there is High CPU Usange for 20-30 minutes. Deadlock.&lt;/P&gt;
&lt;P&gt;Last SQL sentences:
[org.nuxeo.ecm.core.storage.sql.jdbc.JDBCLogger] (7) SQL: INSERT INTO [acls] ([id], [pos], [name], [grant], [permission], [user], [group]) VALUES ('59753f95-7196-4235-aa0e-5ca55e7ba6ea', 3, 'local', false, 'Everything', 'Everyone', NULL) -- BATCHED
2015-01-15 16:25:20,654 DEBUG [http-bio-0.0.0.0-8080-exec-80] [org.nuxeo.ecm.core.storage.sql.jdbc.JDBCMapper] updateReadAcls: updating
2015-01-15 16:25:20,654 TRACE [http-bio-0.0.0.0-8080-exec-80] [org.nuxeo.ecm.core.storage.sql.jdbc.JDBCLogger] (7) SQL: EXEC dbo.nx_update_read_acls&lt;/P&gt;
&lt;P&gt;After that EXEC dbo.nx_update_read_acls Nuxeo freezes, no more log activity but High CPU Usage, locks in the resources, etcetera, as you can see in the attached images.&lt;/P&gt;
&lt;P&gt;I've checked it with SQL Profiler and it shows this:
&lt;IMG src="https://connect.hyland.com/upfiles/screenshot_6.png" alt="alt text" /&gt;&lt;/P&gt;
&lt;P&gt;Our Nuxeo database is not big, but this process reads millions of rows. Our hierarchy table has 28.000 rows only. The size of the directory where we're trying to add new rights to new users is around 500 Mbytes. If I do it in a 20-30 Mb folder there is no problems adding rights...&lt;/P&gt;
&lt;P&gt;And querying some system tables I get this:&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://connect.hyland.com/upfiles/screenshot2_2.png" alt="alt text" /&gt;&lt;/P&gt;
&lt;P&gt;I've read that this problem was solved in earlier versions of Nuxeo. Is that right?&lt;/P&gt;
&lt;P&gt;Do you have any fix for this?&lt;/P&gt;
&lt;P&gt;Thank you,
Gabriel&lt;/P&gt;
&lt;P&gt;P.D.: last screenshot, identifying locks &amp;amp; blocks. It keeps for 20-30 minutes too.
&lt;IMG src="https://connect.hyland.com/upfiles/screenshot3.png" alt="alt text" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jan 2015 09:50:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-6-nx-update-read-acls-never-ending-process-and-high-cpu/m-p/327680#M14681</guid>
      <dc:creator>gsc_</dc:creator>
      <dc:date>2015-01-14T09:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo 6 - nx_update_read_acls never ending process and High CPU usage. NX freezes</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-6-nx-update-read-acls-never-ending-process-and-high-cpu/m-p/327681#M14682</link>
      <description>&lt;P&gt;Solved here: &lt;A href="http://answers.nuxeo.com/questions/11081/how-to-modify-nx_update_read_acls-permanently" target="test_blank"&gt;http://answers.nuxeo.com/questions/11081/how-to-modify-nx_update_read_acls-permanently&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Feb 2015 17:17:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-6-nx-update-read-acls-never-ending-process-and-high-cpu/m-p/327681#M14682</guid>
      <dc:creator>gsc_</dc:creator>
      <dc:date>2015-02-04T17:17:31Z</dc:date>
    </item>
  </channel>
</rss>

