AIX weblogic 启动报There is not enough buffer space for the requested socket operation 错误
<Sep 19, 2014 10:27:09 AM GMT+08:00> <Error> <Coherence> <BEA-000000> <Oracle Coherence 3.6.0.4 (member=n/a): Error while starting cluster: (Wrapped) java.net.SocketException: There is not enough buffer space for the requested socket operation.
at com.tangosol.coherence.component.net.socket.UdpSocket.initializeDatagramSocket(UdpSocket.CDB:35)
at com.tangosol.coherence.component.net.socket.UdpSocket.open(UdpSocket.CDB:17)
at com.tangosol.coherence.component.net.Cluster$SocketManager.bindListeners(Cluster.CDB:37)
at com.tangosol.coherence.component.net.Cluster.onStart(Cluster.CDB:216)
at com.tangosol.coherence.component.net.Cluster.start(Cluster.CDB:11)
at com.tangosol.coherence.component.util.SafeCluster.startCluster(SafeCluster.CDB:3)
....
Caused by: java.net.SocketException: There is not enough buffer space for the requested socket operation.
at java.net.PlainDatagramSocketImpl.socketSetOption(Native Method)
at java.net.PlainDatagramSocketImpl.setOption(PlainDatagramSocketImpl.java:398)
原因是coherence需要更大的buffer提高性能,但是AIX设置的比较低sb_max = 1048576, 而coherence建议设置的为
no -o sb_max=4194304
referer: http://coherence.oracle.com/display/COH35UG/Performance+Tuning
ServletContainerAdapter manager not initialized correctly