[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Odd possibly TLS-related network hang
From: |
Lars Magne Ingebrigtsen |
Subject: |
Odd possibly TLS-related network hang |
Date: |
Tue, 13 Aug 2013 22:31:41 +0200 |
User-agent: |
Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) |
If I eval the following, Emacs hangs hard for five seconds:
(progn
(url-retrieve
"https://f.cloud.github.com/assets/54012/955557/7ed1352e-042c-11e3-91ec-8e27c707a011.png"
'ignore)
(url-retrieve
"https://f.cloud.github.com/assets/54012/955360/3e5f0672-0429-11e3-8cfd-28a1ede5f5ef.png"
'ignore))
strace tells me the following is happening:
[pid 13635] recvfrom(22, 0x7af24e0, 5, 0, 0, 0) = -1 EAGAIN (Resource
temporarily unavailable)
[pid 13635] recvfrom(22, 0x7af24e0, 5, 0, 0, 0) = -1 EAGAIN (Resource
temporarily unavailable)
[pid 13635] recvfrom(22, 0x7af24e0, 5, 0, 0, 0) = -1 EAGAIN (Resource
temporarily unavailable)
[pid 13635] recvfrom(22, 0x7af24e0, 5, 0, 0, 0) = -1 EAGAIN (Resource
temporarily unavailable)
[pid 13635] recvfrom(22, 0x7af24e0, 5, 0, 0, 0) = -1 EAGAIN (Resource
temporarily unavailable)
[pid 13635] recvfrom(22, 0x7af24e0, 5, 0, 0, 0) = -1 EAGAIN (Resource
temporarily unavailable)
[pid 13635] recvfrom(22, 0x7af24e0, 5, 0, 0, 0) = -1 EAGAIN (Resource
temporarily unavailable)
[pid 13635] recvfrom(22, 0x7af24e0, 5, 0, 0, 0) = -1 EAGAIN (Resource
temporarily unavailable)
[pid 13635] recvfrom(22, 0x7af24e0, 5, 0, 0, 0) = -1 EAGAIN (Resource
temporarily unavailable)
[ a lot of snippage ]
Until it finally gets something:
[pid 13635] recvfrom(22, "\26\3\3\0Q", 5, 0, NULL, NULL) = 5
Looking at the code, it shouldn't be busy-waiting if it gets an EAGAIN,
should it? At least it didn't use to... Hm...
--
(domestic pets only, the antidote for overdose, milk.)
No Gnus T-Shirt for sale: http://ingebrigtsen.no/no.php
and http://lars.ingebrigtsen.no/2013/08/twenty-years-of-september.html
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Odd possibly TLS-related network hang,
Lars Magne Ingebrigtsen <=