Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thin cannot start multiple processes #51

Open
kareem-abdelsalam opened this issue Jun 23, 2015 · 0 comments
Open

Thin cannot start multiple processes #51

kareem-abdelsalam opened this issue Jun 23, 2015 · 0 comments

Comments

@kareem-abdelsalam
Copy link

When attempting to start multiple process of thin in a linux-x86 environment, it fails to start instead outputting:

/opt/vagrant_ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require': no such file to load -- rubyeventmachine (LoadError)

I created a simple app (https://github.com/kareem-abdelsalam/thin-multiserver-test).
To run it:

  • Create the app by running:
bundle install
rake package:linux:x86 DIR_ONLY=1
  • Start the VM
vagrant up tr_installation
vagrant ssh tr_installation
  • Navigate to where the project is
cd /vagrant/thin-multiserver-test-0.2-linux-x86/
  • Run thin in single process mode
./successeding_app start

It operates normally and you can visit the page at (http://192.168.33.12:5000)

  • Run thin in the multi process mode
./failing_app start

It will fail to start printing the message mentioned earlier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant