X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=a64R319vzSA1Cyue HtxI+LCQsSeungsP/mXpIebv+TlCgc3tuPbgvzB9GAceH+r4Zvl/hLKSRm68/Z1l agSrs1zRTT/MOrbWEf4Ui1l2JN+2vfKshFiwUqNMUcjRDyD4MqhGEsEVErB3kfn+ k4EdngmSDuVwjryD9Al7xNLsz4w= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=mf/DeJ9/iF0TFjjHyjEiQk wgZh8=; b=epmkXpS0QcLAOcJP1iv6d8gzq5VAzlNLC009GGoHC3MMiEgS7ULPZa SU8bWqpscM9apj74Chd90wlmmI1707q+lEDcwNRsHvoT29jYEDm9tppHDyYuPvEG Nl9SXM4RNzzvboiBsL2TJFlTbXNrN71fa216hTuOWT7v3X9WimhZ0= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 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) Subject: Re: cygserver - Postgres Multiple connection Load Testing - Inifinte Loop To: cygwin AT cygwin DOT com References: <200408030333 DOT i733XEXn023894 AT mx3 DOT redhat DOT com> <20040803100612 DOT GP31522 AT cygbert DOT vinschen DOT de> <20170321025614 DOT GA2100214 AT tornado DOT leadboat DOT com> <20170324171101 DOT GI29995 AT calimero DOT vinschen DOT de> <20170325113011 DOT GM29995 AT calimero DOT vinschen DOT de> From: Marco Atzeri Message-ID: <549659fd-8e8a-b10e-3ff2-0519ddcdfd74@gmail.com> Date: Sat, 25 Mar 2017 13:02:46 +0100 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 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