Need Help on Indexing

We use JIRA 5.1.8 on Linux and have some application built in JIRA using project & workflows.

We upload the data from excel & store data in change history of jira tickets.

There is a code written which uses Lucene 3.2.0 & builds an index for the change history of this project.

Now the problem we are facing is our custom indexer gives error "too many files open", ulimit has been increased to 60000 in linux.

we are indexing around 1000 tickets with changehistory of 2 or 3 item per ticket.

Can anybody please help on this.

3 answers

1 accepted

Yes, Problem was with the code & it was fixed

0 vote

I'm assuming you have written a plugin that uses the Jira API to do the "upload and index" stuff (If not, then please correct that assumption because we need to know about that)

>Now the problem we are facing is our custom indexer gives error "too many files open", ulimit has been increased to 60000 in linux.

That really does look like an exceedingly high number of open files. My instincts are screaming that your code simply isn't closing files correctly, so as it working through your index, it's hitting the limit. You'll need to fix that in your code.

Hi Nic,

Yes, we have a plugin which to upload the data to changehistory & also indexes the content.

We start the indexer when JIRA starts & there will be one object which will be used untill JIRA is shut down - (This is our requirement). Because of this I will not be closing the indexer.

Can you please guide me on how to handle this.

Thanks,

Chaithra

Your code needs revising. It is opening and holding open too many file handles. There's not a lot else we can tell you here!

Can you please suggest some links which can help us

0 vote
I can't tell you more than Google can. We don't know what your code is doing.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

925 views 3 12
Read article

Atlassian User Groups

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!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you