Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 49742 invoked from network); 13 Jan 2009 10:49:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Jan 2009 10:49:57 -0000 Received: (qmail 11459 invoked by uid 500); 13 Jan 2009 10:49:55 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 11427 invoked by uid 500); 13 Jan 2009 10:49:55 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 11418 invoked by uid 99); 13 Jan 2009 10:49:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jan 2009 02:49:55 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jan 2009 10:49:47 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1LMgpq-0005nq-Bz for user@geronimo.apache.org; Tue, 13 Jan 2009 02:49:26 -0800 Message-ID: <21433144.post@talk.nabble.com> Date: Tue, 13 Jan 2009 02:49:26 -0800 (PST) From: eros To: user@geronimo.apache.org Subject: Re: Startup time delay in Ubuntu server In-Reply-To: <4B2AAEFD-5538-4184-AFE8-0B988F00EF3B@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: eros.zanchetta@gmail.com References: <4963602A.4010201@apache.org> <4963F521.6020409@gmail.com> <21420457.post@talk.nabble.com> <4B2AAEFD-5538-4184-AFE8-0B988F00EF3B@gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org > I think you have a problem with system entropy that's causing a > problem generating pseudo-random numbers. > > While the server startup was stalled, I sent a kill -3 signal to the > server process (think I mentioned doing this earlier in this thread) > and got the following thread stack: Yep that's it! I tried the kill -3 thingy (didn't know about it, thanks!) and got the a stack trace just like yours. Having the server do some expensive calculations while tomcat starts up seems to improve the situation a bit (probably because this activity generates entropy). The thing that really does the trick is: mv /dev/random /dev/random.bak mv /dev/urandom dev/random even if I don't particularly like the security implications of this. The problem seems to be working on underused servers and is apparently more debian-related (see http://n0tablog.wordpress.com/2007/11/24/running-out-of-entropy-in-debian-etch/) than geronimo-related. -- View this message in context: http://www.nabble.com/Startup-time-delay-in-Ubuntu-server-tp21301711s134p21433144.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.