From owner-freebsd-java@freebsd.org Mon Jun 29 21:46:31 2015 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4371D990078; Mon, 29 Jun 2015 21:46:31 +0000 (UTC) (envelope-from mizhka@gmail.com) Received: from mail-la0-x22f.google.com (mail-la0-x22f.google.com [IPv6:2a00:1450:4010:c03::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B361A1968; Mon, 29 Jun 2015 21:46:30 +0000 (UTC) (envelope-from mizhka@gmail.com) Received: by lagx9 with SMTP id x9so141633393lag.1; Mon, 29 Jun 2015 14:46:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:subject:to:cc:message-id:in-reply-to:references :mime-version:content-type; bh=W30awW3sy7X8pnxFDZMhKgHsNwv+e/O70M/xCka6GCE=; b=fMZmbx1oEFCVLnt3iVeyOcLsc/pnOXRzFeGLsd+fpOtgl8mJWph5Uuiq1r4tESz0V3 c6MK3Zeq4XGe02W4CDPQlqGzAAwlFDb4h0N7QD9/bhXovFoDOVWOVssVkS+dnzNCLi1J CFLxc8ObEMFaMQ3m2AwG6N5xcRr+9k6d5J1eFk+Hjt2nxqgEqAv5tGg1j9JddaWEupJI FbDrvdvD0mtC5t3Anj2UdAubwebfZNwfgq/VsStYx0nLVqeHCFbRkLcFaPTA9KSOnIBm qzx4zNVFdKaBfBWroEIbmEfc0Qm94jd5/sfMtD4mYCMO7+VMOwP+eydCl7+c8/SjDeCV yXMA== X-Received: by 10.152.5.65 with SMTP id q1mr16283745laq.110.1435614388220; Mon, 29 Jun 2015 14:46:28 -0700 (PDT) Received: from [192.168.1.177] (95-31-221-127.broadband.corbina.ru. [95.31.221.127]) by mx.google.com with ESMTPSA id rl1sm9650701lac.14.2015.06.29.14.46.26 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Jun 2015 14:46:27 -0700 (PDT) Date: Tue, 30 Jun 2015 00:46:25 +0300 From: Michael Zhilin Subject: Re: Requests for Help: add FreeBSD procstat support to akuma library for Jenkins To: Jung-uk Kim , Craig Rodrigues Cc: "freebsd-testing@freebsd.org" , George Neville-Neil , "freebsd-java@freebsd.org" Message-Id: <1435614385.5387.0@smtp.gmail.com> In-Reply-To: <559173E7.30603@FreeBSD.org> References: <8CA148D7-81AF-41F8-AA41-9D7700B27242@neville-neil.com> <558C62B6.6030004@FreeBSD.org> <559173E7.30603@FreeBSD.org> X-Mailer: geary/0.10.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jun 2015 21:46:31 -0000 Hi, Here is possible fix (at least works for me @FBSD10-stable): https://github.com/kohsuke/akuma/pull/9 Could you please test it with Jenkins auto-restart? Thank you, Michael! On Mon, Jun 29, 2015 at 7:35 PM, Jung-uk Kim wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > On 06/28/2015 17:15, Craig Rodrigues wrote: >> On Thu, Jun 25, 2015 at 4:21 PM, Jung-uk Kim >> wrote: >> >> You can try the attached trivial patch. Note it requires >> procfs(5). >> >> >> Thanks for submitting that patch. I thought about something like >> that before. >> >> I am hesitant about pushing this patch upstream, because it would >> make akuma + Jenkins dependent on procfs. This dependency would be >> new, since FreeBSD procfs is not mandatory and only available as >> an option. >> >> Since procstat has been available in the base system since FreeBSD >> 7.1, I recommended using that in the akuma library, even though it >> is a little bit more work to implement. > > Although I agree that using procfs is not ideal, we already use procfs > for Java implementations. > > https://svnweb.freebsd.org/ports/head/java/openjdk6/pkg-message?revision=340719&view=co > https://svnweb.freebsd.org/ports/head/java/openjdk7/pkg-message?revision=357236&view=co > https://svnweb.freebsd.org/ports/head/java/openjdk8/pkg-message?revision=349468&view=co > > I don't see any reason to prefer procstat. > > Jung-uk Kim > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2 > > iQEcBAEBCAAGBQJVkXPnAAoJEHyflib82/FG/7YH/jkfoWyOQ3e/8kGcP0GhUK3q > EBBHzvvgOy/KiCnVsRdDNsTKo6RoI2jh9z+zPsf/AoPCi9mFalLWhQM5TSIVzBbM > 8nmOKtIj58fCkquBVRsWC2cDDlCB+A04O0/rukLYDDxLIL5dDxTdD0ZgWJ5/JsT7 > zZQ6qoLtGwF7FvmHQ8u8LQ70HZHjBbZ9I7QgmbwqtkSF1pXBf/mKyucKBoKmxPlc > /V2IdNKbpxGVclFwfg2SYR73Cbo6au7GEIKDJ4ud0lpo7hmQlefA87qg3P+n8/yI > ZUUGSoNzNrB4rxdjT8DY9fSEqYu+JYdt67dsbZd5laKQn9ZiKpd/L/uZvrJCxXo= > =RMCF > -----END PGP SIGNATURE----- > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to > "freebsd-java-unsubscribe@freebsd.org"