Page 1 of 1

Errors in zmmailboxd.out java.io.IOException: Broken pipe

Posted: Wed Apr 27, 2016 2:43 pm
by lhfelice
Hi,

I am trying to understand what could be wrong with the errors I found in zmmailboxd.out, constantly I get:

2016-04-27 14:14:09.590:WARN:oejs.HttpChannel:qtp509886383-200: Could not send response error 500: java.io.IOException: Broken pipe
2016-04-27 14:14:09.737:WARN:oejs.ServletHandler:qtp509886383-176:https://172.31.1.253:7443/service/home/~/?auth=co&loc=es&id=3185&part=2&disp=a: /service/home/~/
java.io.IOException: Broken pipe
at sun.nio.ch.FileDispatcherImpl.write0(Native Method)
at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47)
at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93)
at sun.nio.ch.IOUtil.write(IOUtil.java:65)
at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:470)
at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:167)
at org.eclipse.jetty.io.WriteFlusher.completeWrite(WriteFlusher.java:402)
at org.eclipse.jetty.io.SelectChannelEndPoint.onSelected(SelectChannelEndPoint.java:111)
at org.eclipse.jetty.io.SelectorManager$ManagedSelector.processKey(SelectorManager.java:572)
at org.eclipse.jetty.io.SelectorManager$ManagedSelector.select(SelectorManager.java:543)
at org.eclipse.jetty.io.SelectorManager$ManagedSelector.run(SelectorManager.java:485)
at org.eclipse.jetty.util.thread.NonBlockingThread.run(NonBlockingThread.java:52)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:607)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:536)
at java.lang.Thread.run(Thread.java:745)
2016-04-27 14:14:09.738:WARN:oejs.HttpChannel:qtp509886383-176: /service/home/~/?auth=co&loc=es&id=3185&part=2&disp=a
java.io.IOException: Broken pipe
at sun.nio.ch.FileDispatcherImpl.write0(Native Method)
at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47)
at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93)
at sun.nio.ch.IOUtil.write(IOUtil.java:65)
at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:470)
at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:167)
at org.eclipse.jetty.io.WriteFlusher.completeWrite(WriteFlusher.java:402)
at org.eclipse.jetty.io.SelectChannelEndPoint.onSelected(SelectChannelEndPoint.java:111)
at org.eclipse.jetty.io.SelectorManager$ManagedSelector.processKey(SelectorManager.java:572)
at org.eclipse.jetty.io.SelectorManager$ManagedSelector.select(SelectorManager.java:543)
at org.eclipse.jetty.io.SelectorManager$ManagedSelector.run(SelectorManager.java:485)
at org.eclipse.jetty.util.thread.NonBlockingThread.run(NonBlockingThread.java:52)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:607)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:536)
at java.lang.Thread.run(Thread.java:745)
2016-04-27 14:14:09.738:WARN:oejs.HttpChannel:qtp509886383-176: Could not send response error 500: java.io.IOException: Broken pipe

The IP 172.31.1.253 is the local IP of the server and the port 7443 is the correct HTTPS port.

No user has report any problems, I just curios of these errors.

Any ideas?

My server have CentOS Linux release 7.2.1511 (Core) and Zimbra Release 8.6.0_GA_1153.RHEL7_64_20141215151110 RHEL7_64 FOSS edition, Patch 8.6.0_P6.

IPTABLES off and SELINUX permissive

Thanks in advance.

Ragards

Luis

Re: Errors in zmmailboxd.out java.io.IOException: Broken pipe

Posted: Wed May 25, 2016 12:45 pm
by ludovic.senecaux
[up]

Hy,

I upgraded my zcs cluster from 8.0.4 to 8.6.0 p6 last week, and I have exactly the same issues.
Has anyone found a solution ?

Thanks

Re: Errors in zmmailboxd.out java.io.IOException: Broken pipe

Posted: Mon Oct 03, 2016 8:58 am
by cerri
Was someone able to solve this issue?

Re: Errors in zmmailboxd.out java.io.IOException: Broken pipe

Posted: Wed Oct 12, 2016 6:21 pm
by digitaltendencies
I am seeing the same issue as well. It was happening with 8.6 Patch 7 and still happens with 8.7

Re: Errors in zmmailboxd.out java.io.IOException: Broken pipe

Posted: Mon Oct 17, 2016 6:10 pm
by ccesario
I'm facing the same problem with version 8.7.

Does someone found the root cause!?

Best regards,

-Carlos

Re: Errors in zmmailboxd.out java.io.IOException: Broken pipe

Posted: Wed Feb 15, 2017 8:49 am
by flunda
I have seen this error in 8.6_P7 while importing mailbox data through zmmailbox REST_API without using -t 0 switch. With -t 0 switch it was working.

Right now i have seen this error in 8.6_P6 as well while trying to import data, it does but it seems to get stuck after a couple of seconds.

Edit: it finished successfully, but anyway i have seen a lot of error in zmmailboxd.out but it imported successfully (in Patch 7 i have seen the progress in mailbox.log, which i haven't seen in patch 6' mailbox.log)

Code: Select all

2017-02-15 10:14:48.757:WARN:oejs.HttpChannel:qtp1778535015-626599: /service/home/~/?auth=co&loc=en&id=78620&part=2
java.io.IOException: Broken pipe
        at sun.nio.ch.FileDispatcherImpl.write0(Native Method)
        at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47)
        at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93)
        at sun.nio.ch.IOUtil.write(IOUtil.java:65)
        at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:470)
        at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:167)
        at org.eclipse.jetty.io.WriteFlusher.write(WriteFlusher.java:337)
        at org.eclipse.jetty.io.AbstractEndPoint.write(AbstractEndPoint.java:126)
        at org.eclipse.jetty.server.HttpConnection$ContentCallback.process(HttpConnection.java:671)
        at org.eclipse.jetty.util.IteratingCallback.processIterations(IteratingCallback.java:166)
        at org.eclipse.jetty.util.IteratingCallback.iterate(IteratingCallback.java:126)
        at org.eclipse.jetty.server.HttpConnection.send(HttpConnection.java:303)
        at org.eclipse.jetty.server.HttpChannel.sendResponse(HttpChannel.java:719)
        at org.eclipse.jetty.server.HttpChannel.write(HttpChannel.java:752)
        at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:134)
        at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:127)
        at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:342)
        at org.eclipse.jetty.servlets.gzip.AbstractCompressedStream.write(AbstractCompressedStream.java:226)

Re: Errors in zmmailboxd.out java.io.IOException: Broken pipe

Posted: Wed Feb 15, 2017 3:52 pm
by ccelis5215
flunda wrote:I have seen this error in 8.6_P7 while importing mailbox data through zmmailbox REST_API without using -t 0 switch. With -t 0 switch it was working.

Right now i have seen this error in 8.6_P6 as well while trying to import data, it does but it seems to get stuck after a couple of seconds.

Edit: it finished successfully, but anyway i have seen a lot of error in zmmailboxd.out but it imported successfully (in Patch 7 i have seen the progress in mailbox.log, which i haven't seen in patch 6' mailbox.log)

Code: Select all

2017-02-15 10:14:48.757:WARN:oejs.HttpChannel:qtp1778535015-626599: /service/home/~/?auth=co&loc=en&id=78620&part=2
java.io.IOException: Broken pipe
        at sun.nio.ch.FileDispatcherImpl.write0(Native Method)
        at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47)
        at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93)
        at sun.nio.ch.IOUtil.write(IOUtil.java:65)
        at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:470)
        at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:167)
        at org.eclipse.jetty.io.WriteFlusher.write(WriteFlusher.java:337)
        at org.eclipse.jetty.io.AbstractEndPoint.write(AbstractEndPoint.java:126)
        at org.eclipse.jetty.server.HttpConnection$ContentCallback.process(HttpConnection.java:671)
        at org.eclipse.jetty.util.IteratingCallback.processIterations(IteratingCallback.java:166)
        at org.eclipse.jetty.util.IteratingCallback.iterate(IteratingCallback.java:126)
        at org.eclipse.jetty.server.HttpConnection.send(HttpConnection.java:303)
        at org.eclipse.jetty.server.HttpChannel.sendResponse(HttpChannel.java:719)
        at org.eclipse.jetty.server.HttpChannel.write(HttpChannel.java:752)
        at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:134)
        at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:127)
        at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:342)
        at org.eclipse.jetty.servlets.gzip.AbstractCompressedStream.write(AbstractCompressedStream.java:226)


Code: Select all

2017-02-15 10:14:48.757:WARN:oejs.HttpChannel:qtp1778535015-626599: /service/home/~/?auth=co&loc=en&id=78620&part=2
java.io.IOException: Broken pipe
        at sun.nio.ch.FileDispatcherImpl.write0(Native Method)
        ...


Hello, as your are saying "it finished successfully,..".

It's just an innecesary activity logging for production environment.

ccelis

Re: Errors in zmmailboxd.out java.io.IOException: Broken pipe

Posted: Thu Feb 16, 2017 7:32 am
by flunda
It's not unnecessary for a prod-environment, i want to see what's happening when starting such a process.

Re: Errors in zmmailboxd.out java.io.IOException: Broken pipe

Posted: Wed Jan 23, 2019 10:35 am
by xmana
Faced the same problem, does anyone have a permanent solution for this?
The problem occurred (well, or was discovered) after the upgrade from 8.6 to 8.8.11.

The problem arises for no apparent reason, no complaints about the operation of the service.

Code: Select all

2019-01-23 12:03:46.274:WARN:oejs.HttpChannel:qtp1286783232-14366: /service/home/~/?auth=co&loc=uk&id=8287&part=2&disp=a
java.io.IOException: Broken pipe
        at sun.nio.ch.FileDispatcherImpl.write0(Native Method)
        at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47)
        at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93)
        at sun.nio.ch.IOUtil.write(IOUtil.java:51)
        at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:471)
        at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:175)
        at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.flush(SslConnection.java:808)
...


Code: Select all

[zimbra@mail ~]$ zmcontrol -v
Release 8.8.11_GA_3737.RHEL6_64_20181207111719 RHEL6_64 FOSS edition, Patch 8.8.11_P1.