Results 1 to 10 of 11

Thread: java.io.IOException accessing big zimbra mail folder from squirrelmail client

Hybrid View

  1. #1
    Join Date
    Nov 2006
    Location
    Netherlands
    Posts
    90
    Rep Power
    9

    Default java.io.IOException accessing big zimbra mail folder from squirrelmail client

    Hi,

    Some of the people at my office are on the road a lot, working at customers with old browsers that don't support ajax. For these situations I want to provide them with the squirrelmail webmail client.

    I got it set up ok i think, the only problem is that viewing "big" folders doesn't work. My Sent Items folder for instance, contains over 9000 messages. When Squirrelmail tries to open it, it takes around 1 minute and then it shows me the browser download file dialog for the file right_mail.php. When I save that and open it, there's nothing in it.

    The zimbra.log says:

    2006-11-25 14:43:59,737 INFO [ImapServer-55] [ip=10.0.0.5;name=aaa@bbb.com;] imap - [ search is: in:"INBOX" (item:all ) ]
    2006-11-25 14:44:11,926 INFO [ImapServer-55] [] ProtocolHandler - Exception occurred while handling connection
    java.io.IOException: Broken pipe
    at sun.nio.ch.FileDispatcher.write0(Native Method)
    at sun.nio.ch.SocketDispatcher.write(SocketDispatcher .java:29)
    at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.jav a:104)
    at sun.nio.ch.IOUtil.write(IOUtil.java:75)
    at sun.nio.ch.SocketChannelImpl.write(SocketChannelIm pl.java:302)
    at java.nio.channels.Channels.write(Channels.java:60)
    at java.nio.channels.Channels.access$000(Channels.jav a:47)
    at java.nio.channels.Channels$1.write(Channels.java:1 34)
    at java.io.BufferedOutputStream.flushBuffer(BufferedO utputStream.java:65)
    at java.io.BufferedOutputStream.write(BufferedOutputS tream.java:109)
    at java.io.FilterOutputStream.write(FilterOutputStrea m.java:80)
    at com.zimbra.cs.imap.ImapHandler.doFETCH(ImapHandler .java:1684)
    at com.zimbra.cs.imap.ImapHandler.executeRequest(Imap Handler.java:394)
    at com.zimbra.cs.imap.ImapHandler.processCommand(Imap Handler.java:227)
    at com.zimbra.cs.tcpserver.ProtocolHandler.processCon nection(ProtocolHandler.java:231)
    at com.zimbra.cs.tcpserver.ProtocolHandler.run(Protoc olHandler.java:198)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Wo rker.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:595)
    2006-11-25 14:44:11,927 INFO [ImapServer-55] [] ProtocolHandler - Handler exiting normally


    Before reporting it as a bug, has anyone seen this before?
    Is there a parameter I missed?

    I'm running 4.5.0_BETA1_440.UBUNTU6.

    Any ideas would be appreciated.

    kind regards, Bart.

  2. #2
    Join Date
    Nov 2006
    Location
    Hilversum, The Netherlands
    Posts
    23
    Rep Power
    9

    Default Squirrelmail settings

    I've seen this type of timeout errors reported on the SquirrelMail mailing list several times. It has to do with (IIRC) IMAP server side sorting setting. Try searching the SM mailing list also.

  3. #3
    Join Date
    Nov 2006
    Location
    Netherlands
    Posts
    90
    Rep Power
    9

    Default

    hmm, I searched somewhat more and found suggestions about memory limits and timeouts settings in php.ini.
    I played around but it didn't help.

    Then I saw that I had my mail folders sorted in squirrelmail. I removed that and now it works. I guess something doesn't like those 9000 messages being passed from zimbra to squirrelmail to be sorted. I did however see (from TOP) that it was not the sorting part that caused the problem. The pipe broke while the messages were being transferred.

    By the way, why isn't the imap command SORT implemented by zimbra?

    cheers Bart.

  4. #4
    Join Date
    Aug 2005
    Posts
    1,433
    Rep Power
    12

    Default SORT extension

    Quote Originally Posted by eombah View Post
    By the way, why isn't the imap command SORT implemented by zimbra?
    It's a work-in-progress extension that hasn't yet been finalized, and -- believe it or not -- nobody has ever asked for it before. If you'd like to see it, please file an enhancement request in bugzilla!
    Bugzilla - Wiki - Downloads - Before posting... Search!

  5. #5
    Join Date
    Nov 2006
    Location
    Netherlands
    Posts
    90
    Rep Power
    9

    Default

    I entered
    bug 12491
    cheers Bart.

  6. #6
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    Quote Originally Posted by eombah View Post
    I entered
    bug 12491
    cheers Bart.
    Vote on it as well.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

Similar Threads

  1. fresh install down may be due to tomcat
    By gon in forum Installation
    Replies: 10
    Last Post: 07-25-2007, 09:09 AM
  2. upgrade woes -made into new thread
    By JustinHarlow in forum Installation
    Replies: 18
    Last Post: 06-08-2007, 01:11 PM
  3. Replies: 8
    Last Post: 02-27-2007, 04:10 AM
  4. Fedora Core 3, Clean Install - Not working!
    By pcjackson in forum Installation
    Replies: 17
    Last Post: 03-05-2006, 07:38 PM
  5. FC3 Install and no zimbra ?
    By aws in forum Installation
    Replies: 10
    Last Post: 10-09-2005, 05:19 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •