"Too many open files" error in Jira when running Table Grid Next Generation (TGNG) version 1.13.3

Platform Notice: Cloud and Data Center - This article applies equally to both cloud and data center platforms.

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

The TGNG app will open files and fail to close them in a Linux OS, eventually resulting in a "Too many open files" error in Jira.

Environment

Jira Data Center

Linux OS only

Table Grid Next Generation version 1.13.3

Diagnosis

Jira will receive a "Too many open files" error.  

Increasing the ulimit will not resolve the problem but merely prolong the time prior to reaching the limit. 

The open files are two main types:

  • [eventpoll]

  • pipe

These will have thousands of open files / threads. 

Cause

TGNG opens files but fails to close them. 

Solution

Here's the version we want to downgrade to: 1.13.2-jira8  (one version lower)

Here's where to get it: TGNG - Version history

Here's how to downgrade:

  • Stop Jira.

  • Delete the <jira_home>/plugins/.bundled-pluginsdirectory(this will be regenerated on restart).

  • Delete the <jira_home>/plugins/.osgi-pluginsdirectory(this will be regenerated on restart).

  • Delete the contents of <jira_install>/work directory (just thecontents, not the folder itself).

  • Delete the contents of <jira_install>/temp directory (just thecontents, not the folder itself).

  • Open the <jira_home>/plugins/installed-plugins directory, find the TGNG 1.13.2 .jar file and delete it.  

  • Place the TGNG 1.13.1 .jar file into this directory. 

  • Start Jira. 

Updated on March 12, 2025

Still need help?

The Atlassian Community is here for you.