archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Allen Lee <Allen....@asu.edu>
Subject Re: 2.0.1 with high cpu usage while idle
Date Thu, 10 Apr 2014 18:11:05 GMT
Changing the wait strategy to Block in wrapper.conf fixed it for me.
Thanks Olivier!

On Wed, Apr 9, 2014 at 5:31 PM, Olivier Lamy <olamy@apache.org> wrote:
> Maybe because of the async logging from log4j2 (using disruptor).
> Have a look here:
> http://archiva.apache.org/docs/2.0.2-SNAPSHOT/adminguide/logging.html
>
> HTH
> --
> Olivier
>
> On 10 April 2014 05:07, Allen Lee <Allen.Lee@asu.edu> wrote:
>> I upgraded from Archiva 1.3 to Archiva 2.0.1 recently and noticed that
>> archiva's CPU usage is consistently high, around 80-85%. I reniced the
>> process and now it's ranging from 15-85% of CPU, on average around
>> 40-50%. At first I thought it might have been the initial startup
>> costs of rescanning repositories but it has remained this way after
>> several days now.
>>
>> The admin system status page doesn't report anything untoward (no
>> repository scans happening, etc.). Any suggestions on how to fix this,
>> and is this something others have noticed as well?
>>
>> Thanks in advance!
>>
>> --
>> Allen Lee
>> Center for the Study of Institutional Diversity [http://csid.asu.edu]
>> School of Human Evolution and Social Change [http://shesc.asu.edu]
>> College of Liberal Arts and Sciences
>> Arizona State University | P.O. Box 872402 | Tempe, Arizona 85287-2402
>> 480.727.0401 | Fax: 480.965.7671 | e-mail: allen.lee@asu.edu
>
>
>
> --
> Olivier Lamy
> Ecetera: http://ecetera.com.au
> http://twitter.com/olamy | http://linkedin.com/in/olamy



-- 
Allen Lee
Center for the Study of Institutional Diversity [http://csid.asu.edu]
School of Human Evolution and Social Change [http://shesc.asu.edu]
College of Liberal Arts and Sciences
Arizona State University | P.O. Box 872402 | Tempe, Arizona 85287-2402
480.727.0401 | Fax: 480.965.7671 | e-mail: allen.lee@asu.edu

Mime
View raw message