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

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
lhfelice
Posts: 3
Joined: Wed Apr 27, 2016 2:29 pm

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

Post 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/ ... t=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
ludovic.senecaux
Posts: 2
Joined: Wed May 25, 2016 12:33 pm

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

Post 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
cerri
Posts: 27
Joined: Sat Sep 13, 2014 3:03 am

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

Post by cerri »

Was someone able to solve this issue?
digitaltendencies
Posts: 24
Joined: Sat Sep 13, 2014 12:12 am

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

Post by digitaltendencies »

I am seeing the same issue as well. It was happening with 8.6 Patch 7 and still happens with 8.7
ccesario
Posts: 12
Joined: Fri Sep 12, 2014 11:44 pm

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

Post by ccesario »

I'm facing the same problem with version 8.7.

Does someone found the root cause!?

Best regards,

-Carlos
flunda
Advanced member
Advanced member
Posts: 61
Joined: Fri Sep 18, 2015 2:19 am
ZCS/ZD Version: 8.7.0_GA_1659.RHEL6_64 @ CentOS_6

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

Post 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)
User avatar
ccelis5215
Outstanding Member
Outstanding Member
Posts: 632
Joined: Sat Sep 13, 2014 2:04 am
Location: Caracas - Venezuela
ZCS/ZD Version: 8.8.15.GA.3869.UBUNTU18.64 P12

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

Post 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
flunda
Advanced member
Advanced member
Posts: 61
Joined: Fri Sep 18, 2015 2:19 am
ZCS/ZD Version: 8.7.0_GA_1659.RHEL6_64 @ CentOS_6

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

Post by flunda »

It's not unnecessary for a prod-environment, i want to see what's happening when starting such a process.
xmana
Posts: 12
Joined: Tue Mar 21, 2017 12:58 pm

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

Post 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.
Post Reply