Subject: Re: [Firebird-devel] [FB-Tracker] Created:
(CORE-5419) Index garbage collection on varchar
column causes server to hang



On 01/12/17 13:00, Vlad Khorsun wrote:
> 12.01.2017 10:24, Alex Peshkoff wrote:
>> On 01/11/17 23:35, Vlad Khorsun wrote:
>>
>>>>> I do it easily. AST thread is blocked at
>>>>> Database::Sync::lock on syncMutex.enter() despite of a lot of checkouts
>>>>> in worker
>>>>> thread.
>>>> Hmm... From posix POV that's a bug but certainly windows calls may have
>>>> different rules. May be it makes sense to increase thread's priority
>>>> when it's going to deliver AST?
>>> I did it in AstContextHolder - not helps. I see blocked thread with
>>> highest priority...
>>> I plan to try to change syncMutex by Event or Mutex (currently it is
>>> Critical Section)
>>> and see if it helps
> Mutex seems to fix the issue

May be Critical Section does not promise fair scheduling?



------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel



Programming list archiving by: Enterprise Git Hosting