This project is read-only.

Indexing Thread Locking

Topics: Customizing Orchard, Writing modules
Jan 31, 2012 at 10:35 PM

I'm playing around with the indexing module and I'm seeing my ui threads get locked when it's (re)building the index.  I'm not sure if this is due to table locking (or perhaps some sql ce locking limitation) or if it's an issue with the items being indexed prior to the response being sent.  Any ideas?

Jan 31, 2012 at 10:45 PM

Is it causing exceptions?

Jan 31, 2012 at 10:50 PM


Jan 31, 2012 at 11:02 PM

So the issue is latency?

Jan 31, 2012 at 11:13 PM

I was just curious if you had run into this before.  Basically I have about 10,000 items that need to be indexed when the search index is being rebuilt, and while the process is going on, sometimes a page will pop right up, and sometimes it'll spin for 5 minutes until it returns.

Jan 31, 2012 at 11:23 PM

Five minutes sounds like a lot. In theory, other requests should hit other threads, which should run more or less at normal speed. Maybe Sébastien would have some insights on this.

Jan 31, 2012 at 11:27 PM

Well I'm going to try this out on an sql server instead of sql ce and see if it's an odd locking issue.