| Anonymous | Login | Signup for a new account | 2010-09-10 03:17 MSD |
| Main | My View | View Issues | Change Log | Roadmap | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | |||||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
| 0000368 | [SVNKit] bug | major | always | 2010-04-23 18:14 | 2010-05-06 22:53 | |||||||
| Reporter | kurron | View Status | public | |||||||||
| Assigned To | oka | |||||||||||
| Priority | normal | Resolution | open | |||||||||
| Status | assigned | Product Version | 1.3.x | |||||||||
| Summary | 0000368: SVNKit causes svnserve.exe to consume 99% CPU under Windows | |||||||||||
| Description |
We have a problem in our application where we sometimes see a CPU spike. We also see it during our integration tests. After a bit of investigation I've been able to nail down the reproduction scenario: * single core Windows XP box * get SVNKit to throw an exception. Our integration test tried to lock a file that was already locked. The small reproduction scenario I'll include with this bug tries to add a two-level deep directory to the repo. SVNKit appears to complete its tasks and the program behaves as expected but the side effect of causing the CPU to spike is intolerable. I've reproduced this using both virtual machines and real hardware. Using a single CPU you can recreate the effect almost at will. Multi-core environments seem resistant to the bug. I also ran the test program under a single core Ubuntu VM and was unable to cause the spike, so it might be a Windows specific bug, but I'm just guessing. I watched SVNKit in the debugger and found that pausing will cause the problem to disappear. If you let it run all the way through without stopping at break points, you can see the problem There aren't many threads running so I'm not exactly sure what is going on. I've attached an executable jar that prints some information about what it assumes and how to control it. Inside the jar is the source file to the class that can trigger the spike. |
|||||||||||
| Additional Information |
Windows XP with SP2 or SP3 java version "1.6.0_19" Java(TM) SE Runtime Environment (build 1.6.0_19-b04) Java HotSpot(TM) Client VM (build 16.2-b04, mixed mode, sharing) svnserve, version 1.6.9 (r901367) compiled Jan 21 2010, 22:00:47 Copyright (C) 2000-2009 CollabNet. Subversion is open source software, see http://subversion.tigris.org/ [^] This product includes software developed by CollabNet (http://www.Collab.Net/). [^] The following repository back-end (FS) modules are available: * fs_fs : Module for working with a plain file (FSFS) repository. Cyrus SASL authentication is available. |
|||||||||||
| Tags | No tags attached. | |||||||||||
| planned for version | 1.2.x | |||||||||||
| Attached Files |
|
|||||||||||
|
|
||||||||||||
| Mantis 1.1.0[^] Copyright © 2000 - 2007 Mantis Group |