Re: Cant connect if -B 1024 was set to postmaster

From: "Poul L(dot) Christiansen" <poulc(at)cs(dot)auc(dot)dk>
To: Vilson farias <vilson(dot)farias(at)digitro(dot)com(dot)br>
Cc: pgsql-general(at)postgresql(dot)org, SIMONE Carla MOSENA <simone(dot)mosena(at)digitro(dot)com(dot)br>
Subject: Re: Cant connect if -B 1024 was set to postmaster
Date: 2001-03-19 14:23:55
Message-ID: Pine.GSO.4.21.0103191520500.27628-100000@borg.cs.auc.dk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I remember having this problem. You need to pass the '-i' switch.
Try: '-B 1024 -i'

I don't know if this behavior is an error or not.

Poul L. Christiansen

On Mon, 19 Mar 2001, Vilson farias wrote:

> Greetings,
>
> There are a very weird problem here.
>
> I changed my /etc/rc.d/init.d/postgresql. The postmaster line now is :
> su -l postgres -c "/usr/bin/pg_ctl -o '-B 1024' -D $PGDATA -p
> /usr/bin/postmaster start >/dev/null 2>&1" < /dev/null
>
> That mean now are 8Mb (1024 buffers of 8Kb) available for postgres
> processes. Ok, but if I set this '-B 1024' all my non-local connections
> don't work. Then, If I simply remove this -B statement everything work
> again. Besides, there are lots of -B configurations simply dont work here,
> like -B 2048, -B 4096... when I try to call /etc/rc.d/init.d/postgressql
> start, it checks installation (ok), but postmaster fails.
>
> Do you know why this is happening?
>
> I'm using RedHat 6.2, AMD K6 400, 256Mb RAM with Postgre 7.0.2.
> and a Pentium 75, 32Mb RAM, RedHat 6.2 with Postgre 7.0.3 and both has the
> same problem.
>
> Regards,
>
> José Vilson de Mello de Farias
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Vilson farias 2001-03-19 14:36:58 Re: Cant connect if -B 1024 was set to postmaster
Previous Message Vilson farias 2001-03-19 14:13:33 Cant connect if -B 1024 was set to postmaster