<?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>question We have the postgres db crashes occasional. There is no dump. can we add the -c flag to the pg_ctl ? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/We-have-the-postgres-db-crashes-occasional-There-is-no-dump/m-p/27245#M5861</link>
    <description>&lt;P&gt;We have the postgres db crashes occasional.&lt;/P&gt;&lt;P&gt;There is no core dump.&lt;/P&gt;&lt;P&gt;Can we add the -c flag to the pg_ctl command in the /etc/init.d/cloudera-scm-server-db file?&lt;/P&gt;&lt;P&gt;$SU -c "pg_ctl start &lt;STRONG&gt;-c&lt;/STRONG&gt; -w -D $DATA_DIR -l $SERVER_LOGFILE"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can we keep this change permanent?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Doron&lt;/P&gt;</description>
    <pubDate>Mon, 11 May 2015 08:56:02 GMT</pubDate>
    <dc:creator>doronve</dc:creator>
    <dc:date>2015-05-11T08:56:02Z</dc:date>
    <item>
      <title>We have the postgres db crashes occasional. There is no dump. can we add the -c flag to the pg_ctl ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/We-have-the-postgres-db-crashes-occasional-There-is-no-dump/m-p/27245#M5861</link>
      <description>&lt;P&gt;We have the postgres db crashes occasional.&lt;/P&gt;&lt;P&gt;There is no core dump.&lt;/P&gt;&lt;P&gt;Can we add the -c flag to the pg_ctl command in the /etc/init.d/cloudera-scm-server-db file?&lt;/P&gt;&lt;P&gt;$SU -c "pg_ctl start &lt;STRONG&gt;-c&lt;/STRONG&gt; -w -D $DATA_DIR -l $SERVER_LOGFILE"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can we keep this change permanent?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Doron&lt;/P&gt;</description>
      <pubDate>Mon, 11 May 2015 08:56:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/We-have-the-postgres-db-crashes-occasional-There-is-no-dump/m-p/27245#M5861</guid>
      <dc:creator>doronve</dc:creator>
      <dc:date>2015-05-11T08:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: We have the postgres db crashes occasional. There is no dump. can we add the -c flag to the pg_c</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/We-have-the-postgres-db-crashes-occasional-There-is-no-dump/m-p/27341#M5862</link>
      <description>Hi Doron,&lt;BR /&gt;&lt;BR /&gt;You can add the "-c" argument to the file in /etc/init.d if you like. You'll need to re-apply your fix when you upgrade CM.&lt;BR /&gt;&lt;BR /&gt;Crashing isn't very common, so we don't plan to add this option by default to our script.&lt;BR /&gt;&lt;BR /&gt;You can also consider moving to an independently managed postgresql database (or mysql or oracle), where you will have more control over these kinds of settings. The "embedded" postgresql db from cloudera-scm-server-db is not recommended for production.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Darren</description>
      <pubDate>Tue, 12 May 2015 20:06:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/We-have-the-postgres-db-crashes-occasional-There-is-no-dump/m-p/27341#M5862</guid>
      <dc:creator>Darren</dc:creator>
      <dc:date>2015-05-12T20:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: We have the postgres db crashes occasional. There is no dump. can we add the -c flag to the pg_c</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/We-have-the-postgres-db-crashes-occasional-There-is-no-dump/m-p/27383#M5863</link>
      <description>&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;we'll do that.&lt;/P&gt;&lt;P&gt;i.e. - currently we'll add the flag under init.d&lt;/P&gt;&lt;P&gt;for the long run we'll create an alternative robust DB.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Doron&lt;/P&gt;</description>
      <pubDate>Wed, 13 May 2015 12:49:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/We-have-the-postgres-db-crashes-occasional-There-is-no-dump/m-p/27383#M5863</guid>
      <dc:creator>doronve</dc:creator>
      <dc:date>2015-05-13T12:49:01Z</dc:date>
    </item>
  </channel>
</rss>

