delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/09/13/05:07:15

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Mon, 13 Sep 2004 11:07:54 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: cygserver problem max 5 connections
Message-ID: <20040913090754.GA20175@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <41443B93 DOT 4020000 AT x-ray DOT at> <20040912144856 DOT GF17670 AT cygbert DOT vinschen DOT de> <414478B5 DOT 3070307 AT x-ray DOT at>
Mime-Version: 1.0
In-Reply-To: <414478B5.3070307@x-ray.at>
User-Agent: Mutt/1.4.2i

On Sep 12 18:26, Reini Urban wrote:
> Corinna Vinschen schrieb:
> >On Sep 12 14:05, Reini Urban wrote:
> >
> >>I have a postgres user claiming that cygserver cannot serve more than 5 
> >>concurrent connections with postgres.
> >
> >Did you already play with the /etc/cygserver.conf parameters?
> 
> Sure. I only see a 10 semaphore id limit, but not the reported 5.
> And I didn't see where postgresql needs 2 id's per connection.
> 
> # kern.ipc.semmni: Maximum no. of semaphore identifiers hold concurrently.
> # Default: 10, Min: 1, Max: 1024
> kern.ipc.semmni 10
> # kern.ipc.semmns: Maximum no. of semaphores hold concurrently.
> # Default: 60, Min: 1, Max: 1024
> kern.ipc.semmns 200

Dunno how many concurrent connections a running postgresql system needs
so I was wondering if raising kern.srv.request_threads could help.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019