Re: Open Transport -3168 (state changing)
Re: Open Transport -3168 (state changing)
- Subject: Re: Open Transport -3168 (state changing)
- From: Vincent Lubet <email@hidden>
- Date: Thu, 21 Nov 2002 17:14:57 -0800
On which version of Mac OS is this happening?
Vincent Lubet
On Wednesday, November 20, 2002, at 09:58 PM, Andrew Bush wrote:
Hi all,
Thanks to Quinn for suggesting sample for my earlier problem, it
enabled me to find the reason for the spiking cpu <g> turns out it
wasn't directly related to OT after all...
Now Im wrestling with a problem I suspect has a fairly simple answer,
if only I knew what it was.
I have a pool of endpoints, I use each one for sometimes fairly short
periods, then I 'retire' it to a holding pool and eventually reuse it
again.
Mostly this works fairly well, but occasionally I have endpoints that
seem to 'go bad', before I bring each endpoint back to reuse it I look
at its endpoint state, and only bring it back into use if its return
value is 1.
Occasionally Im getting a returned value of 2 (T-IDLE), now when this
occurs I call OTUnbind and mostly all is well after.
<g> but occasionally, I get an error value of -3168 (state changing),
once this occurs on an endpoint nothing seems to bring it right again,
it just returns that value forever, and over time all the endpoints
gradually revert to this state, after a 12 hour period I can end up
with only 12 or so endpoints from the original pool of 600 still
working and valid.
Does anyone have any suggestions as to what the problem may be?
Thanks for any help.
Yours cheerfully,
Andrew Bush
On Friday, November 1, 2002, at 01:12 AM, Quinn wrote:
At 19:58 +1300 31/10/02, Andrew Bush wrote:
so Im keen to stick to reusing the endpoints if its at all possible,
does anyone know of a possible explanation for the sudden jump in
cpu usage when I begin reusing the endpoints? they still actually
work correctly, everything appears to be progressing as
normal...except for this surge...
It'd be useful to have a sample trace of your program when the CPU
usage spikes. See "man sample" for details.
S+E
-- Quinn "The Eskimo!"
<http://www.apple.com/developer/
>
Apple Developer Technical Support * Networking, Communications,
Hardware
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.
The word for a society where everyone is pulling together is
'Tyranny', in a free country everyone tends to pull in different
directions.
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.