Re: Increasing Max Connections Mac OS 10.3

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Joe Lester <joe_lester(at)sweetwater(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Increasing Max Connections Mac OS 10.3
Date: 2004-02-10 17:28:42
Message-ID: 17243.1076434122@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Joe Lester <joe_lester(at)sweetwater(dot)com> writes:
> Would this be kern.maxfiles?

Sounds like what you want. There's probably no need to reduce
maxfilesperproc (and thereby constrain every process not only PG
backends). You can set PG's max_files_per_process instead.

> Is it OK to set these before starting the server? Or should I set them
> in /etc/rc?

Damifino. Try a manual sysctl -w and see if it takes ... if not, you
probably have to set it in /etc/rc.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2004-02-10 17:42:01 Re: [GENERAL] dblink - custom datatypes don't work
Previous Message Andrew Sullivan 2004-02-10 17:22:43 Re: I want to use postresql for this app, but...