简体   繁体   English

ASP.NET + Lucene网站的异常错误

[英]Bizarre error with ASP.NET + Lucene website

ASP.NET newbie here ASP.NET新手在这里

I have coded up an ASP.NET website and running on win'08 (remotely hosted). 我已经编写了一个ASP.NET网站并在win'08(远程托管)上运行。 The application queries 11 very large Lucene indexes (each ~100GB). 该应用程序查询11个非常大的Lucene索引(每个索引约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. 我在Page_load()上打开IndexSearchers并将其保持打开状态,并通过ref将其传递给基于用户输入的关键字的查询方法。

I can RDC in and run the site fine in VS-2008. 我可以在VS-2008中使用RDC并运行该站点。 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. 我可以部署,并通过从 desktop.For一些奇怪的原因,网络访问它,我的一些队友都运行在同一地点的麻烦-他们可以精细登录,从而使访问是不是一个问题-但是应用程序只是“挂起”的时候他们进行一些搜索。

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). Web应用程序中任何资源的保留期都不得超过需要(请求)的时间。

So I believe you should not hold the Lucene indexes. 因此,我相信您不应该持有Lucene索引。

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. 此外,您应该检查事件日志,可能会有一些警告或无提示的错误。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM