POV-Ray : Newsgroups : povray.binaries.images : Operation timed out? : Re: Operation timed out? Server Time
2 May 2024 16:31:19 EDT (-0400)
  Re: Operation timed out?  
From: Le Forgeron
Date: 14 Aug 2020 15:47:49
Message: <5f36ea65$1@news.povray.org>
Le 12/08/2020 à 19:23, Thorsten a écrit :
> On 12.08.2020 19:08, Alain Martel wrote:
>> Le 2020-08-11 à 13:29, Thorsten a écrit :
>>> On 11.08.2020 18:13, Alain Martel wrote:
>>>> Another case that can cause an «operation timed out» is a race
>>>> condition where two or more processes or threads are asking for the
>>>> same resource at the same time and each is waiting for the other to
>>>> finish using that resource.
>>>
>>> No, this is not how POVMS is written. I am its author ;-)
>>>
>>> Thorsten
>>
>> One of the process may not be POV-Ray related.
> 
> The error message "Operation timed out" comes from inside POV-Ray.

And the only spot in source for it is when a stream was not provided
answer for long enough time (unclear if it is 100 or 10 seconds).

Which remind me of a windows specific bug for povray: rendering a large
but empty (or easy) scene would overflow the collecting thread with
amount of blocks to process (while the system actually starts swapping
everyone, or at least that process), leading to a problem that the
collecting thread get no cpu to process the queue, and then detecting
that too much time has past since the query.

(well behaved operating systems try to slow the producer thread(s) when
a stream get filled too fast, in order to give a chance to the consumer,
but not MS, IIRC)

A workaround might have been to reduce the number of rendering threads
(+WT1 ?) in such situation.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.