<?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 Data store's  folder pg_xlog size increase 16MB every 5min  in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-data-store-s-folder-pg-xlog-size-increase/m-p/588270#M22745</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;We got it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Culprit is ArcGIS DataStore:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;ArcGIS Data Store’s E:\arcgis\arcgisdatastore\pgdata\postgresql.config file&amp;nbsp; contains “archive_command&lt;/SPAN&gt;”.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: red; background: yellow;"&gt;archive_command = 'C:/Program^ Files/ArcGIS/DataStore/framework/etc/scripts/dbcli put-transaction-log "E:/arcgis/arcgisdatastore/pgdata/%p" "%f" "C:/Program^ Files/ArcGIS/DataStore/"'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;We didn’t install the ArcGIS Data Store at &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black; background: yellow;"&gt;'C:/Program^ Files/ArcGIS/DataStore&lt;/SPAN&gt; &lt;SPAN style="color: #1f497d;"&gt;and &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;we installed at&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt; &lt;SPAN style="background: yellow;"&gt;'E:/DataStore&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ffd966; background: red;"&gt;Why ArcGIS Data Store is considering &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: #ffd966; background: red;"&gt;'C:/Program^ Files/ArcGIS/DataStore’ &lt;/SPAN&gt;&lt;SPAN style="color: #ffd966; background: red;"&gt;as our&lt;/SPAN&gt; &lt;SPAN style="color: #ffd966; background: red;"&gt;ArcGIS Data Store &amp;nbsp;installation folder?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;We changed the “archive_command&lt;/SPAN&gt;” as below and restarted the ArcGIS Datsore service.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: black; background: yellow;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: black; background: yellow;"&gt;archive_command = 'E:/DataStore/framework/etc/scripts/dbcli put-transaction-log "E:/arcgis/arcgisdatastore/pgdata/%p" "%f" "E:/DataStore/&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black; background: white;"&gt;"'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;ArcGIS Datastore started deleting or truncating old log files E:\arcgis\arcgisdatastore\pgdata\pg_xlog files.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;At last, problem solved&lt;/SPAN&gt;&lt;SPAN style="color: #1f497d;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #1f497d; font-size: 8.0pt;"&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 28 Jan 2018 12:43:28 GMT</pubDate>
    <dc:creator>ImtiyazPasha</dc:creator>
    <dc:date>2018-01-28T12:43:28Z</dc:date>
    <item>
      <title>ArcGIS Data store's  folder pg_xlog size increase 16MB every 5min</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-data-store-s-folder-pg-xlog-size-increase/m-p/588267#M22742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;ArcGIS Data store's&amp;nbsp; folder pg_xlog size increase 16MB every 5min&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;After further investigation we found E:\arcgis\arcgisdatastore\pgdata\pg_xlog folder size keeps on increasing and at this moment consuming 322 GB.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;For every 5 minutes, it creates one file of size 16MB. Is this any log file? but the portal log is at E:\arcgis\arcgisportal\logs folder.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Is there any relation between E:\arcgis\arcgisdatastore\pgdata\pg_xlog &amp;nbsp;and E:\arcgis\arcgisportal\logs\database\pg_log?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;Please view the attached files.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Below are Operating system details.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Operating System: Windows server R2 standard (64 bit)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;RAM: 16 GB&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Processor: Intel(R) Xion® CPU E5-2683 v3 @ 2.00Ghz 2.00Ghz&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;ArcGIS Tool: ArcGIS Enterprise Builder(10.5.1) including patches.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jan 2018 06:09:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-data-store-s-folder-pg-xlog-size-increase/m-p/588267#M22742</guid>
      <dc:creator>ImtiyazPasha</dc:creator>
      <dc:date>2018-01-24T06:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Data store's  folder pg_xlog size increase 16MB every 5min</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-data-store-s-folder-pg-xlog-size-increase/m-p/588268#M22743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This sounds like a permissions issue on the PG_DATA directory. Those logs should be truncating. Under the 'tools' directory, run&amp;nbsp;configureserviceaccount.bat. Here's the syntax:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;configureserviceaccount [--username username] [--password password] [--readconfig user-configure-file] [--writeconfig user-configure-file\&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://enterprise.arcgis.com/en/portal/latest/administer/windows/data-store-utility-reference.htm"&gt;http://enterprise.arcgis.com/en/portal/latest/administer/windows/data-store-utility-reference.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You also might want to look into your backup creation and retention schedule.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jan 2018 14:58:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-data-store-s-folder-pg-xlog-size-increase/m-p/588268#M22743</guid>
      <dc:creator>RandallWilliams</dc:creator>
      <dc:date>2018-01-24T14:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Data store's  folder pg_xlog size increase 16MB every 5min</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-data-store-s-folder-pg-xlog-size-increase/m-p/588269#M22744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV style="color: #000000; font-size: 16px;"&gt;Hi Randall,&lt;/DIV&gt;&lt;DIV style="color: #000000; font-size: 16px;"&gt; &lt;/DIV&gt;&lt;DIV style="color: #000000; font-size: 16px;"&gt;&lt;SPAN style="font-size: 15px;"&gt;No folder named&amp;nbsp;&amp;nbsp;E:\Datastore\logs or&amp;nbsp;&amp;nbsp;&lt;SPAN style="font-family: Calibri, Arial, Helvetica, sans-serif;"&gt;E:\Datastore\nosqldata but we have&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #000000; font-size: 16px;"&gt;&lt;SPAN style="font-size: 15px;"&gt;&lt;SPAN style="font-family: Calibri, Arial, Helvetica, sans-serif;"&gt;E:\arcgis\arcgisdatastore\&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri, Arial, Helvetica, sans-serif;"&gt;logs&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri, Arial, Helvetica, sans-serif;"&gt;&amp;nbsp;and&amp;nbsp;E:\arcgis\arcgisdatastore\nosqldata.&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri, Arial, Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #000000; font-size: 16px;"&gt;&lt;SPAN style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 15px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #000000; font-size: 16px;"&gt;&lt;SPAN style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 15px;"&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/394744_pastedImage.png" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #000000; font-size: 16px;"&gt;&lt;SPAN style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 15px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #000000; font-size: 16px;"&gt;&lt;SPAN style="font-size: 15px;"&gt;Best regards,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #000000; font-size: 16px;"&gt; &lt;/DIV&gt;&lt;DIV style="color: #000000; font-size: 16px;"&gt;&lt;SPAN style="font-size: 15px;"&gt;Imtiyaz&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jan 2018 08:42:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-data-store-s-folder-pg-xlog-size-increase/m-p/588269#M22744</guid>
      <dc:creator>ImtiyazPasha</dc:creator>
      <dc:date>2018-01-25T08:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Data store's  folder pg_xlog size increase 16MB every 5min</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-data-store-s-folder-pg-xlog-size-increase/m-p/588270#M22745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;We got it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Culprit is ArcGIS DataStore:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;ArcGIS Data Store’s E:\arcgis\arcgisdatastore\pgdata\postgresql.config file&amp;nbsp; contains “archive_command&lt;/SPAN&gt;”.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: red; background: yellow;"&gt;archive_command = 'C:/Program^ Files/ArcGIS/DataStore/framework/etc/scripts/dbcli put-transaction-log "E:/arcgis/arcgisdatastore/pgdata/%p" "%f" "C:/Program^ Files/ArcGIS/DataStore/"'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;We didn’t install the ArcGIS Data Store at &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black; background: yellow;"&gt;'C:/Program^ Files/ArcGIS/DataStore&lt;/SPAN&gt; &lt;SPAN style="color: #1f497d;"&gt;and &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;we installed at&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt; &lt;SPAN style="background: yellow;"&gt;'E:/DataStore&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ffd966; background: red;"&gt;Why ArcGIS Data Store is considering &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: #ffd966; background: red;"&gt;'C:/Program^ Files/ArcGIS/DataStore’ &lt;/SPAN&gt;&lt;SPAN style="color: #ffd966; background: red;"&gt;as our&lt;/SPAN&gt; &lt;SPAN style="color: #ffd966; background: red;"&gt;ArcGIS Data Store &amp;nbsp;installation folder?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;We changed the “archive_command&lt;/SPAN&gt;” as below and restarted the ArcGIS Datsore service.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: black; background: yellow;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: black; background: yellow;"&gt;archive_command = 'E:/DataStore/framework/etc/scripts/dbcli put-transaction-log "E:/arcgis/arcgisdatastore/pgdata/%p" "%f" "E:/DataStore/&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black; background: white;"&gt;"'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;ArcGIS Datastore started deleting or truncating old log files E:\arcgis\arcgisdatastore\pgdata\pg_xlog files.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;At last, problem solved&lt;/SPAN&gt;&lt;SPAN style="color: #1f497d;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #1f497d; font-size: 8.0pt;"&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Jan 2018 12:43:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-data-store-s-folder-pg-xlog-size-increase/m-p/588270#M22745</guid>
      <dc:creator>ImtiyazPasha</dc:creator>
      <dc:date>2018-01-28T12:43:28Z</dc:date>
    </item>
  </channel>
</rss>

