From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.224.28.131 with SMTP id m3cs83867qac; Thu, 3 Mar 2011 09:46:19 -0800 (PST) Received: by 10.43.65.147 with SMTP id xm19mr2075064icb.513.1299174379252; Thu, 03 Mar 2011 09:46:19 -0800 (PST) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id wd19si2979110icb.51.2011.03.03.09.46.17; Thu, 03 Mar 2011 09:46:18 -0800 (PST) Received-SPF: pass (google.com: domain of sup-devel-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) client-ip=205.234.109.19; Authentication-Results: mx.google.com; spf=pass (google.com: domain of sup-devel-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) smtp.mail=sup-devel-bounces@rubyforge.org Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id BF9271858376 for ; Thu, 3 Mar 2011 12:46:17 -0500 (EST) Received: from sam.mediasupervision.de (sam.mediasupervision.de [80.152.3.104]) by rubyforge.org (Postfix) with ESMTP id 27192185835A for ; Thu, 3 Mar 2011 12:32:40 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by sam.mediasupervision.de (Postfix) with ESMTP id EB12B485C40; Thu, 3 Mar 2011 18:32:37 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at sam.mediasupervision.de Received: from sam.mediasupervision.de ([127.0.0.1]) by localhost (sam.mediasupervision.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 99K2GGSG2FDc; Thu, 3 Mar 2011 18:32:36 +0100 (CET) Received: by sam.mediasupervision.de (Postfix, from userid 1000) id B07A0485DA5; Thu, 3 Mar 2011 18:32:34 +0100 (CET) From: Gregor Hoffleit To: William Morgan In-reply-to: <1299091467-sup-7084@masanjin.net> References: <1298320404-sup-5972@masanjin.net> <1298744738-sup-631@whisper> <1298757625-sup-9756@masanjin.net> <1298762120-sup-1118@masanjin.net> <1299008245-sup-5110@whisper> <1299062215-sup-8517@sam.mediasupervision.de> <1299091467-sup-7084@masanjin.net> Date: Thu, 03 Mar 2011 18:32:34 +0100 Message-Id: <1299172989-sup-8183@sam.mediasupervision.de> User-Agent: Sup/git Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-1299173554-658843-16375-3778-7-=" Cc: sup-devel Subject: Re: [sup-devel] sup-server revisited X-BeenThere: sup-devel@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: Sup developer discussion List-Id: Sup developer discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: sup-devel-bounces@rubyforge.org Errors-To: sup-devel-bounces@rubyforge.org --=-1299173554-658843-16375-3778-7-= Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline William, I was able to isolate my problem: For me, heliotrope-add hangs for messages with more than 32768 content lines. I have attached two mbox files, each containing a single message. The message in good.mbox has 32768 content lines (excluding header) and has no problem in heliotrope-add. The message in bad.mbox has 32769 content lines, and heliotrope-add hangs when trying to add this message. I haven't yet tried to locate the locate the problem in the source. Regards, Gregor * William Morgan [Mi Mär 02 19:51:58 +0100 2011] > Reformatted excerpts from Gregor Hoffleit's message of 2011-03-02: > > I can't give away the mbox file. Any hints how I could debug the > > heliotrope-server script? > > Can you isolate the message? It might be that it has a huge attachment > that RMail is taking forever to parse, and that results in a client > timeout. > > I need to move the message processing out of the request loop, > obviously. > > As a workaround (which also is much faster), kill the server, wipe > everything, and use `heliotrope-add -d ` to import an mbox or > maildir without having to go through HTTP. > > > Nice work otherwise! The web client is a nice demonstration of what > > might come out of this project ;-) > > Thanks! I'm currently working on stripping everything out of Sup that > will be handled by the server. The good news is that this is a LOT, and > that Sup will be much leaner and meaner than before. --=-1299173554-658843-16375-3778-7-= Content-Disposition: attachment; filename="mbox-32768lines.tar.gz" Content-Type: application/x-gzip; name="mbox-32768lines.tar.gz" Content-Transfer-Encoding: base64 H4sIAJ7Qb00AA+3U0WrbSBQGYF/rKea+jZmRZHsjQ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us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Sup-devel mailing list Sup-devel@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-devel --=-1299173554-658843-16375-3778-7-=--