[Gambas-user] HTTPClient freeze after 40 mins with Gambas 3.18.4

Benoît Minisini benoit.minisini at gambas-basic.org
Sat Sep 30 02:15:19 CEST 2023


Le 30/09/2023 à 01:11, Christof Thalhofer a écrit :
> Am 30.09.23 um 00:42 schrieb Benoît Minisini:
> 
>>> What does the debugger show on the right side of MIB? The stack size?
>>> This was what i was talking about (it was exactly 8191 when the program
>>> on my main machine crashed, on the VM it is exactly 1022).
>>
>> No, it's the number of opened file descriptors.
> 
> Ok, thank you! Its a nice feature of the debugger, I saw it the first 
> time. :-)
> 
>> You get a file descriptor leak. But I don't have it when I tried my
>> simple HttpClient.Get() loop.
> 
> I didn't have it until 3.18.4. This code ran since 2019-01-26 without 
> any problems. So the question is: What happens now and whats the reason?
> 
> Alles Gute
> 
> Christof Thalhofer
> 

As I cannot reproduce it with a simple HttpClient.Get() loop, this is 
something that you are doing that I'm not doing. I think it could be 
related to the URL (I don't see any other difference) that triggers a 
different internal beahviour of libcurl : for example DNS resolution. Do 
you target a DNS name or a direct IP address?

-- 
Benoît Minisini.



More information about the User mailing list