Did this article resolve your question/issue?



AppServer shuts down with error 8046

« Go Back


TitleAppServer shuts down with error 8046
URL NameP173781
Article Number000130630
EnvironmentProduct: OpenEdge
Version: All supported versions
Product: Progress
Version: 9.x
Question/Problem Description
AppServer shuts down with error 8046.

AppServer server log reports:

accept() on port <portNum> is interrupted: Too many open files : Too many open files (8046)

Java exception reads:

java.rmi.ConnectIOException: Exception creating connection to: <hostName>; nested exception is: Too many open files
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(
at sun.rmi.transport.tcp.TCPChannel.createConnection(
at sun.rmi.transport.tcp.TCPChannel.newConnection(
at sun.rmi.server.UnicastRef.newCall(
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
at java.rmi.Naming.lookup(
Caused by: Too many open files
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(
... 9 more

System logs show entries similar to the following on/around the same time as the AppServer error occurs:

Mmm DD HH:MM:SS syslog: Java: Number of open files: 4096
Mmm DD HH:MM:SS syslog: Java: Maximum number of allowed open files: 4096
Steps to Reproduce
Clarifying Information
Error Messageaccept() on port 3050 is interrupted: Too many open files : Too many open files (8046)
Defect/Enhancement Number
Attempting to exceed the limit for O/S file descriptors that the process can open.
1.  Increase number of files for the user process:

   ulimit -n <somevalue>

2.  Restart the AdminServer and brokers to detect new setting.
References to Other Documentation:

Progress Article(s):
000019911, " Too many open files on starting many AppServers"
Last Modified Date12/29/2017 8:47 PM
Disclaimer The origins of the information on this site may be internal or external to Progress Software Corporation (“Progress”). Progress Software Corporation makes all reasonable efforts to verify this information. However, the information provided is for your information only. Progress Software Corporation makes no explicit or implied claims to the validity of this information.

Any sample code provided on this site is not supported under any Progress support program or service. The sample code is provided on an "AS IS" basis. Progress makes no warranties, express or implied, and disclaims all implied warranties including, without limitation, the implied warranties of merchantability or of fitness for a particular purpose. The entire risk arising out of the use or performance of the sample code is borne by the user. In no event shall Progress, its employees, or anyone else involved in the creation, production, or delivery of the code be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the sample code, even if Progress has been advised of the possibility of such damages.