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

learn more… | top users | synonyms

0
votes
2answers
49 views

Thin process duplicates after upstart.conf run

I'm trying to run thin server in upstart. Here is what my upstart.conf file contains: description 'kitfaye' start on runlevel [12356] stop on runlevel [!12356] respawn script exec su -l deploy ...
-1
votes
1answer
53 views

After few days of server running fine with nginx it start throwing 499 and 502

Nginx start throwing 499 and 502 after running fine for few days, website is a rails app using thin as the webserver. Restarting the Nginx doent not seem to help. Below the the Nginx config Nginx ...
5
votes
1answer
151 views

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 ...
0
votes
0answers
73 views

ESXi - change to thin - virtual disk filesize is the same

running ESXi 5.5 here with a datastore on a single SSD. Now, I thought about changing to thin disks from thick and found that I could use a tool on the ESXi host to do that. However, the file size of ...
1
vote
1answer
2k views

“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: ...
0
votes
0answers
124 views

Can't connect to Rails app after restarting Thin server

I have a rails app which works fine on localhost and used to work fine on my vps but after restarting the Thin server I got the same message on all browsers that they couldn't connect to the server. ...
0
votes
1answer
459 views

Blocking/redirecting port 3000 with Nginx and Ruby On Rails (thin server)

I am setting up a server now that uses Ruby on Rails with the Thin server. I have set up Nginx to redirect all of my http://mysite.com to https://mysite.com(with ssl). I want all network traffic to ...
0
votes
0answers
14 views

thin served content inaccessible from certain connections

I have a simple website being served up by the thin web server, on a machine running OSX mavericks. I'm able to access the served content on any machine that I try (both local and non-local ...
0
votes
0answers
164 views

Tips on reducing 500 Internal Server Errors between Apache & a thin cluster on a separate machine

I'm running a Ruby on Rails web service on multiple machines. The Apache web server is on one virtual machine and the thin application servers are on a second, the Postgres database is on a third. I ...
1
vote
0answers
68 views

Get Thin server to restart while picking up changes in newly deployed directory

After deploying using capistrano where I have a deploy task that is restarting the thin server, the changes that were just deployed are not getting picked up by the thin server. Even if I manually ...
2
votes
0answers
82 views

vmware thin disk usage powercli

I want to ask a question about thin provisioning. get-vm commandlet can easly give us real space used by a vm totally. Assume that you have a virtual machine which has more than one thin disk. If ...
1
vote
1answer
384 views

SSL connection to Thin through vagrant

I'm running a Rails app that forces SSL and uses HTTP basic authentication inside of a vagrant VM. If I try to make a curl request to the app from my host machine I get curl -k --verbose ...
0
votes
1answer
715 views

Starting command on boot with correct user env vars

I am attempting to create a start-up script that will run this command on boot for my ubuntu 12.04 server: bundle exec thin -R config.ru start -p 3030 When I run it as a regular user it works just ...
1
vote
1answer
433 views

Nginx proxying websockets, connections not closed

I'm confused about where the problem is located, but basically I have nginx proxying websocket connections to a backend ruby thin server, which services the connections with the websocket-rails module ...
0
votes
1answer
261 views

Proxy port 80 to 443 with Netcat/nc

I have a Windows server running a Rails application via the Thin ruby gem web server through Cygwin 32 bit. The server only listens on port 443 and uses HTTPS because it is using LDAP authentication ...
0
votes
1answer
180 views

How to configure rewrite rule for nginx over already binded port

My application is found here: http://my.app.com:3000/ My assets are found here: http://my.app.com:3000/dev-assets My application references assets here: http://my.app.com:3000/assets I'm using a ...
2
votes
1answer
694 views

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 ...
1
vote
1answer
424 views

“Thin” Rails Server - Automatically Startup

I am looking for some ideas on how to start up my "Thin" Rails server automatically, whenever the machine where it resides reboots. The problem is that when the machine reboots, "Thin" needs to be ...
0
votes
2answers
479 views

Rails 3 with Thin Server - Removing Port 3000 from URL

I have a small Rails app currently being served (dev and production) by Thin server on port 3000, on a Debian box that also has apache2 running, serving PHP applications. I am not certain if this is ...
1
vote
1answer
485 views

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 ...
2
votes
0answers
217 views

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 ...
1
vote
2answers
728 views

Linux: find thin server running on port 80 and kill it

On my Linux server I ran: sudo thin start -p 80 -d Now I'd like to restart the sever. The trouble is, I can't seem to get the old process to kill it. I tried: netstat -anp But what I see on port ...
0
votes
1answer
347 views

error 503: Can't deploy rails 3 app with apache + thin (bitnamy ruby stack)

As you'll notice, I'm a bit of a noob on Rails. Here's the thing I have a EC2 Bitnami RubyStack AMI running. I'm trying to deploy the sample project to be sure I'm doing the right thing, but I'm not ...
-1
votes
2answers
816 views

How to restart RoR services after server has been rebooted

Update I have been searching around to see what services would possibly need to be restarted in my project after reboot. One of them was thinking sphinx, which I finally got to the point where it ...
0
votes
2answers
4k views

Thin server : `start_tcp_server': no acceptor (port is in use or requires root privileges) (RuntimeError)

My thin webserver fails to start with an error message. I can hardly find any information or leads on how to fix this, anyone an idea? thx Thin web server (v1.5.0 codename Knife) Maximum ...
0
votes
1answer
637 views

on localhost forward proxy webrick,thin, unicorn to external host.com/http-bind

Im working on an rails project where I need a /http-bind proxy and unable to find anything about this, or find a resource to state this is possible. I need this forward in a development environment ...
1
vote
2answers
296 views

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 ...
1
vote
1answer
260 views

nginx config for secure assets serving

I have a web app that has static content and can serve dynamic pages and secure content. Static content lies in /public folder and should be served directly by nginx. Dynamic content is served by ...
0
votes
1answer
192 views

Stealing the thin ruby web server port to the world

I'm using a thin web server for my production ruby-on-rails app. I have a lighttpd frot-end for a 3 servers cluster. Everything is ok, but all three servers are accessible from the outside world. ...
0
votes
1answer
163 views

Easy way to launch several rails apps on the server

I have several rails applications on my server. Each application uses its own rvm gemset. I'm using Thin as web server for each application, this servers installs as a gem separately for each ...
2
votes
1answer
991 views

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 ...
1
vote
1answer
1k views

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: ...
1
vote
3answers
703 views

How can I run my Thin server as a different user on Ubuntu?

I run an Ubuntu 10.04 VPS which hosts 2 Thin processes running Ruby On Rails behind Nginx. I control the Thin processes via a /etc/init.d startup script as a regular user. In my Thin config file I ...
1
vote
1answer
1k views

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 ...
2
votes
2answers
2k views

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 ...
0
votes
1answer
961 views

Why does this nginx/thin run puppet master interpret paths differently than a lone puppetmasterd?

For the purposes of this question I need to make a distinction between my Production puppet master and my Development puppet master. In either case, my /etc/puppet/puppet.conf is: [main] ...
0
votes
1answer
396 views

What do these Thin cache log entries mean?

I recently released a Rails 3.1 upgrade of my webapp. I power this app on an Unbuntu 10.04 VPS with Thin on the backend, Nginx on the front. To make my app work with the new Rails asset pipeline I ...
1
vote
3answers
2k views

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 ...
0
votes
1answer
296 views

thin server with GoDaddy ssl - access from osx

I have a thin server that i run with a certificate from GoDaddy and a private key i created before. I also have a file "gd_bundle.crt" that's probably required for access from osx (or iphones). thin ...
0
votes
1answer
743 views

nginx - reverse proxy, multiple thin instances, cache

I'm using nginx to serve a sinatra based project which has fairly static content.. I've tried to combine this: http://articles.slicehost.com/2008/5/27/ubuntu-hardy-nginx-rails-and-thin with the ...
2
votes
2answers
3k views

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?
1
vote
2answers
487 views

How can I fix Sinatra redirects switching from https to http under nginx?

I have a Sinatra app running in nginx (using thin as a back-proxy) and I'm using redirect '/<path>' statements in Sinatra. However, when I access the site under https, those redirects send me to ...
2
votes
1answer
440 views

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. <VirtualHost *:443> ServerAdmin ...
1
vote
1answer
417 views

Using UNIX sockets with nginx

I would like to clarify some doubts I have about using nginx to proxy requests over a cluster of thin servers (http://code.macournoyer.com/thin/). I've read many blog posts about using UNIX sockets ...
5
votes
2answers
1k views

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 ...
1
vote
1answer
1k views

Elastic Load Balancer & SSL termination

I am setting up a Rails app on AWS that: 1) all traffic must be ssl encrypted 2) will highly fluctuate in the amount of traffic on a weekly basis 3) will by maintained by someone that is a stronger ...
2
votes
1answer
2k views

How to setup nginx + thin + multiple domains + multiple virtual hosts?

I have a VPS. I create websites with Rails. I have several domains. Now I want to install nginx + thin, and configure them to support multiple hosts, let each host have a seperated domain. I have ...