From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 86936 invoked by alias); 25 Mar 2017 12:02:54 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 86925 invoked by uid 89); 25 Mar 2017 12:02:54 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=H*r:IPv6, our X-HELO: mail-wm0-f53.google.com Received: from mail-wm0-f53.google.com (HELO mail-wm0-f53.google.com) (74.125.82.53) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 25 Mar 2017 12:02:53 +0000 Received: by mail-wm0-f53.google.com with SMTP id n11so9585702wma.0 for ; Sat, 25 Mar 2017 05:02:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=O3Lm4udM2KS7Zfv+6Kb5uru8QiaqMlRNOvgtI0ZK5AA=; b=VJcDHaIujVGQrrt5Gl06jvlw6L4stSWe3lnO5Ah9KTasmjo5ouo3Ff0VWvZhA0Ljsq J6Bi1KrAcaB8TrpCf3XmQvF7RUwYh3f38YJecqMmJwycoWFLObwwJasT5UgLWyim2Rr3 PhfVkh0NOALDQXPGWZR5kudD+TQYP150K5xdR8H71pgYgGrQFI74mvlzTeFP/xuF1wZ5 asSD7oPyBXFJRKlYjLE47DJLVSq8ammwPn99B1VuMFpU2zJa4eQn1x0SzoEdqRikRplh H7W5sPRHZHt3e2icFCVPBb9/+M2F0DBK7jLnq9xWMTqz4zf2cWyqCYZgX4d7YnNNVhcz VSLQ== X-Gm-Message-State: AFeK/H1PMeurxOSdgYrPn0G1JB+DFC3bWs5V0l/pJxddCwcyBDcu1B/cvYrOOEHRHkMifQ== X-Received: by 10.28.214.149 with SMTP id n143mr1768382wmg.127.1490443371988; Sat, 25 Mar 2017 05:02:51 -0700 (PDT) Received: from ?IPv6:2003:cc:9bc1:ce01:b804:f1d9:d481:a799? (p200300CC9BC1CE01B804F1D9D481A799.dip0.t-ipconnect.de. [2003:cc:9bc1:ce01:b804:f1d9:d481:a799]) by smtp.googlemail.com with ESMTPSA id k76sm6638694wrc.12.2017.03.25.05.02.50 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 25 Mar 2017 05:02:51 -0700 (PDT) Subject: Re: cygserver - Postgres Multiple connection Load Testing - Inifinte Loop To: cygwin@cygwin.com References: <200408030333.i733XEXn023894@mx3.redhat.com> <20040803100612.GP31522@cygbert.vinschen.de> <20170321025614.GA2100214@tornado.leadboat.com> <20170324171101.GI29995@calimero.vinschen.de> <20170325113011.GM29995@calimero.vinschen.de> From: Marco Atzeri Message-ID: <549659fd-8e8a-b10e-3ff2-0519ddcdfd74@gmail.com> Date: Sat, 25 Mar 2017 12:31:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20170325113011.GM29995@calimero.vinschen.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2017-03/txt/msg00320.txt.bz2 On 25/03/2017 12:30, Corinna Vinschen wrote: > On Mar 25 09:09, Marco Atzeri wrote: >> >> It seems that the number of max available semaphores is frozen to first call >> value. > > That's normal and documented. An existing semaphore set using the same > key has the number of semaphores defined in the first call, until you > remove the semaphore set with, for instance, ipcrm -s. POSIX has this > to say: > > [EINVAL] > The value of nsems is either less than or equal to 0 or greater > than the system-imposed limit, or a semaphore identifier exists > for the argument key, but the number of semaphores in the set > associated with it is less than nsems and nsems is not equal to 0. > > Linux doesn't care, but BSD does, and our XSI IPC code is 95% BSD. > > > Corinna > noted. Thanks Marco -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple