pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Whitney <scott@journyx.com>
To: John Scalia <jayknowsunix@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: setting -i and -N 100 when starting postmaster
Date: Wed, 16 Jul 2014 14:45:14 -0500 (CDT)
Message-ID: <1756032979.492840.1405539914689.JavaMail.zimbra@mail.int.journyx.com> (raw)
In-Reply-To: <53C6D524.90305@gmail.com>
References: <53C6D524.90305@gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>

-i is "interactive," as in "listen on TCP/IP" 
-N 384 is max connections 384 

----- Original Message -----

> Hi all,

> My wonderful colleagues in charge of our production database have screwed up
> royally. They managed to corrupt the production database by having two
> instances of postgresql talking
> to the same database/same filesystem/same time. Now, they'd like me to fix
> it. Sigh...

> BTW, this is a V9.2.2 system, and the database will still start, but the logs
> are full of reports pf invalid page header errors. One thing I'm looking at
> is doing a "ps -ef | grep
> postmaster", I see "service postgresql-9.2 start" uses:

> postmaster -D /opt/datacenter -i -N 384 -p 5431

> Now, I know what the -D and -p are doing, but I'm not sure what -i and -N are
> for, and my internet search hasn't turned up much. Anybody know?
> --
> Jay

> PS. Any suggestions beyond setting zero_damaged_pages=true and then running a
> vacuum would also be appreciated.

> --
> Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-admin

view thread (5+ messages)  latest in thread

Message-ID: <1756032979.492840.1405539914689.JavaMail.zimbra@mail.int.journyx.com>
Permalink:  ../1756032979.492840.1405539914689.JavaMail.zimbra@mail.int.journyx.com/
Also on:    postgresql.org/message-id/1756032979.492840.1405539914689.JavaMail.zimbra@mail.int.journyx.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: scott@journyx.com, jayknowsunix@gmail.com
  Subject: Re: setting -i and -N 100 when starting postmaster
  In-Reply-To: <1756032979.492840.1405539914689.JavaMail.zimbra@mail.int.journyx.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox