My Oracle Support Banner

EM Agent: emctl Commands Fail with "emctl: line 444: ulimit: open files: cannot modify limit: Operation not permitted" (Doc ID 2401710.1)

Last updated on JULY 13, 2018

Applies to:

Enterprise Manager Base Platform - Version 12.1.0.4.0 and later
Information in this document applies to any platform.

Symptoms

Executing any emctl command from AGENT_HOME fails with the following error:

$AGENT_INST_HOME/sysman/log/gcagent.log reports following errors:

java.io.IOException: Too many open files
at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method)
at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:150)
at org.eclipse.jetty.server.nio.SelectChannelConnector$1.acceptChannel(SelectChannelConnector.java:75)
at org.eclipse.jetty.io.nio.SelectorManager$SelectSet.doSelect(SelectorManager.java:651)
at org.eclipse.jetty.io.nio.SelectorManager.doSelect(SelectorManager.java:180)
at org.eclipse.jetty.server.nio.SelectChannelConnector.accept(SelectChannelConnector.java:135)

Cause

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

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


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