Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9F5EEC543 for ; Thu, 11 Jul 2013 07:16:57 +0000 (UTC) Received: (qmail 16316 invoked by uid 500); 11 Jul 2013 07:16:53 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 16101 invoked by uid 500); 11 Jul 2013 07:16:45 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 16092 invoked by uid 99); 11 Jul 2013 07:16:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Jul 2013 07:16:43 +0000 X-ASF-Spam-Status: No, hits=-2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_HI,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [135.245.0.35] (HELO ihemail2.lucent.com) (135.245.0.35) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Jul 2013 07:16:35 +0000 Received: from us70tusmtp2.zam.alcatel-lucent.com (h135-5-2-64.lucent.com [135.5.2.64]) by ihemail2.lucent.com (8.13.8/IER-o) with ESMTP id r6B7GD7P027571 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Thu, 11 Jul 2013 02:16:13 -0500 (CDT) Received: from US70UWXCHHUB01.zam.alcatel-lucent.com (us70uwxchhub01.zam.alcatel-lucent.com [135.5.2.48]) by us70tusmtp2.zam.alcatel-lucent.com (GMO) with ESMTP id r6B7GChl022921 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Thu, 11 Jul 2013 03:16:13 -0400 Received: from SG70XWXCHHUB01.zap.alcatel-lucent.com (135.253.2.46) by US70UWXCHHUB01.zam.alcatel-lucent.com (135.5.2.48) with Microsoft SMTP Server (TLS) id 14.2.247.3; Thu, 11 Jul 2013 03:16:12 -0400 Received: from SG70XWXCHMBA01.zap.alcatel-lucent.com ([169.254.1.34]) by SG70XWXCHHUB01.zap.alcatel-lucent.com ([135.253.2.46]) with mapi id 14.02.0247.003; Thu, 11 Jul 2013 15:16:09 +0800 From: "Wan, Jian Ming (Jian Ming)" To: Tomcat Users List Subject: org.apache.catalina.util.SessionIdGenerator createSecureRandom consumes a lot of time, how to avoid it? Thread-Topic: org.apache.catalina.util.SessionIdGenerator createSecureRandom consumes a lot of time, how to avoid it? Thread-Index: Ac5+Bq8JnV1fZ4BcTlOHci7HMlRcZA== Date: Thu, 11 Jul 2013 07:16:08 +0000 Message-ID: <451437DA52A157459E0275B30A72951E012F00@SG70XWXCHMBA01.zap.alcatel-lucent.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [135.253.19.18] Content-Type: multipart/alternative; boundary="_000_451437DA52A157459E0275B30A72951E012F00SG70XWXCHMBA01zap_" MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.57 on 135.245.2.35 X-Virus-Checked: Checked by ClamAV on apache.org --_000_451437DA52A157459E0275B30A72951E012F00SG70XWXCHMBA01zap_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Some time tomcat took a long time to start up. From the log, I can see. Wha= t shall I do? Jul 10, 2013 1:01:12 PM org.apache.catalina.util.SessionIdGenerator createS= ecureRandom INFO: Creation of SecureRandom instance for session ID generation using [SH= A1PRNG] took [25,121] milliseconds. --_000_451437DA52A157459E0275B30A72951E012F00SG70XWXCHMBA01zap_--