Re: [viewvc-users] viewvc performance?

Dan Stromberg <[email protected]>
Newsgroups gmane.comp.version-control.cvs.viewcvs.user
Message-ID <[email protected]>
On Tue, Mar 1, 2011 at 1:48 PM, Dan Stromberg <[email protected]> wrote:

>
> On Tue, Mar 1, 2011 at 12:41 PM, C. Michael Pilato <[email protected]>wrote:
>
>> On 02/28/2011 01:58 PM, Dan Stromberg wrote:
>> >
>> > I keep getting googlebot hitting my viewvc so long and hard, that it
>> makes
>> > my server almost unusable for anything else.
>> >
>> > Is there more than one way of configuring viewvc with respect to
>> > performance?   Perhaps one that would be faster?
>>
>> I was reminded elsewhere today that one other thing you can do is to
>> configure your web server to serve up ViewVC's "docroot" directory
>> statically, and then tweak the 'docroot' viewvc.conf option to point to
>> that
>> static prefix.  That way all the "extra" requests (for icons, stylesheets,
>> etc.) can be more efficiently served by the web server without going
>> through
>> ViewVC itself.
>>
>> --
>> C. Michael Pilato <[email protected]>
>> CollabNet   <>   www.collab.net   <>   Distributed Development On Demand
>>
>>
> I have two rather large files - the others are all source files, and there
> isn't that much history with them.
>
> I wonder if I could robots.txt just those two files...?
>

robots.txt'ing my two large files (or rather, the two directories containing
them) doesn't appear to have helped - I'm still getting viewvc processes
that're well over half a gigabyte of resident set.

Is it possible viewvc wants to inhale an entire file at a time, rather than
iterating over some modest block size as it reads from disk?

FWIW, here's my robots.txt:
$ cat /var/www/robots.txt
cmd started 2011 Fri Apr 15 10:37:53 AM
User-agent: *
Disallow: /svn/ubcd2usb-linux/
Disallow: /svn/huge-prime/
dstromberg-desktop-dstromberg:~ i686-pc-linux-gnu 12376 - above cmd done
2011 Fri Apr 15 10:42 AM

------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2720172

To unsubscribe from this discussion, e-mail: [[email protected]].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.