Re: Strange connection limit problem

2019-06-07 Thread Giuseppe Sacco
Hi Frank, Il giorno ven, 07/06/2019 alle 13.58 +0200, Ict Security ha scritto: > Dear guys, > > i have two identical Postgresql 9.6.1 and i need, to test an > application, to reach connection above 1024. > > I setup 2400 as max_connections > I raised file-max kernel limit to 65535 > I increased

Re: Strange connection limit problem

2019-06-07 Thread Laurenz Albe
Ict Security wrote: > i have two identical Postgresql 9.6.1 and i need, to test an > application, to reach connection above 1024. > > I setup 2400 as max_connections Ugh. Don't. Use a connection pool. > I raised file-max kernel limit to 65535 > I increased shared_buffers > I also increased the

Strange connection limit problem

2019-06-07 Thread Ict Security
Dear guys, i have two identical Postgresql 9.6.1 and i need, to test an application, to reach connection above 1024. I setup 2400 as max_connections I raised file-max kernel limit to 65535 I increased shared_buffers I also increased the value in semaphores in both And i added this in limits.conf: