From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: raman Newsgroups: gmane.emacs.devel Subject: Re: eww/url: www connections left "open" Date: Wed, 20 Dec 2017 08:13:56 -0800 Message-ID: References: <5DE422A4-3AF8-47FB-A048-F505E0883801@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1513786344 6561 195.159.176.226 (20 Dec 2017 16:12:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 20 Dec 2017 16:12:24 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 20 17:12:20 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 1eRgyf-00018s-1s for ged-emacs-devel@m.gmane.org; Wed, 20 Dec 2017 17:12:17 +0100 Original-Received: from localhost ([::1]:57555 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eRh0d-0006re-CU for ged-emacs-devel@m.gmane.org; Wed, 20 Dec 2017 11:14:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45155) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eRh0R-0006q5-US for emacs-devel@gnu.org; Wed, 20 Dec 2017 11:14:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eRh0N-0001rU-DB for emacs-devel@gnu.org; Wed, 20 Dec 2017 11:14:07 -0500 Original-Received: from mail-qk0-x22e.google.com ([2607:f8b0:400d:c09::22e]:32770) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eRh0N-0001qv-9i for emacs-devel@gnu.org; Wed, 20 Dec 2017 11:14:03 -0500 Original-Received: by mail-qk0-x22e.google.com with SMTP id x7so9915707qkb.0 for ; Wed, 20 Dec 2017 08:14:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=zisGd6BY6mpOIuaId2aDnNenY3bKsivbT3gdXoEnfuo=; b=PeCCv+Tkda9KFZ8s7Kxder1oSXAmumbXRjLJ7Bnsgl0a4pRBpvIze63D5GpJhkrhoi tgDdJzZ4UH6Lq65UbwAdFVRaSJFEn8pT7oSXF15wLLTrgjZ8zEgv9MIclkutcxaK67El k3bLdu4PH4OKkgx1370QAjB94Uqjc8uCfVbi2RUv4djhpWNHF456ZXMfF7lPuk4HMJMb YvM7Xkm1kafuGAhvkgRWmRSSDybe8L2nsVELFGHx1qiEQDMFm0owLLdoNcEgVeBcQYE2 shusCLyzgXOXGbymIFZFgDaEBkT0C5nOIIfqDU7GGnJWIagDyjS7pbP0/E/uHtUWdStP KJIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=zisGd6BY6mpOIuaId2aDnNenY3bKsivbT3gdXoEnfuo=; b=r4hUgTJNa0ny5ulHxbb7jfHx//w6l5w+ET/Dk0ZnVwwhqcQC5aJB1wYcIM46lx/TFR 58XBb7h1Ta8NQKosI5kleBBh9oQNnm2ICzgsie4sxcL3EWTdFsXH5jAX4DyAvCBBiwlN /1nkcav0qOpmSIdv+dP0VLqGf0QwfCANw+v8PsCibE2eBSavHbNpTIuZFpXYUj+QPCNZ 5Maf2u0nyyk+CgiouUHqWdoNMb8SsIj4agplgrDhull+eN1YlAC3LYeHG2hQ1Pk5Jcsn hZUBscbN596kHf4zX/wrvsPcRqKuewoXoqKFNxBiYdJvqEGgEIlSEgiPEyCF71UsFJqF AKOw== X-Gm-Message-State: AKGB3mJOilTEd0jX7ZinwAttrrt+Rl3g5kuanU7q/JWMlQHwv7EVJf2/ PwuoMo6DOJVI8MnKuST9oTVoEQ/S6vA= X-Google-Smtp-Source: ACJfBov9xvbWBlKjhni4eu48vcg5RGo2KB3Nx6AZPgnqL0PG+NW02PUmBBK7ASxfsYEt8O+HBWH+5A== X-Received: by 10.55.162.23 with SMTP id l23mr2528551qke.29.1513786442043; Wed, 20 Dec 2017 08:14:02 -0800 (PST) Original-Received: from raman-glaptop2 (24-221-200-111.pools.static.spcsdns.net. [24.221.200.111]) by smtp.gmail.com with ESMTPSA id l52sm11549960qta.12.2017.12.20.08.13.59 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Wed, 20 Dec 2017 08:14:00 -0800 (PST) In-Reply-To: <5DE422A4-3AF8-47FB-A048-F505E0883801@gnu.org> (Eli Zaretskii's message of "Wed, 20 Dec 2017 06:56:53 +0200") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c09::22e 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:221281 Archived-At: Eli Zaretskii writes: I'm seeing the problem on Ubuntu Trusty. As I said -- the waiting connections dont always affect EWW --- appears to bite when there are a lot of them around.> On December 20, 2017 6:09:24 AM GMT+02:00, raman wrote: >> 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 see such connections in the process list for gnu.org as well. > Moreover, if I open cnn.com in a browser, netstat shows me connections waiting to various addresses in cnn.com domain, exactly like I see in Emacs. > On what OS do you get "nothing" after some such open connections? --