Return-Path: Delivered-To: apmail-hadoop-zookeeper-user-archive@minotaur.apache.org Received: (qmail 49961 invoked from network); 10 Jun 2010 23:06:50 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 10 Jun 2010 23:06:50 -0000 Received: (qmail 57246 invoked by uid 500); 10 Jun 2010 23:06:50 -0000 Delivered-To: apmail-hadoop-zookeeper-user-archive@hadoop.apache.org Received: (qmail 57220 invoked by uid 500); 10 Jun 2010 23:06:50 -0000 Mailing-List: contact zookeeper-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: zookeeper-user@hadoop.apache.org Delivered-To: mailing list zookeeper-user@hadoop.apache.org Received: (qmail 57207 invoked by uid 99); 10 Jun 2010 23:06:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jun 2010 23:06:50 +0000 X-ASF-Spam-Status: No, hits=0.8 required=10.0 tests=AWL,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ted.dunning@gmail.com designates 209.85.212.176 as permitted sender) Received: from [209.85.212.176] (HELO mail-px0-f176.google.com) (209.85.212.176) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jun 2010 23:06:44 +0000 Received: by pxi10 with SMTP id 10so323835pxi.35 for ; Thu, 10 Jun 2010 16:06:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=tx+hWv4L7YAgvN088RcslEp1iIJX9cTgKX4KdgMhj5w=; b=xttpwsgxeF5V8RPY4gxJ51HAoG08FuGx7nwQZHMEcdhOnGbQDOibeDcgMu3/kGcTmN h2vy+x/PQG1zobUckUgnYBp5mKRM09Bu1L2Oh/0By2veTe602Ezirl1VH+2IIEMQhCwy uya7vvO6ZIFuTKfoBOPiuD/RQMs/lkUJgMcYI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=wfptGbRXWmtWaC5RA1E02T+nPDxOiCTNC5ReVH/Cu7vNNXqCG2OFbb3VfDtjCu3VCp OuGsybna7vgzMyWnHIQLuN+H5phXXcM46gxuXGcNe25AwVAfeGtkwb34VuPJ8MIz98xi 2H0Kin032pGs/dYP/sWKPWIDBFZqxLQe3fkUQ= Received: by 10.142.10.1 with SMTP id 1mr651978wfj.110.1276211184107; Thu, 10 Jun 2010 16:06:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.141.13.18 with HTTP; Thu, 10 Jun 2010 16:06:04 -0700 (PDT) In-Reply-To: <3A563BEA-AAE6-4B79-901A-D8F94BA28D71@proofpoint.com> References: <78A3B8B0-DD3C-4DF6-8B28-E868E990A92B@proofpoint.com> <4C0FE1D5.5060708@apache.org> <4C1021F1.2070202@apache.org> <3A563BEA-AAE6-4B79-901A-D8F94BA28D71@proofpoint.com> From: Ted Dunning Date: Thu, 10 Jun 2010 16:06:04 -0700 Message-ID: Subject: Re: Debugging help for SessionExpiredException To: zookeeper-user@hadoop.apache.org Cc: Patrick Hunt , Lei Zhang Content-Type: multipart/alternative; boundary=00504502acf44981f10488b51205 --00504502acf44981f10488b51205 Content-Type: text/plain; charset=UTF-8 Possibly. I have seen GC times of > 4 minutes on some large processes. Better to set the GC parameters so you don't get long pauses. On http://wiki.apache.org/hadoop/ZooKeeper/Troubleshooting it mentions using the "-XX:ParallelGCThreads=8 -XX:+UseConcMarkSweepGC" options. I recommend adding -XX:+UseParNewGC -XX:+CMSParallelRemarkEnabled -XX:+DisableExplicitGC You may want to tune the actual parameters of the GC itself. These should not be used in general, but might be helpful for certain kinds of servers: -XX:MaxTenuringThreshold=6 -XX:SurvivorRatio=6 -XX:CMSInitiatingOccupancyFraction=60 -XX:+UseCMSInitiatingOccupancyOnly Finally, you should always add options for lots of GC diagnostics: -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintTenuringDistribution On Thu, Jun 10, 2010 at 3:49 PM, Jordan Zimmerman wrote: > If I set my session timeout very high (1 minute) this shouldn't happen, > right? > --00504502acf44981f10488b51205--