Note that there are some explanatory texts on larger screens.

plurals
  1. POStack Level Too Deep in Production Rails App - How to Get Details?
    primarykey
    data
    text
    <p>I am getting up and running with Spree in production on a 256MB Slicehost slice with MySQL, Mongrel, and Nginx. I am getting this error every time I try to access any URL in the app:</p> <pre> SystemStackError (stack level too deep): compass (0.8.17) lib/compass/app_integration/rails/action_controller.rb:7:in `process' vendor/plugins/haml/rails/./lib/sass/plugin/rack.rb:44:in `call' </pre> <p>(Some more test url requests are in this <a href="http://pastie.org/806646" rel="nofollow noreferrer">pastie</a>)</p> <p>What are the advanced (but free and open source) debugging strategies/tools I should use while in production mode so I can do better at solving this problem?</p> <p>It's slightly different each time depending on the controller. I have tried <a href="https://stackoverflow.com/questions/242617/how-to-increase-stack-size-for-a-ruby-app-recursive-app-getting-stack-level-too">increasing my stack size</a>, but that doesn't help because there's probably just some loop I can't find.</p> <p>The question is, how do I get a more detailed report of the exact output while in production?</p> <p>I am using <a href="http://deprec.failmode.com/" rel="nofollow noreferrer">Deprec</a> and Capistrano to execute all server side commands. I am running a mongrel cluster of 3. The log files I see are:</p> <pre> current/log$ ls development.log testsite.com-error.log mongrel.8000.log mongrel.8001.log mongrel.8002.log mongrel.log production.log testsite.com-access.log </pre> <p>I'm just looking for some advanced debugging strategies/tools while in production mode so I can do better at solving this problem. Maybe some cap tasks for streaming/debugging (or conditionally break-pointing!) the production app (really, a staging app) locally (do people do that?), or something that spits out every single thing that executes in code?</p> <p>Thanks</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload