Forum OpenACS Q&A: Response to "Sorry, too many clients already"

Posted by David Kuczek on
Hello Don,

You said:

I use 100 on my personal server. "postmaster -N 100 ..."

You should match the PG number of backends to the number of connections you let OpenNSD make (perhaps planning for at least one more PG backend so you can be assured of having one available to use with PSQL in a pinch).

In the standard nsd.tcl script for aolserver the Connections are set to
5 in ns_section "ns/db/pool/main"
5 in ns_section "ns/db/pool/log"
2 in ns_section "ns/db/pool/subquery"

Is it correct to set these to 99 when I set -N to 100?