|
|
|
|
||||||
| comp.protocols.tcp-ip TCP and IP network protocols. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
I am trying to build a DB with a socket client making
high rate requests and they start hanging (always in socket::recv() like waiting for incoming data? ), not all at the same time, and not always all of them. Not sure if its a problem with the TCP handshake The socket makes >25 GET http requests per minute gcc 4.1 / kernel 2.6.20 / basically most recent stable releases Thoughts...? recommendations, need more info ? Thanks |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
On Tue, 03 Apr 2007 16:41:49 -0700, verdverm wrote:
> I am trying to build a DB with a socket client making high rate requests > and they start hanging (always in socket::recv() like waiting for > incoming data? ), not all at the same time, and not always all of them. > > Not sure if its a problem with the TCP handshake The socket makes >25 > GET > http requests per minute > > > gcc 4.1 / kernel 2.6.20 / basically most recent stable releases > > > Thoughts...? recommendations, need more info ? I saw behaviour like this once when I did not properly check the return value from accept in a select loop. Weird, as you would expect an error on the recv, but maybe this is the case here as well. HTH, M4 |
|
![]() |
| Outils de la discussion | |
|
|