I'm encountering a lot of deferred mails. Im using zimbra open source edition. and I got a lot of broken pipe.

Please help.


Error logs:

Filename: mailbox.log

2008-06-16 03:12:23,427 ERROR [btpool0-0] [] log - handle failed
java.lang.IllegalStateException: response
at org.mortbay.jetty.HttpConnection$RequestHandler.st artResponse(HttpConnection.java:865)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser. java:403)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpPa rser.java:205)
at org.mortbay.jetty.HttpConnection.handle(HttpConnec tion.java:381)
at org.mortbay.io.nio.SelectChannelEndPoint.run(Selec tChannelEndPoint.java:396)
at org.mortbay.thread.BoundedThreadPool$PoolThread.ru n(BoundedThreadPool.java:442)
2008-06-16 04:59:35,022 ERROR [btpool0-0] [] log - handle failed
java.lang.IllegalStateException: response
at org.mortbay.jetty.HttpConnection$RequestHandler.st artResponse(HttpConnection.java:865)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser. java:403)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpPa rser.java:205)
at org.mortbay.jetty.HttpConnection.handle(HttpConnec tion.java:381)
at org.mortbay.io.nio.SelectChannelEndPoint.run(Selec tChannelEndPoint.java:396)
at org.mortbay.thread.BoundedThreadPool$PoolThread.ru n(BoundedThreadPool.java:442)



java.net.SocketException: Broken pipe
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutp utStream.java:92)
at java.net.SocketOutputStream.write(SocketOutputStre am.java:136)
at com.sun.net.ssl.internal.ssl.OutputRecord.writeBuf fer(OutputRecord.java:295)
at com.sun.net.ssl.internal.ssl.OutputRecord.write(Ou tputRecord.java:284)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRe cordInternal(SSLSocketImpl.java:734)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRe cord(SSLSocketImpl.java:722)
at com.sun.net.ssl.internal.ssl.AppOutputStream.write (AppOutputStream.java:59)
at java.io.BufferedOutputStream.flushBuffer(BufferedO utputStream.java:65)
at java.io.BufferedOutputStream.flush(BufferedOutputS tream.java:123)
at com.zimbra.cs.imap.TcpImapHandler.sendLine(TcpImap Handler.java:295)
at com.zimbra.cs.imap.ImapHandler.sendResponse(ImapHa ndler.java:3449)
at com.zimbra.cs.imap.ImapHandler.sendOK(ImapHandler. java:3436)
at com.zimbra.cs.imap.ImapHandler.doLOGOUT(ImapHandle r.java:935)
at com.zimbra.cs.imap.ImapHandler.executeRequest(Imap Handler.java:448)
at com.zimbra.cs.imap.TcpImapHandler.processCommand(T cpImapHandler.java:151)
at com.zimbra.cs.tcpserver.ProtocolHandler.processCon nection(ProtocolHandler.java:160)
at com.zimbra.cs.tcpserver.ProtocolHandler.run(Protoc olHandler.java:128)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Wo rker.run(Unknown Source)
at java.lang.Thread.run(Thread.java:619)



Filename: zmmailboxd.out

"Thread-785" prio=10 tid=0x0000000040164000 nid=0xfbb waiting on condition [0x000000004077f000..0x000000004077fc90]
java.lang.Thread.State: TIMED_WAITING (sleeping)
at java.lang.Thread.sleep(Native Method)
at com.zimbra.cs.imap.TcpImapHandler$1.run(TcpImapHan dler.java:218)

"ImapSSLServer-163" prio=10 tid=0x00002aaaceea7800 nid=0xf2f runnable [0x0000000041986000..0x0000000041986d10]
java.lang.Thread.State: RUNNABLE
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream. java:129)
at com.sun.net.ssl.internal.ssl.InputRecord.readFully (InputRecord.java:293)
at com.sun.net.ssl.internal.ssl.InputRecord.read(Inpu tRecord.java:331)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRec ord(SSLSocketImpl.java:789)
- locked <0x00002aaaafd2f868> (a java.lang.Object)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDat aRecord(SSLSocketImpl.java:746)
at com.sun.net.ssl.internal.ssl.AppInputStream.read(A ppInputStream.java:75)
- locked <0x00002aaaafd2f8c8> (a com.sun.net.ssl.internal.ssl.AppInputStream)
at java.io.BufferedInputStream.fill(BufferedInputStre am.java:218)
at java.io.BufferedInputStream.read(BufferedInputStre am.java:237)
- locked <0x00002aaaafebd748> (a com.zimbra.cs.tcpserver.TcpServerInputStream)
at com.zimbra.cs.tcpserver.TcpServerInputStream.readL ine(TcpServerInputStream.java:73)
at com.zimbra.cs.imap.TcpImapRequest.continuation(Tcp ImapRequest.java:54)
at com.zimbra.cs.imap.TcpImapHandler.processCommand(T cpImapHandler.java:109)
at com.zimbra.cs.tcpserver.ProtocolHandler.processCon nection(ProtocolHandler.java:160)
at com.zimbra.cs.tcpserver.ProtocolHandler.run(Protoc olHandler.java:128)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Wo rker.run(Unknown Source)
at java.lang.Thread.run(Thread.java:619)

"ImapServer-339" prio=10 tid=0x00002aaacdb2d400 nid=0xf28 in Object.wait() [0x000000004167a000..0x000000004167aa90]
java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
at EDU.oswego.cs.dl.util.concurrent.BoundedLinkedQueu e.poll(Unknown Source)
- locked <0x00002aaab4f9e760> (a java.lang.Object)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor.ge tTask(Unknown Source)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Wo rker.run(Unknown Source)
at java.lang.Thread.run(Thread.java:619)

"ImapSSLServer-162" prio=10 tid=0x00002aaacf85fc00 nid=0xf1e runnable [0x00000000415b7000..0x00000000415b7b90]
java.lang.Thread.State: RUNNABLE
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream. java:129)
at com.sun.net.ssl.internal.ssl.InputRecord.readFully (InputRecord.java:293)
at com.sun.net.ssl.internal.ssl.InputRecord.read(Inpu tRecord.java:331)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRec ord(SSLSocketImpl.java:789)
- locked <0x00002aaaafb76b98> (a java.lang.Object)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDat aRecord(SSLSocketImpl.java:746)
at com.sun.net.ssl.internal.ssl.AppInputStream.read(A ppInputStream.java:75)
- locked <0x00002aaaafb76bf8> (a com.sun.net.ssl.internal.ssl.AppInputStream)
at java.io.BufferedInputStream.fill(BufferedInputStre am.java:218)