PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Noms de domaine > comp.protocols.tcp-ip > socket hanging in recv
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.protocols.tcp-ip TCP and IP network protocols.

socket hanging in recv

Réponse
 
LinkBack Outils de la discussion
Vieux 04/04/2007, 00h41   #1
verdverm
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut socket hanging in recv

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

  Réponse avec citation
Vieux 06/04/2007, 07h33   #2
Martijn Lievaart
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: socket hanging in recv

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
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 22h29.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,10863 seconds with 10 queries