From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.devel Subject: Re: eww/url: www connections left "open" Date: Wed, 20 Dec 2017 05:57:50 +0100 Message-ID: <87zi6e573l.fsf@telefonica.net> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1513745820 17009 195.159.176.226 (20 Dec 2017 04:57:00 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 20 Dec 2017 04:57:00 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 20 05:56:56 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eRWR4-0003yP-CN for ged-emacs-devel@m.gmane.org; Wed, 20 Dec 2017 05:56:54 +0100 Original-Received: from localhost ([::1]:58917 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eRWT2-0001KS-P3 for ged-emacs-devel@m.gmane.org; Tue, 19 Dec 2017 23:58:56 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48538) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eRWSK-0001Jc-Os for emacs-devel@gnu.org; Tue, 19 Dec 2017 23:58:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eRWSG-0008JY-P6 for emacs-devel@gnu.org; Tue, 19 Dec 2017 23:58:12 -0500 Original-Received: from [195.159.176.226] (port=49292 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eRWSG-0008GO-3E for emacs-devel@gnu.org; Tue, 19 Dec 2017 23:58:08 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1eRWQ8-0007tJ-C4 for emacs-devel@gnu.org; Wed, 20 Dec 2017 05:55:56 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 29 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:5NJlOu+T0ZU7hYwnVogP/KDPnfA= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:221269 Archived-At: raman writes: > This is in emacs from Git@Head -- though the issue has been around for > a long time. > > If you use EWW to open a Web site -- say > http://www.cnn.com --- then do M-x list-processes --- you see that > there is a "open" connection to www.cnn.com hanging around (likely > because of http keep-alive?) -- not sure. > > There is no such connection hanging around if you open www.gnu.org. > > Most of the time, this is harmless and the connections go away --- > except when they dont, and if more than a few of these hang around, > then opening other URLs with EWW produces nothing. Killing those > hanging connections with delete-process immediately gets EWW working > again --- e.g. killing those connections with the following loop: > > (cl-loop > for p in (process-list) > when (string-match "www" (process-name p)) > do (delete-process p)) I confirm the problem. Your method for killing those processes is not effective because it depends on the presence of "www". Right now I have 4 open processes related to web sites, none of them contains the "www" string. BTW, it is preferable to report this problems with M-x report-emacs-bug.