Package: gnus
Version: 5.10.6-0.CVS.20050317-1
Severity: normal

When I try to send a large message (around 10Mb), Gnus works hard for
a while, then comes to a stop, using no CPU any more. The strace of
this state looks like this,

2762  17:01:07 --- SIGALRM (Alarm clock) @ 0 (0) ---
2762  17:01:07 gettimeofday({1141077667, 483234}, NULL) = 0
2762  17:01:07 gettimeofday({1141077667, 483291}, NULL) = 0
2762  17:01:07 setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 1000}}, 
NULL) = 0
2762  17:01:07 sigreturn()              = ? (mask now [IO])
2762  17:01:07 futex(0x4041d840, FUTEX_WAIT, 2, NULL) = -1 EINTR (Interrupted 
system call)
2762  17:01:07 --- SIGALRM (Alarm clock) @ 0 (0) ---
2762  17:01:07 gettimeofday({1141077667, 485221}, NULL) = 0
2762  17:01:07 gettimeofday({1141077667, 485275}, NULL) = 0
2762  17:01:07 setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 1000}}, 
NULL) = 0
2762  17:01:07 sigreturn()              = ? (mask now [IO])
2762  17:01:07 futex(0x4041d840, FUTEX_WAIT, 2, NULL) = -1 EINTR (Interrupted 
system call)
2762  17:01:07 --- SIGALRM (Alarm clock) @ 0 (0) ---

... and just keeps repeating.

Using ps o pid,wchan=WCHAN-WITH-MORE-COLUMNS,command reveals a wchan
of default_exec_domain.

Sometimes emacs will say "Memory exhausted" (it does climb up into
using an enormous amount of memory, maybe around 500Mb, I can't
remember, certainly very much more than the message plus whatever Gnus
was using before the send attempt) but more usually it just gets into
a state where it's completely wedged - it won't even redraw the window
or respond to SIGTERM. (I think the SIGALRM repeating stuff above is
from that wedged state.)

I've tried waiting over an hour for it to do anything further, and it
doesn't. (The SMTP server is on the local network, on a fast machine,
and accepts other large stuff from other MUAs very happily and
quickly, so I doubt the problem's there. Nothing appears in the SMTP
server logs about this Gnus message send attempt.)

Sending smaller messages works just fine.

I have no .emacs file.

My .gnus.el is below.

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages gnus depends on:
ii  emacs21                       21.4a-1    The GNU Emacs editor
ii  make                          3.80-9     The GNU version of the "make" util
ii  ucf                           1.17       Update Configuration File: preserv

-- debconf information:
* gnus/upgrade/pre_5.9.0: true

-- .gnus.el

(setq user-mail-address "[EMAIL PROTECTED]")
(setq gnus-user-organization "none")
(setq user-full-name "Mark T.B. Carroll")
(setq gnus-subscribe-hierarchical-interactive t)
(setq gnus-check-new-newsgroups 'ask-server)
(setq gnus-save-killed-list nil)
(setq gnus-activate-level gnus-level-subscribed)
(setq gnus-activate-foreign-newsgroups gnus-level-subscribed)
(setq gnus-extract-address-components 'mail-extract-address-components)
(setq gnus-build-sparse-threads 'some)
(setq gnus-auto-expirable-newsgroups "")
(setq gnus-agent-expire-days 30)
(setq nnmail-expiry-wait 90)
(setq message-send-mail-partially-limit nil)
(setq gnus-treat-display-smileys nil)
(setq mail-yank-prefix ">")

(setq gnus-select-method 
      '(nntp "aetion"
             (nntp-address "bison.aetion.internal")
             (nntp-via-user-name "markc")
             (nntp-via-address "tara.aetion.com")
             (nntp-via-rlogin-command "ssh")
             (nntp-end-of-line "\n")
             (nntp-via-rlogin-command-switches ("-C" "-t" "-e" "none"))
             (nntp-open-connection-function nntp-open-via-rlogin-and-telnet)))

(defun nntp-open-to-chiark (buffer)
  "Open a connection to chiark using AUTHINFO GENERIC."
  (let ((proc (start-process "nntpd" buffer "chiark-nntp")))
    (set-buffer buffer)
    proc))

(setq gnus-secondary-select-methods
      '(
        (nntp "osu-cse"
              (nntp-address "news.cse.ohio-state.edu")
              (nntp-via-user-name "carroll")
              (nntp-via-address "stdsun.cse.ohio-state.edu")
              (nntp-via-rlogin-command "ssh")
              (nntp-end-of-line "\n")
              (nntp-via-rlogin-command-switches ("-C" "-t" "-e" "none"))
              (nntp-open-connection-function nntp-open-via-rlogin-and-telnet))
        (nntp "chiark"
              (nntp-end-of-line "\n")
              (nntp-open-connection-function nntp-open-to-chiark))
        (nnml "mail")))

(setq gnus-spam-group "nnml+mail:mail.spam")

(setq smtpmail-smtp-server "bison")
(setq message-send-mail-function 'smtpmail-send-it)

(setq mail-sources 
      '((pop :server "bison"
             :user "markc"
             :password "********"))) ; eliminated for this bug report
             
(setq message-subscribed-address-functions '(gnus-find-subscribed-addresses))
(setq gnus-confirm-treat-mail-like-news t)
(setq nnmail-crosspost nil)

(setq gnus-message-archive-group "nnml:mail.outgoing")

(setq nnmail-split-methods
      '(("mail.spam" "^X-Spam-Level:.*\\*\\*\\*\\*\\*")
        ("mail.mailman" "^Subject:.*mailing list memberships reminder")
        ("mail.lj" "^From:[EMAIL PROTECTED]")
        ("mail.sawfish" "^List-Id:.*sawfish")
        ("mail.thinkpad" "^Sender:.*linux-thinkpad")
        ("mail.haskell" "^Sender:.*haskell")
        ("mail.lyx" "^List-Post:.*lyx-users")
        ("mail.madwifi" "^Sender:.*madwifi")
        ("mail.incoming" "")))

(setq gnus-parameters
      '(("mail.sawfish"
         (to-list . "sawfish-list@gnome.org")
         (subscribed . t))
        ("mail.thinkpad"
         (to-list . "[EMAIL PROTECTED]")
         (subscribed . t))
        ("mail.haskell"
         (subscribed . t))
        ("mail.lyx"
         (to-list . "lyx-users@lists.lyx.org")
         (subscribed . t))
        ("mail.madwifi"
         (to-list . "[EMAIL PROTECTED]")
         (subscribed . t))))

(add-hook 'gnus-select-article-hook 'gnus-agent-fetch-selected-article)



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

Reply via email to