From adamw@FreeBSD.org Sun Apr 24 15:49:46 2011 Return-Path: Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C542C106566C for ; Sun, 24 Apr 2011 15:49:46 +0000 (UTC) (envelope-from adamw@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7BDA88FC0C for ; Sun, 24 Apr 2011 15:49:46 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p3OFnkFi001199 for ; Sun, 24 Apr 2011 15:49:46 GMT (envelope-from adamw@freefall.freebsd.org) Received: (from adamw@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p3OFnkBO001198; Sun, 24 Apr 2011 15:49:46 GMT (envelope-from adamw) Message-Id: <201104241549.p3OFnkBO001198@freefall.freebsd.org> Date: Sun, 24 Apr 2011 15:49:46 GMT From: Adam Weinberger Reply-To: Adam Weinberger To: FreeBSD-gnats-submit@freebsd.org Cc: Subject: Change log_pagesize on ViewVC (svnweb) X-Send-Pr-Version: 3.113 X-GNATS-Notify: >Number: 156614 >Category: www >Synopsis: Change log_pagesize on ViewVC (svnweb) >Confidential: no >Severity: non-critical >Priority: low >Responsible: clusteradm >State: closed >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Apr 24 15:50:10 UTC 2011 >Closed-Date: Mon Jan 09 21:30:29 UTC 2012 >Last-Modified: Mon Jan 09 21:30:29 UTC 2012 >Originator: Adam Weinberger >Release: FreeBSD 8.2-STABLE i386 >Organization: >Environment: System: FreeBSD freefall.freebsd.org 8.2-STABLE FreeBSD 8.2-STABLE #4 r220774: Mon Apr 18 13:56:14 UTC 2011 simon@freefall.freebsd.org:/usr/obj/usr/src/sys/FREEFALL i386 >Description: Using the log view is a great way to see recent commits to a branch. I like to see the latest activity just on -STABLE, for instance. ViewVC on svnweb is currently set to display the entire log. (On the svnweb main page, just click the Revision number of any branch.) This takes a very long time (a number of minutes), the returned page is gigantic, and probably takes an inordinate amount of CPU time and I/O to produce. >How-To-Repeat: >Fix: What about setting log_pagesize in viewvc.conf to something reasonable? 50 maybe? >Release-Note: >Audit-Trail: From: Adam Weinberger To: bug-followup@FreeBSD.org, adamw@adamw.org Cc: Subject: Re: www/156614: Change log_pagesize on ViewVC (svnweb) Date: Sun, 8 Jan 2012 17:25:33 -0500 --0016e6ddff0aa0b19d04b60bc2a7 Content-Type: text/plain; charset=ISO-8859-1 I still think the one-line change suggested in this PR is a good idea. Can someone in www@ please share a thought on this? The change suggests setting log_pagesize in viewvc.conf to a reasonable value, so that one can browse history on a branch without bringing their browser (and presumably the svnweb server) to its knees. # Adam -- Adam Weinberger adamw@adamw.org || adamw@FreeBSD.org http://www.adamw.org --0016e6ddff0aa0b19d04b60bc2a7 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I still think the one-line change suggested in this PR is a good idea. Can = someone in www@ please share a thought on this?

The change suggests = setting log_pagesize in viewvc.conf to a reasonable value, so that one can = browse history on a branch without bringing their browser (and presumably t= he svnweb server) to its knees.

# Adam


--
Adam Weinberger
adamw@adamw.org || adamw@FreeBS= D.org
http://www.adam= w.org


--0016e6ddff0aa0b19d04b60bc2a7-- Responsible-Changed-From-To: freebsd-www->clusteradm Responsible-Changed-By: bz Responsible-Changed-When: Mon Jan 9 19:53:19 UTC 2012 Responsible-Changed-Why: Take it to the other hats. http://www.freebsd.org/cgi/query-pr.cgi?pr=156614 State-Changed-From-To: open->closed State-Changed-By: simon State-Changed-When: Mon Jan 9 21:27:26 UTC 2012 State-Changed-Why: This sounds like a very good idea. I wasn't aware of that option. I have enabled it now with 100 entries per page as I personally like to see a good bit when looking at history. This can perhaps be tweaked later. http://www.freebsd.org/cgi/query-pr.cgi?pr=156614 >Unformatted: