Hi David,

Did you figure out what was the problem. We are running into mina broken
pipes.

Thanks,

-Marcel


darose wrote:
> 
> Having a problem with our MINA server.  The server got hung last night.  I
> was able to telnet into it, but it never responded with a welcome prompt,
> and would not accept any of my commands.  Linux showed that it had 82 open
> sockets to the client machines, all of them in SYN_RECV state.
> 
> Worse, the log was 4.7GB in size, full of broken pipe errors.  (3,366,455
> occurrences of it!)  Stack trace is as follows:
> 
> java.io.IOException: Broken pipe
>         at sun.nio.ch.FileDispatcher.write0(Native Method)
>         at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47)
>         at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:122)
>         at sun.nio.ch.IOUtil.write(IOUtil.java:93)
>         at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:352)
>         at
> org.apache.mina.transport.socket.nio.NioProcessor.write(NioProcessor.java:185)
>         at
> org.apache.mina.transport.socket.nio.NioProcessor.write(NioProcessor.java:41)
>         at
> org.apache.mina.core.polling.AbstractPollingIoProcessor.writeBuffer(AbstractPollingIoProcessor.java:776)
>         at
> org.apache.mina.core.polling.AbstractPollingIoProcessor.flushNow(AbstractPollingIoProcessor.java:713)
>         at
> org.apache.mina.core.polling.AbstractPollingIoProcessor.flush(AbstractPollingIoProcessor.java:648)
>         at
> org.apache.mina.core.polling.AbstractPollingIoProcessor.access$500(AbstractPollingIoProcessor.java:56)
>         at
> org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:895)
>         at
> org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
>         at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>         at java.lang.Thread.run(Thread.java:636)
> 
> 
> Anyone have any ideas?
> 
> We're running MINA 2.0M6 on OpenJDK 1.6 on CentOS 5.4.
> 
> Thanks,
> 
> DR
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Broken-pipe-errors-tp27192639p29411542.html
Sent from the Apache MINA User Forum mailing list archive at Nabble.com.

Reply via email to