[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: eww/url: www connections left "open"
From: |
raman |
Subject: |
Re: eww/url: www connections left "open" |
Date: |
Wed, 20 Dec 2017 08:13:56 -0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Eli Zaretskii <address@hidden> 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 <address@hidden>
wrote:
>> This is in emacs from address@hidden -- 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?
--