Re: [viewvc-users] viewvc performance?

Dan Stromberg <[email protected]>
Newsgroups gmane.comp.version-control.cvs.viewcvs.user
Message-ID <AANLkTimqAH-i4T7KqaRr5KGiHUB3GZbp7s6e2hi=KFdm__27270.9170742475$1298922065$gmane$org@mail.gmail.com>
On Mon, Feb 28, 2011 at 10:58 AM, Dan Stromberg <[email protected]> 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?
>
> --
> Dan Stromberg
>

A little more specifically, as soon as a turned off the cron job, I got 3
viewvc's pegging my CPU (and causing swapping?), and the interactive
response times became pretty much unusable.  Just ssh'ing into the system
took minutes:

$ top -n 20
top - 11:31:03 up 15 days, 20:32,  6 users,  load average: 13.78, 12.55,
7.60
Tasks: 182 total,   4 running, 178 sleeping,   0 stopped,   0 zombie
Cpu(s): 33.7%us,  3.6%sy,  0.0%ni,  0.0%id, 62.4%wa,  0.0%hi,  0.3%si,
 0.0%st
Mem:   1015536k total,   999060k used,    16476k free,      712k buffers
Swap:  3004116k total,   780964k used,  2223152k free,    50460k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
32526 www-data  20   0  338m 321m 1532 R   40 32.4   0:59.12 viewvc.cgi
32547 www-data  20   0  187m 171m 1536 R   22 17.3   0:23.86 viewvc.cgi
32626 www-data  20   0 23324 2860 1652 D    9  0.3   0:01.82 viewvc.cgi
   33 root      20   0     0    0    0 R    3  0.0   2:30.26 kswapd0

-- 
Dan Stromberg

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

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.