From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/6783 Path: news.gmane.org!not-for-mail From: Neil Woods Newsgroups: gmane.emacs.gnus.user Subject: Gnus stuck in select/gettimeofday loop Date: Sat, 25 Feb 2006 07:38:10 +0000 Organization: (TINO) Message-ID: <87fym7riql.fsf@phun.phasmic.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1141191084 22453 80.91.229.2 (1 Mar 2006 05:31:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 1 Mar 2006 05:31:24 +0000 (UTC) Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Wed Mar 01 06:31:21 2006 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FEJvf-0005ys-9H for gegu-info-gnus-english@m.gmane.org; Wed, 01 Mar 2006 06:31:18 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FEJve-0007gB-9r for gegu-info-gnus-english@m.gmane.org; Wed, 01 Mar 2006 00:31:14 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: comp.emacs,gnu.emacs.gnus Original-Lines: 64 Original-X-Trace: individual.net yV+cHt+daOY4nowtrdubHQaBExYdLE5SRplWG4i/zdPbsyANmA Mail-Copies-To: nobody User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:TQ7kbv0N9VIBlZjMszO27hC0p0U= Original-Xref: shelby.stanford.edu comp.emacs:91265 gnu.emacs.gnus:76971 Original-To: info-gnus-english@gnu.org X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:6783 Archived-At: I'm running the latest Gnu Emacs snapshot from Debian, and the latest CVS snapshot of Gnus (checked out today). Occasionally¹ Emacs will lock up completely whilst in Gnus, at this point it is unresponsive to C-g. Doing an strace of the process gives the following outputs: % strace -Tvp 24093 [...] select(8, [3 5 6 7], NULL, NULL, {0, 30}) = 0 (Timeout) <0.000640> gettimeofday({1140846360, 622910}, NULL) = 0 <0.000016> gettimeofday({1140846360, 623000}, NULL) = 0 <0.000017> gettimeofday({1140846360, 623069}, NULL) = 0 <0.000016> gettimeofday({1140846360, 623137}, NULL) = 0 <0.000015> select(8, [3 5 6 7], NULL, NULL, {0, 31}) = 0 (Timeout) <0.000641> gettimeofday({1140846360, 623910}, NULL) = 0 <0.000016> gettimeofday({1140846360, 624019}, NULL) = 0 <0.000019> gettimeofday({1140846360, 624089}, NULL) = 0 <0.000015> gettimeofday({1140846360, 624157}, NULL) = 0 <0.000015> [many repetitions of this...] and strace for a few seconds: % strace -c -p 24093 Process 24093 attached - interrupt to quit Process 24093 detached % time seconds usecs/call calls errors syscall ------ ----------- ----------- --------- --------- ---------------- 98.76 7.385984 825 8952 1 select 1.24 0.092740 3 35839 gettimeofday 0.00 0.000035 35 1 write 0.00 0.000012 6 2 read 0.00 0.000005 2 3 ioctl 0.00 0.000004 2 2 2 sigreturn 0.00 0.000004 1 4 poll ------ ----------- ----------- --------- --------- ---------------- 100.00 7.478784 44803 3 total There is a single network connection open from Emacs to sea.gmane.org, which doesn't want to timeout - I suspect² this may be related. Disconnecting from the net and waiting for 20 minutes had no effect. Curiously, even though Emacs was unresponsive to the keyboard and mouse, I *did* manage to exit Gnus by typing: % gnuclient -q -f gnus-group-exit At this point I saved buffers and exited. Any help on this, and advice on how best I can debug this would be greatly appreciated. Thanks in advance. ¹As I mentioned, this is an occasional occurrence (there is no way to reproduce this on demand) - the above is the output of the last occurrence a few minutes ago. ²Every time this has happened there has been an open network connection which won't die, but stays in ESTABLISHED state, checked using netstat. -- Neil. Don't make a big deal out of everything; just deal with everything.