contents of <jira_install_dir>/atlassian-jira/WEB-INF/classes/jira-application.properties
I think there's a string of problems here, if I've understood the question properly.
You seem to be assuming indexing is causing a problem. That's partly true, but you're looking at a symptom of a problem rather than a cause. Tinkering with the indexing is not going to help you with this.
Jira needs the index to function. So if you disable it, you're causing problems.
If you're doing load testing, then you're invalidating your test because you're going to break Jira, and there's no point load testing a system you already know is broken.
I think you've misunderstood the flag you've changed as well. It has nothing to do with whether indexing is run or not, it's a counter to say "I should optimise the index if this many individual indexing operations have been performed since I last did it"
Because of that, it's probably having the opposite effect of what you're assuming - it's simply optimising the index constantly.
The error you're getting is usually a symptom of heavy loading on the index. Ok, that's fine as you're load testing, you're finding the break point. But if you're optimising constantly, that will be putting a load on the index and contributing to the problem, and lowering the performance.
My suggestions would be:
I agree with you, it looks as though i am treading a wrong path.
Well I actually want to load test jira, i seem to hitting the above exception within 2 hrs with 25 concurrent users, went through some documents and figured out that there there is a bug in the reindexing part.
So the work around was to set jira.index.max.reindexes=0 (for reindexing not to happen) and do a manual reindex when ever its necessary.
so the idea is to stop automatic reindex see if jira would scale.
The fact is that i am not able make jira.index.max.reindexes=0 and when view the system info page it still mentions jira.index.max.reindexes=4000( the default one)
Um. I repeat
1) Turning off indexing is pointless - Jira needs it. Your testing on a Jira without indexing is useless. You will need to "manually reindex" EVERY time you change an issue
2) The flag you are looking at does not affect indexing, it's nothing to do with turning indexing on or off. I'm not even sure you can turn indexing off with a flag (and even if you can, it's a waste of time because Jira will stop working and there's no point testing a broken system)
As for the flag not being picked up - did you restart after you changed it?
yes I did restart, but jira would not pick it up the logs still say jira.index.max.reindexes=0
we have aroung 700,000 issues with 50-60 concurrent users, do you think there is any point in using jira, since it doesn't seem scale, is there any better work around.
That's a completely separate question. I've worked with significantly larger Jira installations and not had problems, but you do need to do some analysis on where any performance issues are happening.
From what you've said here, an obvious one is that you're messing up the indexing by misunderstanding some of the flag settings...
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG