Results 1 to 4 of 4

Thread: Slow response when dealing with poorly formatted email

  1. #1
    Join Date
    Sep 2005
    Posts
    51
    Rep Power
    10

    Default Slow response when dealing with poorly formatted email

    Hi,

    As a test I sent a lot of badly formatted email into some test mailboxes (just 1000-2000 messages). Mostly they weren't word-wrapped at all.

    When opening these within the web interface I see delays of upto 3 minutes getting a response however. If I delete the messages and send the same text but wrapped properly then the response goes back to normal.
    Accessing them from a normal IMAP client seems ok however.

    Has anyone else seen this kind of behaviour with poorly formatted mails?



    Billy.

  2. #2
    Join Date
    Sep 2005
    Posts
    51
    Rep Power
    10

    Default

    I thought I'd try using the debug window and I can see the following :

    Code:
    ZmMailListView: FLAGS
    ZmListView: FLAGS
    ZmMailListView: FLAGS
    ZmListView: FLAGS
    Handling NOTIFY
    handling CREATE for node: m
    handling CREATE for node: m
    handling CREATE for node: m
    handling CREATE for node: c
    handling CREATE for node: c
    handling CREATE for node: c
    handling modified notif for ID 32980, node type = m
    ZmMailListView: FLAGS
    ZmListView: FLAGS
    handling modified notif for ID -32980, node type = c
    handling modified notif for ID 2, node type = folder
    ZmCalViewController: notifyComplete: false
    Async RPC request: ready state = 3
    Async RPC request: ready state = 3
    Async RPC request: ready state = 3
    Async RPC request: ready state = 3
    Async RPC request: ready state = 3
    Async RPC request: ready state = 3
    Async RPC request: ready state = 3
    Async RPC request: ready state = 3
    Async RPC request: ready state = 4
    Async RPC request: HTTP status = 200
    ROUND TRIP TIME: 129095
    The times on the calls at the left of the debug window are :

    Code:
    GetMsgRequest - [03:39:42.729]
    SearchConvRequest - [03:39:42.923]
    GetMsgResponse - [03:39:46.440]
    SearchConvResponse - [03:41:52.66]
    So just over 2 minutes to parse the "all the text on one line" message, where-as a similar size message but correctly wrapped comes back in about a second :

    Code:
    GetMsgRequest - [03:50:02.698]
    SearchConvRequest - [03:50:02.912]
    GetMsgResponse - [03:50:02.928]
    SearchConvResponse - [03:50:03.599]

  3. #3
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    Nice find Billy. Seems like either JavaMail or our code is not using the most efficient method to walk the message in this case. Can you file this in bugzilla with your test message?
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  4. #4
    Join Date
    Sep 2005
    Posts
    51
    Rep Power
    10

    Default

    Added a bugzilla #8225 :-)


    Billy.

Similar Threads

  1. need advice on configuring zimbra to work with fax server
    By pheonix1t in forum Administrators
    Replies: 0
    Last Post: 07-11-2007, 08:46 PM
  2. upgrade to 4.0.3 antispam does'nt work
    By lucanannipieri in forum Administrators
    Replies: 14
    Last Post: 11-07-2006, 03:56 AM

Posting Permissions

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