Questions tagged [thin]

Thin is an EventMachine-based web server written in Ruby for running Rack-based web apps.

Thin is an EventMachine-based web server written in Ruby for running Rack-based web apps.

http://code.macournoyer.com/thin/

54 questions
8
votes
1 answer

What is Thin and why do I need it

This is a very noob question, and since I never really understood it, I would like an explanation: What is Thin (or Passenger or other alternative)? What is the purpose of Thin (or other alternative)? Why do I need Thin (or other alt.) with Apache…
5
votes
2 answers

How to decide the optimal number of ruby thin/mongrel instances for a server, number of cores?

We are trying to deploy mongrel instances on a machine. What is the optimal number of mongrel instances for a server? Since an instance can handle concurrent connections, I do not see any benefit in starting more than 1 per core. Any more than…
Amala
  • 529
  • 2
  • 14
3
votes
2 answers

"768 worker_connections are not enough" error after a fresh installation of nginx and ROR

I have a fresh installation of nginx and ruby on rails. But it gives me a '500 Internal Server Error' while testing. The error.log for my app has the following: 2014/05/01 17:27:15 [alert] 1423#0: *6892 768 worker_connections are not enough while…
Purres
  • 239
  • 1
  • 4
  • 18
3
votes
1 answer

Thin processes not starting after reboot on Ubuntu 12.04

Well, I'm running Ubuntu 12.04.2 and I have Thin installed by gem install thin sudo thin install sudo /usr/sbin/update-rc.d -f thin defaults and I have my configs at /etc/thin. But after system reboot thin processes are not started unless I run…
kishie
  • 151
  • 7
3
votes
1 answer

Configuring Nginx, Thin and Rails. Can access static pages but not dynamic

I have set up nginx (nginx.conf below) and thin. Both nginx and thin (2 servers) are running (I have checked they are running). I can access a static page in the rails public directory such as index.html but if I put in any other url I get a 500…
ajeetdl
  • 141
  • 5
3
votes
2 answers

Puppet agent to puppet master (running on nginx/ruby1.9) SSL certificate issues

I have two machines, puppet master--host name puppet--and a lone client, host name git. The puppet agent on the master machine works without issue. The agent on git fails with a '400 No required SSL certificate was sent'. First, the configuration of…
troutwine
  • 1,382
  • 5
  • 16
  • 32
3
votes
1 answer

Apache and thin, wrong protocol

Hello I have the following apache configuration, which is supposed to drive all traffic on port 433 to some balancer that uses a little server called Thin. ServerAdmin webmaster@localhost SSLEngine On …
khelll
  • 141
  • 6
2
votes
2 answers

Converting Thick vmdk to thin after Move from Datastore

I am currently running Vcenter 6.7 and ESXi 6.0 with VMFS5 in our infrastructure. And I often have to move VM disks from a DataStore to another in order to free up space. When using the VCenter MOVE operation on a select VM Subfolder in the…
Alfred Eid
  • 21
  • 2
2
votes
1 answer

Running thin server as a init.d script on CentOS 6.3

I followed the Slicehost tutorial here and was able to get thin installed in init.d to be able to start at boot. I also created the required configuration file. When running thin from the command line logged in as root using the command below it…
BinaryMisfit
  • 1,593
  • 2
  • 15
  • 30
2
votes
0 answers

When restarting thin via Capistrano changes aren't picked up

In my deploy.rb I have the following tasks: namespace :deploy do task :start, :roles => :app do run "cd #{current_path} && bundle exec thin start -C config/thin.yml" end task :stop, :roles => :app do run "cd…
Dan Green
  • 161
  • 3
2
votes
2 answers

Monit and Thin and Unfound Gems

I've been using Monit to monitor my Thin server and everything was working until I upgraded my Rails version from 2.3.4 to 2.3.14. Now when I try and start Thin using monit it gives me an unfound gem error: Missing the Rails 2.3.14 gem. Please `gem…
TenJack
  • 193
  • 2
  • 7
2
votes
1 answer

Thin configuration file for HTTP and HTTPS

I'm trying to configure both HTTP and HTTPS on thin. I have this configuration file: environment: production address: 0.0.0.0 port: 9292 chdir: /home/[user]/[mySinatraAPP] pid: tmp/thin.pid rackup: config.ru log: server.log max_conns: 1024…
rodchile
  • 23
  • 1
  • 3
2
votes
1 answer

Setting up Thin, Bundler and Ubuntu

I have a very simple Ruby application which uses Thin and Bundler that I need to stick on an Ubuntu box. I've got as far as getting Ruby, bundler etc installed on the server, but am having trouble running the application itself. Essentially I need a…
Neil Middleton
  • 412
  • 1
  • 4
  • 11
2
votes
2 answers

Running Thin behind Apache2

Currently my Ubuntu server runs RubyOnRails applications with Apache2 + Passenger. Now I need to deploy a Sinatra (Plain Ruby app) which needs to run on Thin instead of Passenger. I'm familiar with configuring Apache and would like to continue in…
Frexuz
  • 123
  • 1
  • 7
2
votes
2 answers

Where I can find the log files of thin webserver

I'm using thin web server for my sinatra application. Some times it generate 504 gateway time out. Where I can see the access and error logs of thin?
Sayuj
  • 121
  • 1
  • 2
1
2 3 4