Re: Can't increase max connections - Mailing list pgsql-admin

From Gaetano Mendola
Subject Re: Can't increase max connections
Date
Msg-id 41043C35.2080909@bigfoot.com
Whole thread Raw
In response to Can't increase max connections  (Roberto De Shong <shong_1@yahoo.com>)
Responses Re: Can't increase max connections
List pgsql-admin
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Roberto De Shong wrote:

| I have installed PostgreSQL 7.3 on FreeBSD 4.10 Stable, and have been
| trying to increase the max connections. the most I'm able to is 40, if I
| increase it any higher I'm unable to start the database. Is there any
| tip, s hte any guide where I can get an idea of the other values to set
| in postgresql.conf for increasing max connections? I had also recompile
| the kernel and changed maxusers from 0 to 64. I'm not sure if increasing
| it even more would allow me increase connections. Would appreciate some
| help, thanks.

Most likely you are out of shared memory segments that you OS allow.
If you are on Linux try to pump-up  shmmax and shmall

Regards
Gaetano Mendola



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBBDwz7UpzwH2SGd4RAmO7AJ4jqXpBjglSZuwn7e92wRS23sJR+QCgkpLE
vK2twgkJ8Wi80vM+5KzWymg=
=C9sb
-----END PGP SIGNATURE-----


pgsql-admin by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Can't increase max connections
Next
From: Gaetano Mendola
Date:
Subject: Re: could not fork new process for connection: Cannot allocate memory