postgresql@thomasbache.de writes:
> I experience some trouble with my PG server. I get the error message
> "too many clients". Ok, so I checked the manual and adjusted the
> max_connections and shared_buffers, but still the server denies
> access, if there are about 100 connections. I just recently increased
> the shared buffers from 10000 to 50000 and the system shared memory
> fom 128m to about 800m. Still the error occurs at 100 active
> connections.
It sounds like you forgot to restart the postmaster after changing
postgresql.conf. This is one of the parameters that is frozen at server
start ...
regards, tom lane