My Oracle Support Banner

WebLogic Server Support Pattern: How To Troubleshoot Too Many Open Files Problems (Doc ID 867492.1)

Last updated on MARCH 05, 2024

Applies to:

Oracle WebLogic Server - Version 6.1 and later
Information in this document applies to any platform.


This document discusses how to narrow down and resolve issues involving file descriptors, often reported in Java exceptions with the terms "too many open files."


Problem Description

The following two stack traces indicate the same issue and report the same message: Too many open files

Exception 1

The first exception is thrown when the error affects the underlying TCP protocol, while the second is thrown when the error affects an I/O operation.

Both are a consequence of a similar problem blocking the server, which the following investigative techniques address.

Problem Troubleshooting

Please note that not all of the following items would need to be done. Some issues can be solved by only following a few of the items.

Troubleshooting Steps

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document
 Problem Description
 Problem Troubleshooting
Troubleshooting Steps
 Why does the problem occur?
 Monitoring File Descriptors
 Resolution guidelines
 Checking open files
 Unix platforms
 Windows platforms
 How and when does a file descriptor get released?
 File Descriptors and Settings
 What is a File Descriptor?
 How does a File Descriptor get created?
 How are the number of file descriptors defined on different platforms?
 Known WebLogic Server Issues
 Need further help?

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.