Export Data produced the java.io.IOException: Too many open files

Export Data produced the java.io.IOException: Too many open files

book

Article ID: KB0089540

calendar_today

Updated On:

Products Versions
TIBCO Collaborative Information Manager -
Not Applicable -

Description

Resolution:
Export Data produced the java.io.IOException: Too many open files

Environment:
= = = = = = =

TIBCO Collaborative Information Manager 8.0.1

Operating System(s):
= = = = = = = = = = =
UNIX and LINUX

Symptoms:
= = = = = =

"Export Records" on a repository with a few records fails at CreateOutputFile activity with the following exception:

java.io.IOException: Too many open files at java.io.UnixFileSystem.createFileExclusively…

Cause:
= = = =

This is caused by the operating system reaching the open file handles limit.

Resolution:
= = = = = =

Increase the file descriptor soft limit per shell to 4096 from default 1024.

Using the superuser account, edit /etc/security/limits.conf to add limit for user "tibco"

vi /etc/security/limits.conf
tibco   hard            nofile          65536

If using Jboss, edit JBoss run.sh script and add the following to the beginning of the file: "ulimit -n 4096" (before JAVA_OPTS=)

#ARA Too many open files
ulimit -n 4096
JAVA_OPTS="$JAVA_OPTS -X (...)

Restart the application server and the export records should work.

Attachments:
= = = = = = =
None

References:
= = = = = = =
None

Issue/Introduction

Export Data produced the java.io.IOException: Too many open files