I'm using unicorn for both production and development and not having any 
issues. Here's a sample config:

# config/unicorn.rb
timeout 30
listen 8080

case ENV['RAILS_ENV']
when "production", "stage"
  worker_processes 8
  stderr_path "/home/example_user/shared/log/unicorn_stderr.log"
  stdout_path "/home/example_user/shared/log/unicorn_stdout.log"
when "qa"
  worker_processes 4
  stderr_path "/home/example_user/shared/log/unicorn_stderr.log"
  stdout_path "/home/example_user/shared/log/unicorn_stdout.log"
else
  # default configs here
  worker_processes 4
  stderr_path "log/unicorn_stderr.log"
  stdout_path "log/unicorn_stdout.log"
end



On Sunday, November 4, 2012 2:25:55 AM UTC-8, Gang Wang wrote:
>
> I am new to radiant. After installing Radiant 1.1.0, I can get DEMO site 
> running. But after viewing a few of pages (public pages or admin pages), I 
> got those errors. 
>
> SystemStackError (stack level too deep):
>   
> Rendered rescues/_trace (1.4ms)
> Rendered rescues/_request_and_response (1.1ms)
> Rendering rescues/layout (internal_server_error)
> Illegal instruction: 4
>
> I changed my ruby stack size and even reinstalled my system but still 
> can't fix the errors. I didn't encounter any issues when I was with radiant 
> 1.0.1. 
>
> I am using
>
> rvm 1.16.17 (stable)
> brew installed GCC /usr/local/Cellar/apple-gcc42/4.2.1-5666.3
> mysql-5.5.27
>
> RubyGems Environment:
>   - RUBYGEMS VERSION: 1.8.24
>   - RUBY VERSION: 1.9.3 (2012-10-12 patchlevel 286) [x86_64-darwin11.4.2]
>   - INSTALLATION DIRECTORY: /Users/harry/.rvm/gems/ruby-1.9.3-p286@test1
>   - RUBY EXECUTABLE: /Users/harry/.rvm/rubies/ruby-1.9.3-p286/bin/ruby
>   - EXECUTABLE DIRECTORY: /Users/harry/.rvm/gems/ruby-1.9.3-p286@test1/bin
>   - RUBYGEMS PLATFORMS:
>     - ruby
>     - x86_64-darwin-11
>   - GEM PATHS:
>      - /Users/harry/.rvm/gems/ruby-1.9.3-p286@test1
>      - /Users/harry/.rvm/gems/ruby-1.9.3-p286@global
>   - GEM CONFIGURATION:
>      - :update_sources => true
>      - :verbose => true
>      - :benchmark => false
>      - :backtrace => false
>      - :bulk_threshold => 1000
>   - REMOTE SOURCES:
>      - http://rubygems.org/
>
> I have spent 2 weeks but still can't sort it out. Any help will be 
> appreciated. 
>

Reply via email to