From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: * X-Spam-ASN: AS14383 205.234.109.0/24 X-Spam-Status: No, score=1.0 required=3.0 tests=AWL,HK_RANDOM_FROM, MSGID_FROM_MTA_HEADER shortcircuit=no autolearn=no version=3.3.2 Path: news.gmane.org!not-for-mail From: Eric Wong Newsgroups: gmane.comp.lang.ruby.rainbows.general Subject: Re: Page request roundtrip time increases substantially after a bit of use Date: Tue, 25 Jan 2011 02:02:25 +0000 Message-ID: <20110125020225.GA7932@dcvr.yhbt.net> References: <571697.98064.qm@web63303.mail.re1.yahoo.com> <20110124215440.GA25489@dcvr.yhbt.net> <20110125001107.GA1921@dcvr.yhbt.net> <443004.19531.qm@web63301.mail.re1.yahoo.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1295926443 30242 80.91.229.12 (25 Jan 2011 03:34:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 25 Jan 2011 03:34:03 +0000 (UTC) To: Rainbows! list Original-X-From: rainbows-talk-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Tue Jan 25 04:33:59 2011 Return-path: Envelope-to: gclrrg-rainbows-talk@m.gmane.org X-Original-To: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Delivered-To: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Content-Disposition: inline In-Reply-To: <443004.19531.qm-9Fhxc66Fx5iB9c0Qi4KiSlZ8N9CAUha/QQ4Iyu8u01E@public.gmane.org> User-Agent: Mutt/1.5.18 (2008-05-17) X-BeenThere: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: rainbows-talk-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Errors-To: rainbows-talk-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Xref: news.gmane.org gmane.comp.lang.ruby.rainbows.general:201 Archived-At: Received: from rubyforge.org ([205.234.109.19]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PhZfK-0002O2-O6 for gclrrg-rainbows-talk@m.gmane.org; Tue, 25 Jan 2011 04:33:59 +0100 Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 23C2118583AF; Mon, 24 Jan 2011 22:33:58 -0500 (EST) Received: from dcvr.yhbt.net (dcvr.yhbt.net [64.71.152.64]) by rubyforge.org (Postfix) with ESMTP id 642971678323 for ; Mon, 24 Jan 2011 21:02:27 -0500 (EST) Received: from localhost (unknown [127.0.2.5]) by dcvr.yhbt.net (Postfix) with ESMTP id 646D01F7E4; Tue, 25 Jan 2011 02:02:26 +0000 (UTC) chris mckenzie wrote: > Hi Eric, > > I'll prepare a more formal response in a bit, but here is my test run: > rainbows -c config.rb rackup.ru Thanks, I'm trying to reproduce it now. Are you able to reproduce it more quickly by throwing some ab or httperf runs in the mix to make more requests? Reducing worker_processes usually help reproduce issues more quickly, too, especially if it's a resource leak. > The memory footprint remained flat. > The CPU usage did not spike noticeably > netstat -an did reveal some CLOSE_WAIT values on the ports but nothing that > hadn't previously been pointed out. Also, do you have any iptables/firewall/QoS settings on that machine that could be interfering? I haven't noticed anything in CLOSE_WAIT since I started testing it a few minutes ago. Maybe it takes longer, but CLOSE_WAIT has always been a rarity to see in my years of working with TCP client/servers... > The (CSV) output of the test can be seen here: > http://qaa.ath.cx/single-request.csv.gz Just covering all my bases here, you don't have a super slow disk/filesystem that bogs down your entire system once your logs grow to a certain size, right? > For those of you without any visualization software, I made a rudimentary graph > from the data here: > > http://qaa.ath.cx/single-request.png > > You can clearly see how the delay increases and then doesn't ever go back down > to previous levels. Very strange. I'm testing on my 32-bit machine with ruby 1.8.7 (2010-12-23 patchlevel 330) [i686-linux] straight off of ruby-lang.org . I usually use Rainbows! with 1.9.2-p136 and will try that if I can reproduce the bug under 1.8.7, too. > I'll research answers to your previous questions now. Thanks for looking into > this! Alright, thanks! -- Eric Wong _______________________________________________ Rainbows! mailing list - rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org http://rubyforge.org/mailman/listinfo/rainbows-talk Do not quote signatures (like this one) or top post when replying