Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d2ZEN-0003Fa-H2 for pgadmin-hackers@arkaria.postgresql.org; Mon, 24 Apr 2017 08:20:23 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1d2ZEM-0006ih-Uk for pgadmin-hackers@arkaria.postgresql.org; Mon, 24 Apr 2017 08:20:22 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1d2ZEM-0006iL-Em for pgadmin-hackers@postgresql.org; Mon, 24 Apr 2017 08:20:22 +0000 Received: from mail-yb0-x233.google.com ([2607:f8b0:4002:c09::233]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1d2ZE8-0005UJ-Pe for pgadmin-hackers@postgresql.org; Mon, 24 Apr 2017 08:20:20 +0000 Received: by mail-yb0-x233.google.com with SMTP id s22so58243015ybe.3 for ; Mon, 24 Apr 2017 01:20:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pgadmin-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=8AumcRfRW4nnGO5Zf3S2VeicJVAhXtfcCBeEc5Gwgow=; b=Jv9m/CTePeAdKV54554ZurctZTUeTucwWDXdbmyWNvVNlCHdwXtOtssO8m6CoFOBjJ mdQNvahuofHWCmUzgnIvkXI+hZ1jOvt7k58N/3BXntL3s/TkEW7zNZJvC9y2ZzG8CjiZ I1omeoBftHRLEtAZKXUtLjBLitqgA/mUfk+WHTB/9rNWxMHGJcRdslELft95viesf0I2 SO7SlELdCQUtHsxQcZVw92Ce57jRKUSXyreXqH+mzdZ0bPihUXI7aUnHJ/K3uUkcBeIN 0hxMWr6734QU5jMkl1jcEsnXC0ilyy6GQTpfCPBRyQECyRIKfU3NrgCsf/pu6CQHo/Ba mY6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=8AumcRfRW4nnGO5Zf3S2VeicJVAhXtfcCBeEc5Gwgow=; b=HmaJM9/N5dIvxjErgGfNEAygZdoXsbb6g38JBEAkVeCsCXo5V4VfqHcssZQgbYSzKu PiNkf7TjLGUcGqHe9zfNTUzWCeP+bLxrztZSebDzNoRtuwohXaRKT05hXd3lEmPvSORM YF8qTOW9K1P5pXplz8meLIwUhFURAXaN1kt7sUU0szR4m88BuK+3vG6zN2aODh1Y4898 0mycSJFL1cP5AQV8AS6hEk/OM7u9VAeBXolu28sk73yxTPzoOt0EkfBFH5qzilQ9wXWq o18dkI9geM1Q9fSPynF06Og5Xd1EglO1qtyDB7qgQkns3OPb35HF15yVVPI19Jxj7cpt UifA== X-Gm-Message-State: AN3rC/42kMvZoC6xBpvOIYqUNkyjVpAKDZiLm1iQ1KPy4KpM+FkVj35q COA3kOPquItZ9hTd5lPWl8VVZw6sL3y6 X-Received: by 10.36.25.139 with SMTP id b133mr12736869itb.0.1493022006080; Mon, 24 Apr 2017 01:20:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.174.167 with HTTP; Mon, 24 Apr 2017 01:20:05 -0700 (PDT) In-Reply-To: <6fafc8f0-7b20-608b-00e4-77bd8a573413@berkus.org> References: <8ca2ba41-b46f-a89e-6b1b-4b7277348685@berkus.org> <1492765022.3215.2.camel@gunduz.org> <6fafc8f0-7b20-608b-00e4-77bd8a573413@berkus.org> From: Dave Page Date: Mon, 24 Apr 2017 09:20:05 +0100 Message-ID: Subject: Re: Some questions about configuration and the pgadmin4-v1-web package To: Josh Berkus Cc: =?UTF-8?B?RGV2cmltIEfDvG5kw7x6?= , pgadmin-hackers Content-Type: multipart/alternative; boundary=001a11406686509130054de54616 X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgadmin-hackers Precedence: bulk Sender: pgadmin-hackers-owner@postgresql.org --001a11406686509130054de54616 Content-Type: text/plain; charset=UTF-8 On Fri, Apr 21, 2017 at 6:45 PM, Josh Berkus wrote: > Devrim, > > > * cp /etc/httpd/conf.d/pgadmin4-v1.conf.sample > /etc/httpd/conf.d/pgadmin4- > > v1.conf > > One more question: the sample .conf doesn't have the > threads-and-1-process configuration recommended in the pgadmin docs. Is > there a reason it doesn't need it? That's definitely required, otherwise you will end up with multiple DB connection managers and have no way for client sessions to maintain affinity with the right one. -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company --001a11406686509130054de54616 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On Fri, Apr 21, 2017 at 6:45 PM, Josh Berkus <josh@berkus.org> wrote:
Devrim,

> * cp /etc/httpd/conf.d/pgadmin4-v1.conf.sample /etc/httpd/conf.d/= pgadmin4-
> v1.conf

One more question: the sample .conf doesn't have the
threads-and-1-process configuration recommended in the pgadmin docs.=C2=A0 = Is
there a reason it doesn't need it?

That= 's definitely required, otherwise you will end up with multiple DB conn= ection managers and have no way for client sessions to maintain affinity wi= th the right one.

--
Dave Page
Blog: http://pgsnake.blogspot.com=
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterpr= ise PostgreSQL Company
--001a11406686509130054de54616--