cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: running_handles: less than zero ?

From: Jeff Pohlmeyer <yetanothergeek_at_gmail.com>
Date: Mon, 16 Oct 2006 16:56:43 -0500

> Please try the attached patch and see if it doesn't make things better!

Yes, that seems to solve the DNS timeout problem completely,
but I am still getting handles that are stuck in the PERFORM
state, with no libevent timer pending, even when I set
LOW_SPEED_LIMIT=1 and LOW_SPEED_TIME=30.

With those settings, it would seem like *something* should
happen at least every 30 seconds or so, either I receive
some more data, or I should get a "Operation too slow"
error on one of the handles, but it just isn't happening.

But the PERFORM hangups don't happen nearly as often as the
WAITRESOLVE hangups did, so your patch is definitely an
improvement!

This is what the last debug dump looks like, even after
being stuck for around five minutes. Maybe you can spot
something here that I can't see.

HANDLES: requested=237 completed=224 running=13
SOCKETS: added=377 removed=364 remaining=13
TIMERS: added=58 called=52 updated=6 last=1.00s pending=NO
* Multi status: 13 handles, 13 alive

app: easy= 0x809029c, evset=YES pending=[READ] socket 12 [RECVING]
lib: easy 0x809029c, state PERFORM, 1 sockets 12 [RECVING]

app: easy= 0x80d1cec, evset=YES pending=[READ] socket 17 [RECVING]
lib: easy 0x80d1cec, state PERFORM, 1 sockets 17 [RECVING]

app: easy= 0x81f2f1c, evset=YES pending=[READ] socket 39 [RECVING]
lib: easy 0x81f2f1c, state PERFORM, 1 sockets 39 [RECVING]

app: easy= 0x822777c, evset=YES pending=[READ] socket 43 [RECVING]
lib: easy 0x822777c, state PERFORM, 1 sockets 43 [RECVING]

app: easy= 0x82d2ad4, evset=YES pending=[READ] socket 56 [RECVING]
lib: easy 0x82d2ad4, state PERFORM, 1 sockets 56 [RECVING]

app: easy= 0x85147e4, evset=YES pending=[READ] socket 100 [RECVING]
lib: easy 0x85147e4, state PERFORM, 1 sockets 100 [RECVING]

app: easy= 0x857d8bc, evset=YES pending=[READ] socket 108 [RECVING]
lib: easy 0x857d8bc, state PERFORM, 1 sockets 108 [RECVING]

app: easy= 0x8597d3c, evset=YES pending=[READ] socket 110 [RECVING]
lib: easy 0x8597d3c, state PERFORM, 1 sockets 110 [RECVING]

app: easy= 0x8600cb4, evset=YES pending=[READ] socket 118 [RECVING]
lib: easy 0x8600cb4, state PERFORM, 1 sockets 118 [RECVING]

app: easy= 0x865cb84, evset=YES pending=[READ] socket 125 [RECVING]
lib: easy 0x865cb84, state PERFORM, 1 sockets 125 [RECVING]

app: easy= 0x86b8aac, evset=YES pending=[READ] socket 132 [RECVING]
lib: easy 0x86b8aac, state PERFORM, 1 sockets 132 [RECVING]

app: easy= 0x89667bc, evset=YES pending=[READ] socket 184 [RECVING]
lib: easy 0x89667bc, state PERFORM, 1 sockets 184 [RECVING]

app: easy= 0x8c5dc34, evset=YES pending=[READ] socket 241 [RECVING]
lib: easy 0x8c5dc34, state PERFORM, 1 sockets 241 [RECVING]
Received on 2006-10-17