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
1
vote
1 answer

Sinatra + Thin + Nginx connect() failed (111: Connection refused) while connecting to upstream

I have a Sinatra app that is running on Thin with Nginx as a reverse proxy and receives a lot of traffic. My users are reporting 502 errors and looking at the Nginx logs i see a lot of these: [warn] upstream server temporarily disabled while…
Julien
  • 222
  • 1
  • 2
  • 13
1
vote
1 answer

Smaller chunk size or disabling Zeroing?

On a CentOS 7 server with 4X Samsung 800 SD with hard raid 10 I am using KVM for virtualization. I created a thin LVM storage for VMs and using "lvcreate -l 100%FREE --type thin-pool --thinpool thin_pool vgssd" gave me the following: Thin pool…
Amin
  • 79
  • 1
  • 2
  • 4
1
vote
1 answer

Use Thin LVM Volume for KVM VM

I now we cannot use thin LVM volumes with libvirt. Is there any other alternative allowing use of LVM thin provisioning in KVM/QEMU virtual machines?
user878965
  • 13
  • 1
  • 3
0
votes
0 answers

ruby thin server in systemd restart onebyone issue

I have this problem with a thin server where systemd restart doesn't respect onebyone config, so it should stop and start each server individually. What's happening is that all servers are stopped first, then all are started which causes downtime in…
Shreko
  • 139
  • 8
0
votes
1 answer

How do I redirect a request from an Apache Server to a local thin-Webserver?

I am experimenting with dashing-icinga at the moment and got everything up and running locally right now, but I cannot open the dashboard from another computer on the network via a reverse proxy on my apache-webserver yet. I am kind of new to this…
Daniel
  • 105
  • 3
0
votes
0 answers

Stop Linux VM LVM LV add from expanding thin provisioned disk?

I have the following environment VMware ESXi 5.5 U3 free, with datastore using VAAI Linux VM CentOS 6.8, 2 thin provisioned disks (PVSCSI thin VMDK's) 1st disk has reference OS partitioning (partition for boot, then LVM with regular root/home/swap…
Asteroza
  • 31
  • 3
0
votes
1 answer

error running nginx with thin

I am trying to install redmine on my Ubuntu 14.04 machine. I already have an nginx 1.8.1 server running so I need to use it with that. I have followed a bunch of tutorials on how to do it as I have zero experience with the ruby environment. After I…
Comforse
  • 117
  • 7
0
votes
1 answer

Nginx Thin.Sock not found error

Cluster of 3 files (err.log,chat.yml,chat.conf for Nginx) : err.log : 2015/03/19 15:05:50 [crit] 1535#0: *79 connect() to unix:/var/www/chat/public/tmp/sockets/thin.0.sock failed (2: No such file or directory) while connecting to upstream, client:…
Vikaton
  • 105
  • 4
0
votes
0 answers

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 connections). Similarly, the vast majority of my users,…
TimmyJ
  • 111
  • 2
0
votes
1 answer

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 and I did not want to have plain text passwords…
user160910
0
votes
1 answer

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 local rails server thin which is already taking port…
Damien Roche
  • 191
  • 1
  • 1
  • 5
0
votes
2 answers

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 even possible given the current setup but is there…
Slinky
  • 957
  • 3
  • 14
  • 25
0
votes
1 answer

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 getting anywhere at all. I just get a 503…
Pacu
  • 121
  • 6
0
votes
1 answer

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 Know its possible to use unicorn + nginx to…
Rubytastic
  • 223
  • 1
  • 2
  • 14
0
votes
1 answer

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. lighttp: port 80 thin1: port 3300 thin1: port 3301…
Juanin
  • 101
  • 3