Hi Franck,
I believe that's been fixed in version 3.0.

At least, i'm unable to reproduce the problem.
Can you confirm this?

thanks,

-Pascal

On 5/1/06, franck <[EMAIL PROTECTED]> wrote:
Package: mail-notification
Version: 2.0.dfsg.1-3
Severity: normal

Hi,

Just to inform that mail-notification takes a lot of cpu when it cannot reach
the host on which the mailboxes are.
Results are then like: ps aux | grep -i mail-notification
f         4749 94.3  0.8  44416  8664 pts/2    Sl+  10:17 3:01 mail-notification

How to reproduce:
- my mailboxes are on distant hosts. I need internet connection to reach them.
  my internet connection go through eth0.
- $ ifdown eth0
- $ mail-notification
- it will start eating all cpu. Approx 50% are used by the system Top
  indicates: Cpu(s): 53.3% us, 42.3% sy,  4.3% ni,  0.0% id,  0.0% wa,  0.0% 
hi,  0.0% si
- this situation last until it can reach the mail-boxes

- $ ifup eth0
- internet available but mail-notification keep eating all cpu. I guess the
  duration is roughly the delay between mail-check.
- once mail-notification check the mailboxes (window indicating new mails
  appear), cpu consumption returns to normal.

So I guess there is some loop inside mail-notification that just keep trying
reaching the host until it succeeds. There should be a delay inside this loop.
What is strange is that once internet comes up again, mail-notification still
eat up all cpu until it really check for emails. Looks like it keep trying
reaching the host, but just to contact him due to previous request, but it
actually check for emails only after the 'delay between mail-check' is reached.
So there must be 2 loops. That's just my guess.

Note that this can be linked to bug #334767 'mail-notification: CPU usage
shoots up when checking mail box over ssh'. However I did not use ssh.

Hoping you can see a solution.  Should you need more info, tell me how to
obtain them and I will provide them to you.  Note: in case it is important,
mail-notification checks 2 mailboxes with IMAP and 1 with POP3.

Kindly,
Franck R.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-k7
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages mail-notification depends on:
ii  gconf2                  2.14.0-1         GNOME configuration database syste
ii  gnome-icon-theme        2.14.2-1         GNOME Desktop icon theme
ii  libart-2.0-2            2.3.17-1         Library of functions for 2D graphi
ii  libatk1.0-0             1.11.4-1         The ATK accessibility toolkit
ii  libaudiofile0           0.2.6-6          Open-source version of SGI's audio
ii  libavahi-client3        0.6.9-8+b1       Avahi client library
ii  libavahi-common3        0.6.9-8+b1       Avahi common library
ii  libavahi-glib1          0.6.9-8+b1       Avahi glib integration library
ii  libbonobo2-0            2.14.0-1         Bonobo CORBA interfaces library
ii  libbonoboui2-0          2.14.0-2         The Bonobo UI library
ii  libc6                   2.3.6-7          GNU C Library: Shared libraries
ii  libcairo2               1.0.4-2          The Cairo 2D vector graphics libra
ii  libdbus-1-2             0.61-5           simple interprocess messaging syst
ii  libeel2-2               2.12.2-4         Eazel Extensions Library (for GNOM
ii  libesd0                 0.2.36-3         Enlightened Sound Daemon - Shared
ii  libfontconfig1          2.3.2-5.1        generic font configuration library
ii  libfreetype6            2.1.10-3         FreeType 2 font engine, shared lib
ii  libgail-common          1.8.11-2         GNOME Accessibility Implementation
ii  libgail17               1.8.11-2         GNOME Accessibility Implementation
ii  libgamin0 [libfam0]     0.1.7-3          Client library for the gamin file
ii  libgconf2-4             2.14.0-1         GNOME configuration database syste
ii  libgcrypt11             1.2.2-1          LGPL Crypto library - runtime libr
ii  libglade2-0             1:2.5.1-2        library to load .glade files at ru
ii  libglib2.0-0            2.10.2-2         The GLib library of C routines
ii  libgmime2.1             2.1.19-1         MIME library, unstable version
ii  libgnome-desktop-2      2.14.1.1-1       Utility library for loading .deskt
ii  libgnome-keyring0       0.4.9-1          GNOME keyring services library
ii  libgnome-menu2          2.14.0-1         an implementation of the freedeskt
ii  libgnome2-0             2.14.1-1         The GNOME 2 library - runtime file
ii  libgnomecanvas2-0       2.14.0-2         A powerful object-oriented display
ii  libgnomeui-0            2.14.1-1         The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0          2.14.1-1         GNOME virtual file-system (runtime
ii  libgnutls11             1.0.16-14+b1     GNU TLS library - runtime library
ii  libgpg-error0           1.2-1            library for common error values an
ii  libgtk2.0-0             2.8.17-2         The GTK+ graphical user interface
ii  libice6                 1:1.0.0-3        X11 Inter-Client Exchange library
ii  libjpeg62               6b-12            The Independent JPEG Group's JPEG
ii  liborbit2               1:2.14.0-1       libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0           1.12.1-2         Layout and rendering of internatio
ii  libpng12-0              1.2.8rel-5.1     PNG library - runtime
ii  libpopt0                1.7-5            lib for parsing cmdline parameters
ii  libsasl2                2.1.19.dfsg1-0.2 Authentication abstraction library
ii  libsm6                  1:1.0.0-4        X11 Session Management library
ii  libstartup-notification 0.8-1            library for program launch feedbac
ii  libtasn1-2              1:0.2.17-2       Manage ASN.1 structures (runtime)
ii  libx11-6                2:1.0.0-6        X11 client-side library
ii  libxcursor1             1.1.5.2-5        X cursor management library
ii  libxext6                1:1.0.0-4        X11 miscellaneous extension librar
ii  libxfixes3              1:3.0.1.2-4      X11 miscellaneous 'fixes' extensio
ii  libxi6                  1:1.0.0-5        X11 Input extension library
ii  libxinerama1            1:1.0.1-4        X11 Xinerama extension library
ii  libxml2                 2.6.23.dfsg.2-3  GNOME XML library
ii  libxrandr2              2:1.1.0.2-4      X11 RandR extension library
ii  libxrender1             1:0.9.0.2-4      X Rendering Extension client libra
ii  zlib1g                  1:1.2.3-11       compression library - runtime

mail-notification recommends no packages.

-- no debconf information




--
Homepage (http://organact.mine.nu)
Debian GNU/Linux (http://www.debian.org)


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to