Hi.
I’m having a trouble with Wowza Media Server 2.2.4.07.
First, after the server machine turn on, Wowza works fine, but after about 3 days, media content and administration port doesn’t work. Access and error logs generates the following message:
java.io.IOException: Unable to establish loopback connection
at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:125)
at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:69)
at java.security.AccessController.doPrivileged(Native Method)
at sun.nio.ch.PipeImpl.<init>(PipeImpl.java:141)
at sun.nio.ch.SelectorProviderImpl.openPipe(SelectorProviderImpl.java:50)
at java.nio.channels.Pipe.open(Pipe.java:150)
at sun.nio.ch.WindowsSelectorImpl.<init>(WindowsSelectorImpl.java:126)
at sun.nio.ch.WindowsSelectorProvider.openSelector(WindowsSelectorProvider.java:44)
at java.nio.channels.Selector.open(Selector.java:227)
at org.apache.mina.transport.socket.nio.SocketIoProcessor.startupWorker(Unknown Source)
at org.apache.mina.transport.socket.nio.SocketIoProcessor.addNew(Unknown Source)
at org.apache.mina.transport.socket.nio.SocketAcceptor$Worker.processSessions(Unknown Source)
at org.apache.mina.transport.socket.nio.SocketAcceptor$Worker.run(Unknown Source)
at org.apache.mina.util.NamePreservingRunnable.run(Unknown Source)
at java.lang.Thread.run(Thread.java:724)
Caused by: java.net.SocketException: No buffer space available (maximum connections reached?): bind
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:444)
at sun.nio.ch.Net.bind(Net.java:436)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:67)
at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:91)
... 14 more
Second, I try to restart service, but without luck. Error log generate, in addition of above, the following messages:
ERROR server comment 2013-10-30 11:10:20 - - - - - 0.594 - - - - - - - - server core failure: java.io.IOException: Unable to establish loopback connection
WARN vhost comment 2013-10-30 11:10:41 - - - - - 20.984 - - - - - - - _defaultVHost_ Bind failed: ([any]:1935): java.io.IOException: Unable to establish loopback connection
WARN vhost comment 2013-10-30 11:10:41 - - - - - 20.984 - - - - - - - _defaultVHost_ Bind failed: ([any]:8086): java.io.IOException: Unable to establish loopback connection
Third, when the problem is occurring, to check tcp connections of the server, I use the command line “netstat -s” and note that “TCP Statistics for IPv4 -> Current Connections” has a low value (about 60)
Fourth, I also have tried this post’s solution, adjusting TcpTimedWaitDelay to 30, and I’ve tried too this another post’s solution.
Both attemps without luck.
PS.: Running in Windows Server 2003 R2 x64, java 7 u25
Thanks in advance.