Bizarre error with ASP.NET + Lucene website
ASP.NET newbie here
I have coded up an ASP.NET website and running on win'08 (remotely hosted). The application queries 11 very large Lucene indexes (e开发者_开发百科ach ~100GB). I open IndexSearchers on Page_load() and keep them open and pass them by ref into the query methods based on user entered keywords.
I can RDC in and run the site fine in VS-2008. I can deploy and access it via the web from my desktop.For some bizarre reason, some of my team-mates have trouble running the same site - they can login fine so access is not an issue - however the application just "hangs" when they run some searches.
Any suggestions on where I should be looking? Could this be an issue with multiple searchers querying simultaneously? Any ideas?
Sounds like locking issues.
You must not hold any resources in web application for longer than need (request).
So I believe you should not hold the Lucene indexes.
Also check the file system permissions for the account that site runs under.
Additionally you should check the Event Logs, you might have some warning or silent errors.
精彩评论