Performance problem with repo scanning
--------------------------------------

                 Key: MRM-928
                 URL: http://jira.codehaus.org/browse/MRM-928
             Project: Archiva
          Issue Type: Bug
          Components: repository scanning
    Affects Versions: 1.1.1
         Environment:  2.6.18-028stab053 #1 Thu Mar 20 10:01:48 Local time zone 
must be set--see zic manu i686 Intel(R) Xeon(R) CPU X5365 @ 3.00GHz 
GenuineIntel GNU/Linux

            Reporter: fabrice
            Priority: Critical


I have 3 repo configured, 
- first one is proxied on external repo on the internet
- the second contains components developped by my company
- the third contains snapshot components of the internal component but is not 
used at the moment

scan process is configured every minutes on each repo, all consumers are 
activated.

I have a big problem a CPU occupation by archiva it is always at 99.9% and when 
I configure process task at 5am for exemple the top command output

top - 10:31:40 up 3 days, 21:12,  2 users,  load average: 0.05, 0.20, 0.76
Tasks:  21 total,   2 running,  19 sleeping,   0 stopped,   0 zombie
Cpu(s):  1.0%us,  0.0%sy,  0.0%ni, 99.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:   8302992k total,   977660k used,  7325332k free,        0k buffers
Swap:        0k total,        0k used,        0k free,        0k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
11772 root      18   0  837m 193m  25m S  1.0  2.4   1:06.72 java
    1 root      15   0  1596  560  488 S  0.0  0.0   0:00.00 init
15987 root      20   0  2872  768  580 S  0.0  0.0   0:00.24 syslog-ng
19919 root      16   0  4528  940  612 S  0.0  0.0   0:00.00 sshd
20048 root      18   0  3600  700  564 S  0.0  0.0   0:00.17 cron
22351 root      16   0  2372  996  804 S  0.0  0.0   0:00.00 xinetd
10012 root      16   0  7368 2272 1796 S  0.0  0.0   0:00.01 sshd
10051 admin     15   0  7368 1508 1024 S  0.0  0.0   0:00.13 sshd
10052 admin     18   0  4840 1748 1452 S  0.0  0.0   0:00.01 bash
10068 admin     16   0  2252 1080  852 S  0.0  0.0   0:00.45 top
17461 root      23   0  133m 8604 5792 S  0.0  0.1   0:00.79 ACServer
17473 root      18   0 32060 4624 3172 S  0.0  0.1   0:00.01 tptpProcessCont
 7269 root      17   0  7368 2244 1768 S  0.0  0.0   0:00.01 sshd
 7272 admin     15   0  7368 1472  988 S  0.0  0.0   0:00.00 sshd
 7273 admin     16   0  4844 1508 1288 S  0.0  0.0   0:00.00 bash
 7294 root      19   0  7364 2268 1796 S  0.0  0.0   0:00.02 sshd
 7297 admin     15   0  7520 1520 1028 R  0.0  0.0   0:00.00 sshd
 7298 admin     15   0  4840 1748 1452 S  0.0  0.0   0:00.02 bash
 7304 root      16   0  4120 1272  988 S  0.0  0.0   0:00.00 su
 7691 root      15   0  4584 1776 1484 S  0.0  0.0   0:00.01 bash
19667 root      15   0  2256 1080  848 R  0.0  0.0   0:00.00 top

So I think it is linked to the repo scan process task
I try to desactive all consumer but no effects are visible.
I try to reduce the scan frequency every 10 minutes but it is the same thing
I try to profile tomcat but i have some difficulties to analyse results.




-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to