<?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: ArcGIS Enterprise 10.6 Data Store:  folder pg_xlog keeps increasing 16MB every 5min in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-enterprise-10-6-data-store-folder-pg-xlog/m-p/417102#M16173</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have attached the last couple of days of logs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Apr 2018 13:50:01 GMT</pubDate>
    <dc:creator>BrianCoffey2</dc:creator>
    <dc:date>2018-04-24T13:50:01Z</dc:date>
    <item>
      <title>ArcGIS Enterprise 10.6 Data Store:  folder pg_xlog keeps increasing 16MB every 5min</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-enterprise-10-6-data-store-folder-pg-xlog/m-p/417098#M16169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ArcGIS Enterprise 10.6 Data Store:&amp;nbsp; folder pg_xlog keeps increasing 16MB every 5min&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(ArcGIS Enterprise Portal, Server and Data Store are all installed on E: drive)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I setup Data Store with a domain account and checked all the folders under E:\arcgisdatastore and E:\ArcGIS\DataStore. The domain account has full control permissions in all folders.&amp;nbsp; The Data Store service is running as the domain account.&amp;nbsp; In the postgresql.conf file the archive_command is as follows:&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;archive_command = 'E:/ArcGIS/DataStore/framework/etc/scripts/dbcli put-transaction-log "E:/arcgisdatastore/pgdata/%p" "%f" "E:/ArcGIS/DataStore"'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the error message I see in the folder E:\arcgisdatastore\logs\&lt;EM&gt;machine nam&lt;/EM&gt;&lt;EM&gt;e&lt;/EM&gt;\database, see attachment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I fix?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2018 20:05:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-enterprise-10-6-data-store-folder-pg-xlog/m-p/417098#M16169</guid>
      <dc:creator>BrianCoffey2</dc:creator>
      <dc:date>2018-04-23T20:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Enterprise 10.6 Data Store:  folder pg_xlog keeps increasing 16MB every 5min</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-enterprise-10-6-data-store-folder-pg-xlog/m-p/417099#M16170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd check the following:&lt;/P&gt;&lt;P&gt;1. Confirm the service account running the ArcGIS Data Store.&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Once you have that account running the ADS confirmed, check the folder on the E:\ drive for explicit permissions. It's possible your IT prevents the option to cascade permissions to subfolders.&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. I'd "reforce" permission on the ADS parent directory (read/write) --&amp;gt; go to advance and chose the option to 'enable parent inheritance' for the permissions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The 'Access is Denied' error in the logs seems to be the culprit; ensuring explicit permissions may be a simple fix if that is in fact the issue.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2018 21:02:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-enterprise-10-6-data-store-folder-pg-xlog/m-p/417099#M16170</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-04-23T21:02:29Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Enterprise 10.6 Data Store:  folder pg_xlog keeps increasing 16MB every 5min</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-enterprise-10-6-data-store-folder-pg-xlog/m-p/417100#M16171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Verified the service is running under the appropriate domain account. Forced permissions on folders E:\ArcGIS\DataStore and E:\arcgisdatastore and their subfolders and files.&amp;nbsp; The recurring logs keep writing 16MB files every 5min.&amp;nbsp; Attached are pics of the verifications of the actions described above.&amp;nbsp; At a loss???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2018 13:27:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-enterprise-10-6-data-store-folder-pg-xlog/m-p/417100#M16171</guid>
      <dc:creator>BrianCoffey2</dc:creator>
      <dc:date>2018-04-24T13:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Enterprise 10.6 Data Store:  folder pg_xlog keeps increasing 16MB every 5min</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-enterprise-10-6-data-store-folder-pg-xlog/m-p/417101#M16172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you able to upload (or send directly to me, if you prefer) one of the complete logs?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2018 13:35:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-enterprise-10-6-data-store-folder-pg-xlog/m-p/417101#M16172</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-04-24T13:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Enterprise 10.6 Data Store:  folder pg_xlog keeps increasing 16MB every 5min</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-enterprise-10-6-data-store-folder-pg-xlog/m-p/417102#M16173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have attached the last couple of days of logs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2018 13:50:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-enterprise-10-6-data-store-folder-pg-xlog/m-p/417102#M16173</guid>
      <dc:creator>BrianCoffey2</dc:creator>
      <dc:date>2018-04-24T13:50:01Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Enterprise 10.6 Data Store:  folder pg_xlog keeps increasing 16MB every 5min</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-enterprise-10-6-data-store-folder-pg-xlog/m-p/417103#M16174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also this ArcGIS Enterprise install is on a Windows 2016 Server machine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2018 13:02:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-enterprise-10-6-data-store-folder-pg-xlog/m-p/417103#M16174</guid>
      <dc:creator>BrianCoffey2</dc:creator>
      <dc:date>2018-04-30T13:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Enterprise 10.6 Data Store:  folder pg_xlog keeps increasing 16MB every 5min</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-enterprise-10-6-data-store-folder-pg-xlog/m-p/417104#M16175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you manage to get the log file issue resolved&amp;nbsp; ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clinton&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Aug 2019 03:15:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-enterprise-10-6-data-store-folder-pg-xlog/m-p/417104#M16175</guid>
      <dc:creator>ClintonBallandis1</dc:creator>
      <dc:date>2019-08-05T03:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Enterprise 10.6 Data Store:  folder pg_xlog keeps increasing 16MB every 5min</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-enterprise-10-6-data-store-folder-pg-xlog/m-p/1555642#M40907</link>
      <description>&lt;P&gt;An old topic, but I'm having similar issues with an ArcGIS Datastore 11.3.&amp;nbsp; Oddly we had determined that pgdata\pg_wal would fill with the files if ArcGIS Datastore was running as a domain account with administrator access and Full Control on the whole drive and all subfolders, and you would get the error messages:&lt;/P&gt;&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;2024-10-19 00:02:17 EDT: [2844]: [2495-1] LOG:&amp;nbsp; archive command failed with exit code 1&lt;BR /&gt;2024-10-19 00:02:17 EDT: [2844]: [2496-1] DETAIL:&amp;nbsp; The failed archive command was: E:/Apps/ArcGIS/DataStore/framework/etc/scripts/dbcli put-transaction-log "E:/arcgisdatastore/pgdata/pg_w&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;al\00&lt;/FONT&gt;&lt;/STRONG&gt;0000010000000000000002" "000000010000000000000002" "E:/Apps/ArcGIS/DataStore/"&lt;BR /&gt;Access is denied.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;But... it would archive the files out over time if you stopped the service and made it run as Local System.&lt;/P&gt;&lt;P&gt;I'm not sure how that reflects on the fix I made though.&amp;nbsp; To fix it, I noticed the single \ in the archive command used.&amp;nbsp; This is coming from using %p in pgdata\postgres.conf under the archive_command setting.&amp;nbsp; Since some older postgres issues were documented elsewhere on the web with regard to it interpreting special characters in the archive_command, I changed the command setting from this:&lt;/P&gt;&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&amp;nbsp;&lt;SPAN&gt;&lt;SPAN class=""&gt;archive_command = 'E:/Apps/ArcGIS/DataStore/framework/etc/scripts/dbcli put-transaction-log "E:/arcgisdatastore/pgdata/&lt;STRONG&gt;%p&lt;/STRONG&gt;" "%f" "E:/Apps/ArcGIS/DataStore/"'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;to this:&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;archive_command = 'E:/Apps/ArcGIS/DataStore/framework/etc/scripts/dbcli put-transaction-log "E:/arcgisdatastore/pgdata/&lt;STRONG&gt;pg_wal/%f&lt;/STRONG&gt;" "%f" "E:/Apps/ArcGIS/DataStore/"'&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;Now it seems to be archiving.&amp;nbsp; I'm not sure if other folders may try to also use this command, but it definitely got it to stop leaving 16mb files in the pg_wal folder every 5 minutes.&amp;nbsp; I'll watch logs and see if anything else fails as a result of the change.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2024 23:10:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-enterprise-10-6-data-store-folder-pg-xlog/m-p/1555642#M40907</guid>
      <dc:creator>JoshuaDalton</dc:creator>
      <dc:date>2024-11-05T23:10:52Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Enterprise 10.6 Data Store:  folder pg_xlog keeps increasing 16MB every 5min</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-enterprise-10-6-data-store-folder-pg-xlog/m-p/1607072#M42062</link>
      <description>&lt;P&gt;And back to this error again on yet another machine on 11.1.&amp;nbsp; In addition to changing %p to pg_wal/%f, we added double-quotes around the path for the dbcli command, added the .bat extension (probably unnecessary), and since quoted, we removed the ^ from the Program Files sections (both places), which changed the archive_command from this:&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;archive_command = '&lt;FONT color="#FF0000"&gt;D&lt;/FONT&gt;:/Program&lt;FONT color="#FF0000"&gt;^&lt;/FONT&gt; Files/ArcGIS/DataStore/framework/etc/scripts/&lt;FONT color="#FF0000"&gt;dbcli&lt;/FONT&gt; put-transaction-log "D:/arcgisdatastore/pgdata/&lt;FONT color="#FF0000"&gt;%p&lt;/FONT&gt;" "%f" "D:/Progra&lt;FONT color="#FF0000"&gt;m^ F&lt;/FONT&gt;iles/ArcGIS/DataStore/"'&lt;/FONT&gt;&lt;BR /&gt;&lt;SPAN&gt;to this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;archive_command = '&lt;FONT color="#FF0000"&gt;"D&lt;/FONT&gt;:/Program Files/ArcGIS/DataStore/framework/etc/scripts/&lt;FONT color="#FF0000"&gt;dbcli.bat"&lt;/FONT&gt; put-transaction-log "D:/arcgisdatastore/pgdata/&lt;FONT color="#FF0000"&gt;pg_wal/%f&lt;/FONT&gt;" "%f" "D:/Progra&lt;FONT color="#FF0000"&gt;m F&lt;/FONT&gt;iles/ArcGIS/DataStore/"'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;This was the entry in the logs before applying the changes:&lt;/P&gt;&lt;P&gt;2025-03-25 00:02:55 EDT: [12304]: [105467-1] LOG:&amp;nbsp; archive command failed with exit code 1&lt;BR /&gt;2025-03-25 00:02:55 EDT: [12304]: [105468-1] DETAIL:&amp;nbsp; The failed archive command was: D:/Program^ Files/ArcGIS/DataStore/framework/etc/scripts/dbcli put-transaction-log "D:/arcgisdatastore/pgdata/pg_wal\000000010000000000000002" "000000010000000000000002" "D:/Program^ Files/ArcGIS/DataStore/"&lt;/P&gt;&lt;P&gt;I can confirm that the dbcli.bat file was not launching before our change, as we watched for it in ProcessMonitor.&amp;nbsp; So this time it seems less like a source/target folder permission, and more like permission to launch the dbcli command in the way it is being passed to the windows command line shell by postgres.&lt;BR /&gt;&lt;BR /&gt;We did try using D:\Progra~1\... instead of D:\Program^ Files\... but that did not work without the quotes.&amp;nbsp; Leaving the ^ in with quotes also still gave the error.&amp;nbsp; Possible the ~1 may work with quotes.&lt;BR /&gt;&lt;BR /&gt;Long story short, probably best not to install to folders with spaces in them, and correcting the %p with pg_wal/%f is still also a good idea.&amp;nbsp; Quoting the dbcli command and removing the ^ escape characters seems to correct the issue when a space exists in the path.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Apr 2025 19:17:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-enterprise-10-6-data-store-folder-pg-xlog/m-p/1607072#M42062</guid>
      <dc:creator>JoshuaDalton</dc:creator>
      <dc:date>2025-04-17T19:17:19Z</dc:date>
    </item>
  </channel>
</rss>

