Return-Path: Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: (qmail 75021 invoked from network); 15 Mar 2010 07:21:39 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 15 Mar 2010 07:21:39 -0000 Received: (qmail 59503 invoked by uid 500); 15 Mar 2010 07:20:53 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 59362 invoked by uid 500); 15 Mar 2010 07:20:53 -0000 Mailing-List: contact dev-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@forrest.apache.org List-Id: Delivered-To: mailing list dev@forrest.apache.org Received: (qmail 59354 invoked by uid 99); 15 Mar 2010 07:20:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Mar 2010 07:20:52 +0000 X-ASF-Spam-Status: No, hits=-1.8 required=10.0 tests=AWL,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [66.111.4.26] (HELO out2.smtp.messagingengine.com) (66.111.4.26) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Mar 2010 07:20:46 +0000 Received: from compute1.internal (compute1.internal [10.202.2.41]) by gateway1.messagingengine.com (Postfix) with ESMTP id AD688E499B for ; Mon, 15 Mar 2010 03:20:25 -0400 (EDT) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute1.internal (MEProxy); Mon, 15 Mar 2010 03:20:25 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=date:from:to:subject:message-id:references:mime-version:content-type:in-reply-to; s=smtpout; bh=Xpiz01oyYzySiEoREvqiU7nVvZA=; b=pYeh3riBQ1axs/czuYIfpFxGS9vcFxKcHSVfcWXSZpMc13KnNXE9GsNrF/82QQfm42hK80bRP9OZclS7Thnewfoxa0NekoPpgYhuxJl32r0c4pGNjlE6uVbZLn03fwohqyy6/2T9kUEg3c/QMw3JC5RpGB9IruUZ3TGKccUAEfA= X-Sasl-enc: D1iHE4bitSsCyWjuJap+U8KI5JbkO+D/fQgsWTJCU8kQ 1268637623 Received: from localhost (dsl-41-216.wholesaledsl.com.au [125.168.41.216]) by mail.messagingengine.com (Postfix) with ESMTPSA id C6B2C8D16 for ; Mon, 15 Mar 2010 03:20:23 -0400 (EDT) Date: Mon, 15 Mar 2010 18:20:20 +1100 From: David Crossley To: dev@forrest.apache.org Subject: Re: Zone updated to Java 1.5 Message-ID: <20100315072020.GB34642@igg.local> References: <01de01cac29b$af043b50$0d0cb1f0$@com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <01de01cac29b$af043b50$0d0cb1f0$@com.au> User-Agent: Mutt/1.4.2.3i Gav... wrote: > > I've altered the zone setup to point to Java 1.5 Thanks. However please note that most scripts and config are under version control in the forrest/zone SVN. So don't just edit them on the server. http://forrest.apache.org/zone.html > I've also set the recipient to myself initially to see what if any failures > come in so I can sort them so as to avoid spamming the list during the > transition. > > ---- > > On another note, I see we still have our cronjobs set to 2 hourly. > > One of them updates the trunk source every two odd hours. > > The other three build our versions and run them every two even hours. > > It was moved from 1 hour to two hours due to > > https://issues.apache.org/jira/browse/FOR-1061 > > I would say that issue is solved now, especially with the recent svn > upgrades. Yes, we should try again. From memory it was mainly about network and I/O troubles on helios. > However, I have another solution that makes better sense imho. That doesn't solve FOR-1061 if the slowness behaviour re-appears. Your idea surely will help, so yeah go for it. > We should go back to 'checking svn'; every hour for new commits, but ONLY do > an 'svn update' IF > any commits have happened during that time. The same for the builds, why > keep rebuilding every > hour or two hours if the source hasn't changed ? > > Take this January and February for example where only 1 commit in each month > took place. > During that time the zone would have done an svn update and rebuild three > sites approximately > 700 times in that period, 698 of them needlessly. > > So, I propose that we instead do a script like this: > > ----------------- > svn st -u | grep * > > if [ $? = 0 ]; then > > svn up > > /export/home/config/update-forrest-trunk.sh > > else > > fi > ----------------- Be careful with that bare asterisk. I wonder how expensive the 'svn st -u' is. Anyway, rebuilding only when neccessary is certainly good, so please do. -David > We then change the cronjob to run the above script every hour instead, and > will do nothing if no commit has happened in that time. I've been running > this on Buildbot for a year now and works great. > > Thoughts? > > Gav...