Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id C5E032DF890 for ; Tue, 13 Dec 2011 12:16:09 -0400 (AST) Received: from mailout-de.gmx.net ([213.165.64.23]) by magus.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1RaV1S-0006Tc-8Y for pgsql-admin@postgresql.org; Tue, 13 Dec 2011 16:16:08 +0000 Received: (qmail 22919 invoked by uid 0); 13 Dec 2011 16:15:53 -0000 Received: from 83.246.65.214 by www059.gmx.net with HTTP; Tue, 13 Dec 2011 17:15:50 +0100 (CET) Content-Type: text/plain; charset="utf-8" Date: Tue, 13 Dec 2011 17:15:50 +0100 From: Jan-Peter.Seifert@gmx.de In-Reply-To: <20111208130430.14653bnpyytz6l6o@webmail.kwsoft.de> Message-ID: <20111213161550.219250@gmx.net> MIME-Version: 1.0 References: <20111207124635.45500@gmx.net> <20111208130430.14653bnpyytz6l6o@webmail.kwsoft.de> Subject: Re: Number of connections still limited on Windows 64-bit? To: lst_hoe02@kwsoft.de, pgsql-admin@postgresql.org X-Authenticated: #955937 X-Flags: 0001 X-Mailer: WWW-Mail 6100 (Global Message Exchange) X-Priority: 3 X-Provags-ID: V01U2FsdGVkX1/L9vk4DTjLGrsLG+wDZeeE4S4j8AmUXK/ekKk59j IHe1cRwvP+3WcT7lp8C1u7xXrviSvGieMqaA== Content-Transfer-Encoding: 8bit X-GMX-UID: YR+VbsE0eSEqWED1ZXQh6Uh+IGRvbwCN X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201112/70 X-Sequence-Number: 38828 Hello Andreas, thank you very much for the link. -------- Original-Nachricht -------- > Datum: Thu, 08 Dec 2011 13:04:30 +0100 > Von: lst_hoe02@kwsoft.de > Zitat von Jan-Peter Seifert : > > I wonder whether the number of connections is still limited on > > Windows 64-bit if you also use a 64-bit version of PostgreSQL: > http://wiki.postgresql.org/wiki/Running_%26_Installing_PostgreSQL_On_Native_Windows#I_cannot_run_with_more_than_about_125_connections_at_once.2C_despite_having_capable_hardware > http://support.microsoft.com/kb/947246/en-us So the default setting for Windows 7 64-Bit seems to be: SharedSection=1024,20480,768 Makes me wonder whether PostgreSQL ( as a service ) still uses the 'Non-interactive desktop heap' for connections then. I used pgbench for testing 500 connections ( max_connections set to 600 ): Initialize: pgbench -i -U postgres -h host -p port Test: pgbench -U postgres -h host -p port -c 500 Verify: SELECT COUNT(*) FROM pg_stat_activity; The non-interactive Desktop Heap has been increased by just a half - yet the number of connections can obviously be much higher than 200. I guess the connections don't need less memory now though. Do the services share the same desktop (heap) or does each (PostgreSQL) service has its own ( if I register each service for a different Windows user?). Thank you very much, Peter -- Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de