Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#510 Busy loop and exceptions when calendar server inaccessible

v4.3.0
closed-fixed
nobody
Caldav (158)
7
2014-06-03
2013-04-03
dvo
No

When trying to synchronize a calendar while the server is not accessible,
exceptions are thrown all the time, causing very high CPU load.
This happens both when the network is down (causing UnkownHostException)
and when the wrong server is accessed (causing NullPointerException, log attached).
The latter happens when my Laptop using OpenDNS is connected to the Internet,
while the calendar server of my company is accessible from the company intranet only,
and OpenDNS redirects the domain of the server to a default error domain.

Severity: Highest, since this makes DavMail unusable, as it blocks my machine\'s
desktop server Xorg (running Gnome 2 on Ubuntu 12.03).

Discussion

1 2 3 > >> (Page 1 of 3)
  • dvo
    dvo
    2013-04-03

    davmail-NullPointerException.log

     
  • dvo
    dvo
    2013-04-03

    Highest prioritiy

     
  • dvo
    dvo
    2013-04-03

    • priority: 5 --> 9
     
  • I also noticed this. Unfortunately this is a Lightning regression: the 503 service unavailable returned by DavMail is correct but Lighting tries again indefinitely.

     
    • status: open --> open-invalid
     
  • dvo
    dvo
    2013-04-10

    • status: open-invalid --> open
     
  • dvo
    dvo
    2013-04-10

    Has this severe misbehavior been reported as Lightning bug?

    In any case, to alleviate the situation, DavMail could do at least one of the following:
    1. Not report errors of the given kind via the GUI. In this way, the desktop is not blocked
    and the unacceptable CPU load is confined to Thunderbird/Lightning and DavMail.
    2. Delay the 503 error response in the given case(e) by sleeping for, e.g., 1000ms.

     
  • - You can disable graphical notifications in DavMail settings
    - Please go ahead and submit the issue on Lightning tracker, and let us know the answer

     
  • dvo
    dvo
    2013-04-11

    > You can disable graphical notifications in DavMail settings

    Doing this, the desktop is more responsive, but still I get 50% needless CPU load until killing DavMail :-(

    > Please go ahead and submit the issue on Lightning tracker, and let us know the answer

    I added a respective comment to a existing but report apparently caused by the same bug: https://bugzilla.mozilla.org/show_bug.cgi?id=746962#c3

    Given the typically very slow responsiveness of the Thunderbird developers until a fix is available, the second workaround at the DavMail side that I suggested in my last comment (adding a delay before returning error 503) would still be highly appreciated.

     
  • Fixed in commit 2091: workaround for Lightning bug, return 403 instead of 503 on server unavailable

     
1 2 3 > >> (Page 1 of 3)