Return-Path: X-Original-To: apmail-builds-archive@minotaur.apache.org Delivered-To: apmail-builds-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 61091178CA for ; Wed, 1 Oct 2014 23:34:59 +0000 (UTC) Received: (qmail 67820 invoked by uid 500); 1 Oct 2014 23:34:59 -0000 Delivered-To: apmail-builds-archive@apache.org Received: (qmail 67743 invoked by uid 500); 1 Oct 2014 23:34:59 -0000 Mailing-List: contact builds-help@apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: builds@apache.org Delivered-To: mailing list builds@apache.org Received: (qmail 67721 invoked by uid 99); 1 Oct 2014 23:34:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Oct 2014 23:34:58 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of andrew.bayer@gmail.com designates 74.125.82.46 as permitted sender) Received: from [74.125.82.46] (HELO mail-wg0-f46.google.com) (74.125.82.46) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Oct 2014 23:34:33 +0000 Received: by mail-wg0-f46.google.com with SMTP id k14so1932186wgh.29 for ; Wed, 01 Oct 2014 16:34:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=3zGuxK9AcB+0Apsg5JSy8a3FZHTNfSyTOJ7Ebuy+DAY=; b=zZUGwaDjCCHjsSBInq11Sc2C9v/+q6eWjeoiIhnobMBBTdEG8elwLQLmAosNvgGlMD zqwpdepBVq4yRr1M1utvacrzk0vAAmcdWUvOKONiEQB5H20L8arBYQ+CEygKVrYiikI9 YG02nN1qYawdbbp4uKEBNah7z5bB1drnoUaerzqXFqRDn9EIkO82X2FD2nwOSJ0J3X9u DdYXHWvXFi69WsqNlNQ0i777VBxO2SG44T6+VHgha3yqwvEiq8lV5rA866IY07A24+LM EUaDgwkQQ/AkoUhBDR8huHxuyCSfT0jNA90O7Nw8M3OUtxEBO/Ed1vS4/cXZimaMxy6b vozQ== X-Received: by 10.180.100.101 with SMTP id ex5mr14916464wib.79.1412206472852; Wed, 01 Oct 2014 16:34:32 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.74.132 with HTTP; Wed, 1 Oct 2014 16:34:12 -0700 (PDT) In-Reply-To: References: From: Andrew Bayer Date: Wed, 1 Oct 2014 16:34:12 -0700 Message-ID: Subject: Re: Ulimit on machines To: "builds@apache.org" Cc: Rajiv Chittajallu Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org You mean the change Rajiv just made? I'm not sure what that was exactly. On Wed, Oct 1, 2014 at 4:29 PM, Giridharan Kesavan wrote: > Andrew, > > could you pls fix them in the ansible script, that way > the configuration is re-producible? > https://github.com/apache/toolchain/ > > Let me know if you need help with fixing through ansible.. > > > -giri > > On Wed, Oct 1, 2014 at 3:57 PM, Andrew Bayer wro= te: > >> Tweaking all the slaves to go offline when idle - I'll switch 'em back >> to normal "always on" once they've all had a chance to >> disconnect/reconnect. >> >> A. >> >> On Wed, Oct 1, 2014 at 3:50 PM, Rajiv Chittajallu >> wrote: >> > /etc/security/limits.conf is only used by pam_sessions. Limits are set >> for >> > processes, based on this configs, only if an session is initiated via = a >> > process (login/sudo/ssh etc) that uses PAM. Processes started by upsta= rt, >> > or manually (including root) would only inherit parent limits, what ev= er >> > that is, independent of user id. >> > >> > >> > Root (or any caller with CAP_SYS_RESOURCE privs) can update/set limits >> for >> > current for spawned children. These doesn=C2=B9t read >> /etc/security/limits.conf >> > either. >> > >> > Current issue was in PAM being disabled in standard ASF configs for SS= HD. >> > So sessions started via sshd, has default limits, inherited from sshd >> > process. This has been fixed now. Once jenkins slaves are restarted (v= ia >> > new ssh session), they should get appropriate limits per limits.conf. >> > >> > Host reboot is not required to change limits for a process. >> > >> > -rajive >> > >> > On 10/1/14, 3:21 PM, "Andrew Bayer" wrote: >> > >> >>Root seems to still have that set to 1024 - might be that the way that >> >>Jenkins is ssh'ing it's inheriting the limits from root or something? >> >> >> >>On Wed, Oct 1, 2014 at 3:14 PM, Giridharan Kesavan >> >> wrote: >> >>> It=C2=B9s set permanently in the limits.conf. But somehow jenkins it= s not >> >>> picking it up >> >>> , even after a reboot. >> >>> >> >>> >> >>> >> >>> jenkins@asf905:~$ hostname -fasf905.gq1.ygridcore.net >> >>> jenkins@asf905:~$ ulimit -n >> >>> 60000 >> >>> >> >>> jenkins@asf905:~$ cat /etc/security/limits.conf | grep nofile >> >>> # - nofile - max number of open files >> >>> jenkins soft nofile 60000 >> >>> jenkins hard nofile 60000 >> >>> >> >>> >> >>> >> >>> -giri >> >>> >> >>> On Wed, Oct 1, 2014 at 2:10 PM, David Nalley >> wrote: >> >>> >> >>>> Rajiv: >> >>>> >> >>>> Can you take a look at BUILDS-17 - we don't seem to be able to chan= ge >> >>>> ulimit on a number of machines at Yahoo!. Or rather, it's not >> >>>> preserved past reboot it seems. >> >>>> >> >>>> https://issues.apache.org/jira/browse/BUILDS-17 >> >>>> >> >>>> Thanks, >> >>>> >> >>>> --David >> >>>> >> >>> >> >>> -- >> >>> CONFIDENTIALITY NOTICE >> >>> NOTICE: This message is intended for the use of the individual or >> >>>entity to >> >>> which it is addressed and may contain information that is confidenti= al, >> >>> privileged and exempt from disclosure under applicable law. If the >> >>>reader >> >>> of this message is not the intended recipient, you are hereby notifi= ed >> >>>that >> >>> any printing, copying, dissemination, distribution, disclosure or >> >>> forwarding of this communication is strictly prohibited. If you have >> >>> received this communication in error, please contact the sender >> >>>immediately >> >>> and delete it from your system. Thank You. >> > >> > > -- > CONFIDENTIALITY NOTICE > NOTICE: This message is intended for the use of the individual or entity = to > which it is addressed and may contain information that is confidential, > privileged and exempt from disclosure under applicable law. If the reader > of this message is not the intended recipient, you are hereby notified th= at > any printing, copying, dissemination, distribution, disclosure or > forwarding of this communication is strictly prohibited. If you have > received this communication in error, please contact the sender immediate= ly > and delete it from your system. Thank You.