问题
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