Page not working Attempt to unlock a mutex which is locked by another thread

百般思念 提交于 2019-12-10 15:12:40

问题


I want to start my app and it's still "loading". It worked in the morning, but now it doesn't .

I tryied with other ports, switching to a stable branch, restarting computer, but nothing seems to work. On other apps, it's working. If I stop de server this is the error I see(in the browser)

Attempt to unlock a mutex which is locked by another thread
WEBrick/1.3.1 (Ruby/1.9.3/2012-11-10) at localhost:3000

回答1:


Had the same problem lately. It looks like there are two view partials calling each other in a loop.

Go to the view which is called when you visit the root path and try commenting out any calls to 'render'.

<%#= render ... %>

If your page works now (with missing parts), uncomment that line, have a look at the partial you are trying to render and repeat the process with 'render ...' in that one.

Finally you should be able to make out what caused the loop.




回答2:


I had exactly the same problem. In my case the problem was that I was creating indexes on the database (MongoDB 2.4.9) and that blocked the whole database. As soon the index creation was done the error message disappeared again. Obviously this error message appears if something is blocking.



来源:https://stackoverflow.com/questions/14958637/page-not-working-attempt-to-unlock-a-mutex-which-is-locked-by-another-thread

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!