From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: from mx1.math.uh.edu (mx1.math.uh.edu [129.7.128.32]) by inbox.vuxu.org (Postfix) with ESMTP id 77AA324B86 for ; Fri, 9 Feb 2024 23:57:51 +0100 (CET) Received: from lists1.math.uh.edu ([129.7.128.208]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.97.1) (envelope-from ) id 1rYZod-00000009XOF-04gH for ml@inbox.vuxu.org; Fri, 09 Feb 2024 16:57:51 -0600 Received: from lists1.math.uh.edu ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.97.1) (envelope-from ) id 1rYZoc-00000000MCN-3O82 for ml@inbox.vuxu.org; Fri, 09 Feb 2024 16:57:50 -0600 Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtp (Exim 4.97.1) (envelope-from ) id 1rYZob-00000000MCG-0dFu for ding@lists.math.uh.edu; Fri, 09 Feb 2024 16:57:49 -0600 Received: from quimby.gnus.org ([95.216.78.240]) by mx2.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.97.1) (envelope-from ) id 1rYZoW-00000006rGr-0wMf for ding@lists.math.uh.edu; Fri, 09 Feb 2024 16:57:49 -0600 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:Mime-Version:References:Message-ID:Date:Subject: From:To:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=V6p9lnZOWrDCUcYkJt8bV0qXo/8FRrgkTrujhsTM0cc=; b=UF2dqEIBOZwXeXXLMNFzCrlwQb kr1WpDI7/OpgV+ZF+TPMb438OB2uPGlYOqyVGJ04HdjVKLvhf3xGjqEfvKetuSI6ZB2L3avnJaf2Q pBv9P0PjYNx+VskWc2OLx8S5Za5E52MColIMtVUGp7mrFednpgYSgGLURv5hiaBDoGxA=; Received: from ciao.gmane.io ([116.202.254.214]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rYZo1-0008Ag-H3 for ding@gnus.org; Fri, 09 Feb 2024 23:57:16 +0100 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1rYZo0-0006mz-7X for ding@gnus.org; Fri, 09 Feb 2024 23:57:12 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: ding@gnus.org From: Eric Abrahamsen Subject: Re: Gnus hangs when not used for 5 minutes Date: Fri, 09 Feb 2024 14:57:02 -0800 Message-ID: <87zfw9l001.fsf@ericabrahamsen.net> References: <87sf222hok.fsf@its.a.fake> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:3ucW3BQOUM+1do7b3X0QPh7+nto= List-ID: Precedence: bulk NNTP Surfer writes: > Hello, > > I'm using Gnus for 2 weeks now. It's a great program but there is one > thing that makes it almost unusable. > > My workflow: > - run Gnus with `M-x Gnus`. > - Gnus creates list on unread messages. > - I walk away for 5-10 minutes to do different tasks. > - Whe I return to Gnus I see that any attempt to view next unread > message hangs program. > - Gnus can be `unhang` by pressing `C-g` but will not be able to > do anything with internet connection. > - So I exit gnus by hitting `q`. > - I run once again `M-x Gnus` and everything start over again. Gnus can > connect to servers but only if there is no break when using it. > > To me it looks like Gnus needs some kind of "keep alive" or "heartbeat" > mechanism. > > Is this known behavior? Maybe I should configure something? > Can Gnus download all unread messages to my hard drive so i could view > and respond to them in offline mode? >From your username I'm guessing that this is an nntp server. Try setting `nntp-connection-timeout' to a lowish number of seconds, and see if that fixes it?