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 shared_buffers > I also increased the value in semaphores in both > And i added this in limits.conf: > * - nofile 999999 [...] Is postgresql ran via systemd? If this is the case, limits.conf is ignored and you should put the limits in the systemd unit file. Bye, Giuseppe