[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-janitors] #858: spiffy-request-vars' test shows "cannot wri
From: |
Chicken Trac |
Subject: |
Re: [Chicken-janitors] #858: spiffy-request-vars' test shows "cannot write to socket - Broken pipe" at random |
Date: |
Tue, 12 Jun 2012 12:55:15 -0000 |
#858: spiffy-request-vars' test shows "cannot write to socket - Broken pipe" at
random
-----------------------------+----------------------------------------------
Reporter: mario | Owner: mario
Type: defect | Status: assigned
Priority: critical | Milestone: 4.8.0
Component: core libraries | Version: 4.7.x
Resolution: | Keywords: spiffy-request-vars, cannot write
to socket, broken pipe
-----------------------------+----------------------------------------------
Comment(by mario):
Thanks, Felix. I've run the test case above with your patch applied to
chicken. It seems that it doesn't change much, unfortunately. The client
still pauses sometimes. After the pauses, the server issues {{{Error:
cannot write to socket - Broken pipe 4}}} messages and go on.
The client still shows
{{{
send(4, "User-Agent", 10, 0) = 10
send(4, ": ", 2, 0) = 2
send(4, "Chicken Scheme HTTP-client/0.5", 30, 0) = 30
send(4, "\r\n", 2, 0) = 2
send(4, "\r\n", 2, 0) = 2
recv(4, 0xb70dc71c, 1024, 0) = -1 EAGAIN (Resource temporarily
unavailable)
gettimeofday({1339504932, 16290}, NULL) = 0
gettimeofday({1339504932, 16338}, NULL) = 0
gettimeofday({1339504932, 16386}, NULL) = 0
select(1024, [4], [], NULL, {60, 0}
}}}
when paused.
I notice the pauses are much less frequent when the server is run with
strace.
I'm using 5247d0dde5762d7ae984746b4c4f617b8e60ba17
--
Ticket URL: <http://bugs.call-cc.org/ticket/858#comment:5>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.