Re: [Re] Re: Winsock error 10035 while trying to upgrade from 8.0 to 8.2

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: cyril(dot)velter(at)metadys(dot)com
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: [Re] Re: Winsock error 10035 while trying to upgrade from 8.0 to 8.2
Date: 2007-05-29 21:25:30
Message-ID: 465C9A4A.4020600@hagander.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Cyril VELTER wrote:
> OK, I've the results of my tests :
>
> With the previous code, then message "SOCKERROR" is printed 5 times during the
> whole process (100 Gb dump import with psql). There one group of three and one
> group of two, but I don't have timestamps and am not sure if they are printing
> in the same loop or not. The import is finally successful.

Ok.

> The second test I have done is to remove FD_ACCEPT I still have the message
> one times, but it still happen. The import is also sucessfull.

Ok. So FD_ACCEPT is not the fix. Good, I didn't think it would be.

>> I'm also a bit worried about it getting caught in a tight loop if the
>> error codes are wrong, but probably it just goes back into waitfor.. and
>> blocks the second time. Otherwise, you'd see screenfuls of that message.
>>
>> Can you determine if it was hit two times right after each other, or if
>> there was time between them?
>
> For the first test I don't known the amount of time between them (I have two
> groups separeted in the logs with other messages).

Ok. I'm thinking of just sticking a minimal wait in there to protect
against absolute runaway, but that should be enough I think.

> What do you think ? may be a bug in the windows server installation I have
> (this machines have not been updated for some times, perhaps I should try to do
> that and see if the problem is still there. In the long run, I plan to upgrade
> to windows 2003).

I don't *think* it should be a bug with your version, it doesn't look
like it. but if you're not on the latest service pack, that's certainly
possible. Please update to latest servicepack + updates from Windows
Update / WSUS, and let me know if the problem persists.

Meanwhile, I'll try to cook up a patch.

//Magnus

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Diego Fernando Arce 2007-05-29 21:27:39 monitor stats
Previous Message Vang 2007-05-29 21:04:02 current transaction is aborted, commands ignored until end of transaction block