Project

General

Profile

Webrick killed.

Added by Alexander Gritsay over 13 years ago

Please help me. After starting Webrick is killed. What should I do? Thank you!

About your application's environment
Ruby version 1.8.7 (amd64-freebsd8)
RubyGems version 1.3.7
Rack version 1.0
Rails version 2.3.5
Active Record version 2.3.5
Active Resource version 2.3.5
Action Mailer version 2.3.5
Active Support version 2.3.5
Application root /root/redmine-1.1
Environment production
Database adapter mysql
Database schema version 20101114115359

allgrit# ruby script/server webrick -e production
=> Booting WEBrick
=> Rails 2.3.5 application starting on http://0.0.0.0:3000
/usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/gem_dependency.rb:119:Warning: Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010. Use #requirement
=> Call with -d to detach
=> Ctrl-C to shutdown server
[2011-01-31 20:57:07] INFO WEBrick 1.3.1
[2011-01-31 20:57:07] INFO ruby 1.8.7 (2010-08-16) [amd64-freebsd8]
[2011-01-31 20:57:07] INFO WEBrick::HTTPServer#start: pid=19412 port=3000
Killed


Replies (1)

RE: Webrick killed. - Added by Alexander Gritsay over 13 years ago

allgrit# ruby script/server mongrel production
=> Booting Mongrel
=> Rails 2.3.5 application starting on http://0.0.0.0:3000
/usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/gem_dependency.rb:119:Warning: Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010. Use #requirement
=> Call with -d to detach
=> Ctrl-C to shutdown server
Exiting
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/kernel/agnostics.rb:7:in ``': Cannot allocate memory - /sbin/sysctl -nq net.inet.accf.http (Errno::ENOMEM)
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/kernel/agnostics.rb:7:in ``'
from /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:251:in `configure_socket_options'
from /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:262:in `run'
from /usr/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/handler/mongrel.rb:34:in `run'
from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/commands/server.rb:111
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from script/server:3

    (1-1/1)