Return-Path: X-Original-To: apmail-incubator-allura-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-allura-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B8A1A106AD for ; Thu, 16 Jan 2014 16:43:47 +0000 (UTC) Received: (qmail 43980 invoked by uid 500); 16 Jan 2014 16:43:47 -0000 Delivered-To: apmail-incubator-allura-dev-archive@incubator.apache.org Received: (qmail 43957 invoked by uid 500); 16 Jan 2014 16:43:47 -0000 Mailing-List: contact allura-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: allura-dev@incubator.apache.org Delivered-To: mailing list allura-dev@incubator.apache.org Received: (qmail 43945 invoked by uid 99); 16 Jan 2014 16:43:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Jan 2014 16:43:47 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of noreply@sourceforge.net designates 216.34.181.60 as permitted sender) Received: from [216.34.181.60] (HELO smtp.ch3.sourceforge.com) (216.34.181.60) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Jan 2014 16:43:43 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.com; s=x; h=Date:Message-ID:Subject:Reply-To:From:To:MIME-Version:Content-Type; bh=JULc8QQG+soBxQaKEryRapYzHuDS6gbAkMjdNY7biTU=; b=V12Ylq2kbe1O6q68fbocs44SCoJUo9b+ntnOO/v5Obb7T8DWTbLgHiieVZa4WBzxzgEvxgv/R2iB/KuvzLBIC/bdS10AdO+tGnG0MBORgLmbrg/vifC4x1lz0wEth1raWhEyUXuMb2vGAxCXstmf1Z/BH0IY15atgMMjL96GYxI=; Received: from localhost ([127.0.0.1] helo=sfs-alluradaemon-1.v29.ch3.sourceforge.com) by sfs-alluradaemon-1.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1W3q2M-0007XL-FE for allura-dev@incubator.apache.org; Thu, 16 Jan 2014 16:43:22 +0000 Content-Type: multipart/related; boundary="===============3142975979496869995==" MIME-Version: 1.0 To: allura-dev@incubator.apache.org From: "Dave Brondsema" Reply-To: "Ticket 7065" <7065@tickets.allura.p.re.sf.net> Subject: [allura:tickets] #7065 Slow post queries happening on invalid URLs Message-ID: <52d80c2904161f168a658b0e.tickets@allura.p.sourceforge.net> Date: Thu, 16 Jan 2014 16:43:22 +0000 X-Virus-Checked: Checked by ClamAV on apache.org --===============3142975979496869995== Content-Type: multipart/alternative; boundary="===============0341360432980656113==" MIME-Version: 1.0 --===============0341360432980656113== MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit --- ** [tickets:#7065] Slow post queries happening on invalid URLs** **Status:** in-progress **Labels:** performance **Created:** Thu Jan 16, 2014 04:43 PM UTC by Dave Brondsema **Last Updated:** Thu Jan 16, 2014 04:43 PM UTC **Owner:** Dave Brondsema On a URL like `/p/foobar/tickets/_discuss/thread/092b4865/3547/blah/blah/bogus` the response is quite slow, e.g. stats.log: `"timings": {"total": 466534, "mongo": 466506, "ming": 466516}}}` This is due to an unindexed mongo query: `query project-data.post query: { slug: "3547/blah/blah/bogus" } ntoreturn:0 ntoskip:0 nscanned:19604 keyUpdates:0 numYields: 503 locks(micros) r:37235 nreturned:0 reslen:20 5253ms` --- Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. --===============0341360432980656113== MIME-Version: 1.0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: 7bit

[tickets:#7065] Slow post queries happening on invalid URLs

Status: in-progress
Labels: performance
Created: Thu Jan 16, 2014 04:43 PM UTC by Dave Brondsema
Last Updated: Thu Jan 16, 2014 04:43 PM UTC
Owner: Dave Brondsema

On a URL like /p/foobar/tickets/_discuss/thread/092b4865/3547/blah/blah/bogus the response is quite slow, e.g. stats.log: "timings": {"total": 466534, "mongo": 466506, "ming": 466516}}}

This is due to an unindexed mongo query: query project-data.post query: { slug: "3547/blah/blah/bogus" } ntoreturn:0 ntoskip:0 nscanned:19604 keyUpdates:0 numYields: 503 locks(micros) r:37235 nreturned:0 reslen:20 5253ms


Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.

--===============0341360432980656113==-- --===============3142975979496869995==--