We are having to reboot our Jira Weekly to avoid maxing out the file limit. When looking into it we are seeing these open files in LSOF:
We are trying to see what is opening these pipes and/or how to stop them from just hanging.
We have seen this kind of performance problem a lot in operating systems where Jira is running under the root account on Linux/Unix based systems. This is something we don't recommend because we know it tends to cause performance problems like this.
I would recommend that you create a separate user to run Jira. See the KB : How to set the user 'jira' to run in Linux
It might also help to take a closer look at the KB Loss of functionality due to too many open files errors as it could offer some additional work-around here, however even that KB notes that we do not recommend running Jira as root for this very reason.
We are facing the same issue and Jira is run by the Jira user.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In the original post we can see the user is running as root, and we know that doing this can sometimes be a related cause to triggering this number of open files prematurely.
In your case, I think there would still be value in trying to follow the steps in the KB Loss of functionality due to too many open files errors. I would be interested in learning some more details about the specifics of your environment such as:
lsof +L1 > open_files.txt
This command is also in the Diagnosis section of that KB. I'd be interested to see if you would share that information with us when this happens so we can better try to understand what files/locations are open when this limit is reached. Perhaps we can better guide the troubleshooting steps needed here with some more information about your environment.
Cheers,
Andy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.