On May 3, 2009, at 10:54 PM, Pranab Panda (pkpanda) wrote:

> Exactly, but seems like the indexer
> Opens up several pserver connections
> And affects cvs operations and usual
> Cvs commands start failing.
> I have to kill the indexer and problems
> Go away. When I serialize I don't see
> It affecting cvs server/operations.
> Regards
> Pranab
>

opengrok will start one cvs process for each file in the repository it  
will add to the index (modified since the previous run), and if you  
have multiple projects in your opengrok configuration it will index  
them in parallel (so you get one cvs process pr thread)..

If your cvs server cannot keep up with the load you could just limit  
the number of threads opengrok use..

Cheers,

Trond



> -----Original Message-----
> From: Trond.Norbye at Sun.COM [mailto:Trond.Norbye at Sun.COM]
> Sent: Sunday, May 03, 2009 10:48 PM
> To: Pranab Panda (pkpanda)
> Cc: opengrok-discuss at opensolaris.org
> Subject: Re: [opengrok] CVS indexing performance Issues and Errors
>
>
> On May 3, 2009, at 10:26 PM, Pranab Panda (pkpanda) wrote:
>
>> Hi
>> I observed that when the indexer works for multiple
>> CVS Workspaces at the same time the indexer gives error
>> Like the following and that was the likely cause of my history
>> Not working for some files. A cvs up during the same time
>> Gave connection refused error to the cvs server as well,
>> Top command displayed java had more than 100% cpu usage
>> During the time the error occurred and as soon as the cpu
>> Usage went down the indexer didn't give error.
>>
>> WARNING: An error occurred while reading history:
>> org.opensolaris.opengrok.history.HistoryException: Failed to get
>> history
>> for:
>> "/tools/opengrok/source/WREPO/abc/devel/src/com/sysco/webui/form/
>> task/Ta
>> skExecutionLogForm.java" Exit code: 1
>>       at
>
> This means that the cvs binary exited with status code 1.
>
> Cheers,
>
> Trond
>

-- 
Trond Norbye

Application Platform Software Group      E-mail: Trond.Norbye at Sun.Com
SUN Microsystems                         Phone:  +47 73842100
Haakon VII's gt. 7B                      Fax:    +47 73842101
7485 Trondheim, Norway


Reply via email to