Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 46391 invoked from network); 6 Oct 2009 19:50:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Oct 2009 19:50:13 -0000 Received: (qmail 94096 invoked by uid 500); 6 Oct 2009 19:50:11 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 94010 invoked by uid 500); 6 Oct 2009 19:50:11 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 94000 invoked by uid 99); 6 Oct 2009 19:50:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Oct 2009 19:50:11 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of dionne@dionne-associates.com designates 67.222.54.7 as permitted sender) Received: from [67.222.54.7] (HELO outbound-mail-314.bluehost.com) (67.222.54.7) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 06 Oct 2009 19:50:00 +0000 Received: (qmail 22759 invoked by uid 0); 6 Oct 2009 19:48:38 -0000 Received: from unknown (HELO host183.hostmonster.com) (74.220.207.183) by outboundproxy6.bluehost.com with SMTP; 6 Oct 2009 19:48:38 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=dionne-associates.com; h=Received:Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Content-Transfer-Encoding:Message-Id:References:To:X-Mailer:X-Identified-User; b=UI/btiHSkUMa6zBC2F6YJbvpnJ9hekWkO0XcNVdCriQBIRF0uRcQsjOJWkjvUQd2cGNqNViuh2R+bx3M8hlonBUmzO867WmbrGiQDLF1737gPqafVB6ZCkOyHshR6IHw; Received: from dsl-67-158-176-29.fairpoint.net ([67.158.176.29] helo=[192.168.2.101]) by host183.hostmonster.com with esmtpa (Exim 4.69) (envelope-from ) id 1MvG1V-0001hF-S2 for user@couchdb.apache.org; Tue, 06 Oct 2009 13:48:38 -0600 Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Mime-Version: 1.0 (Apple Message framework v1076) Subject: Re: Timeout Error when trying to access views + Indexing problems From: Robert Dionne In-Reply-To: <6cfccb3d0910061242s33be1bb5j9dbffb8dd7091c25@mail.gmail.com> Date: Tue, 6 Oct 2009 15:48:36 -0400 Content-Transfer-Encoding: 7bit Message-Id: <538FD38A-DE89-4F53-8B2C-D6DF90B9774C@dionne-associates.com> References: <6cfccb3d0910030910m678c9157o811a57e02ffbeff0@mail.gmail.com> <6cfccb3d0910031824q5d9362c2k7719b32a779e956f@mail.gmail.com> <1521F562-7878-423B-BEC3-FF2A1916DA0C@gmail.com> <6cfccb3d0910032307i1df64f79u437d5c803bff2c50@mail.gmail.com> <6cfccb3d0910052346hb4ca0b3o7eb6e77fec4ac1a7@mail.gmail.com> <99817787-2B70-4346-A4BA-21C7C258AC65@apache.org> <6cfccb3d0910061242s33be1bb5j9dbffb8dd7091c25@mail.gmail.com> To: user@couchdb.apache.org X-Mailer: Apple Mail (2.1076) X-Identified-User: {2551:host183.hostmonster.com:dionneas:dionne-associates.com} {sentby:smtp auth 67.158.176.29 authed with dionne@dionne-associates.com} X-Virus-Checked: Checked by ClamAV on apache.org Internally you can put some erlang:process_info (self (), memory) statements in. On Oct 6, 2009, at 3:42 PM, Glenn Rempe wrote: > Is there some way we can instrument and log how much memory the VM > thinks it has somewhere in the critical path piece of erlang code? Or > is there another way I can track that externally? > > G > > On Tue, Oct 6, 2009 at 12:13 PM, Adam Kocoloski > wrote: >> On Oct 6, 2009, at 2:46 AM, Glenn Rempe wrote: >> >> TMI logging doesn't really exist, no one uses that level >> internally. I >> agree with Paul here, the lack of error messages indicates an >> instant VM >> death. The most common way to cause that is by running out of >> memory, but >> view indexing is not supposed to use a large amount of memory at all. >> >> Adam