ruby Developr

Online archive of ruby developer related lists

Thin-ruby topics

Thread Replies Last post by Updated on
Drop privileges doesn't work with SSL support?
...Hi, I am trying to help our developers deploy some web services using thin. Thin needs to handle the SSL, but I want the server to drop privileges when it starts (a la apache, nginx, etc.). When I ...
6 gswallow 2012-Feb-23 15:02
Thin hanging under high load
...We have a Thin + RoR with ActiveRecord + memcached + Postgres application that is using a pg gem to access the Postgres database. We are observing that under high load thin processes suddenly become ...
2 alex94040 2012-Feb-22 13:02
Timestamp the log
...Hi! Is there a way to timestamp the logs of Thin? I am trying to investigate an issue where my Thin process is stopped unexpectedly. The Rails and Apache log seems fine. The thin log says "Error dur...
2 Brute Force 2012-Feb-12 16:02
Looking at Thin from Passenger's perspective
...Hi, high level question here so try and go easy on me... I have been using Passenger (no offense) to serve our (lightweight) Rails applications through Apache...but find myself needing to migrate so...
2 Meltemi 2012-Feb-12 16:02
Learn Chinese (Mandarin) faster by using flashcards with pictures
...http://www.ichineseflashcards.com will help you learn Chinese (Mandarin) faster by using flashcards with pictures, thanks -- You received this message because you are subscribed to the Google Groups...
1 ichineseflashcards 5 2012-Feb-04 08:02
cluster vs individual instances
...Hi I am attempting to run thin using a 3-server cluster behind nginx talking over unix sockets, with monit keeping an eye on pids and sockets. I'm finding it difficult to have monit only restart a pa...
2 Lee Henson 2012-Jan-31 19:01
Thin on Windows
...I previously sent a question about not being able to stop Thin from a Windows service. I don't know how to do it from the command either. I'm using thin 1.3.1. I start it using: C:\ thin -e producti...
1 dkoper 2012-Jan-31 06:01
One Server, Deploying with Capistrano but no downtime
...Hi There, is there a way to deploy a new version without downtime for the users? In this case: I'm running two different rails apps on one server. So when restarting thin, both are down - any way to...
2 Chris 2012-Jan-30 16:01
stopping Thin when running as Windows service using winsw
...I'm using winsw (http://kenai.com/projects/winsw/pages/Home) to register Thin as a Windows service. Starting works fine, but stopping doesn't. It just keeps trying but doesn't complete. What am I doin...
1 dkoper 2012-Jan-30 06:01
[Enhancement]Option for viewing logs on console as "rails s" does
...When developing it would be desirable viewing the log on the thin console instead of opening another console to tail -f the logs. Here are the advantages such an option 1. you do not have to open ano...
3 MP 2012-Jan-12 09:01
Option for viewing logs on console as "rails s" does
...Agreed. It's really annoying. On Oct 17, 8:18 am, MP <marco.perra...@gmail.com wrote: When developing it would be desirable viewing the log on the thin console instead of opening another console...
7 Filipe 2012-Jan-10 09:01
Use custom logging
...I am starting thin in a cluster with 4 thin instances(with Sinatra). It seems that thin creates 4 different log files, one for each instance. I want to override this logging behavior. My requirements ...
1 gunjan 2012-Jan-09 10:01
Not able to get --threaded to work
...When I take this app: require 'rubygems' require 'sinatra' set :threaded, true get '/' do `sleep 1` 'ok' end And run it with this: thin start -p 4567 --threaded It blocks on the system call....
1 Kyle Drake 2012-Jan-04 04:01
HTTP element QUERY_STRING is longer than the (1024 * 10) allowed length.
...== /tmp/thin.2.log <== !! Invalid request HTTP element QUERY_STRING is longer than the (1024 * 10) allowed length. /usr/lib/ruby/gems/1.8/gems/thin-1.2.8/lib/thin/request.rb: 82:in `execute' ...
1 Viacheslav Biriukov 2012-Jan-03 17:01
Control a single Thin server from ruby script
...Hi, I have a project where I have a sinatra app and I want to launch it with thin through a admin ruby script file. I want to be able to start, stop and restart it, also being able to daemonize it ...
4 João Pereira 2011-Dec-31 14:12
Do something when user aborts connection (Thin + Sinatra)
...I'm writing a web app that sometimes requires very long-running DB requests. I'd like to execute some code if the client reloads or closes the page to do things with the DB requests (like kill them) ...
2 bporterfield 2011-Dec-24 20:12
TLS
...Does Thin allow for specifying the version of SSL / TLS used (instead of the default SSL 3)? Specifically, I'm hoping for at least TLS 1. Or would you recommend I use Thin with another server to achi...
1 J 2011-Dec-19 17:12
Expires headers
...How do I configure expires headers for my JS and CSS files in Rails 3.0.x? -- You received this message because you are subscribed to the Google Groups "thin-ruby" group. To post to this group, send...
1 Pawel 2011-Dec-16 15:12
Why do I need Thin when I have Nginx/Apache
...Hi, I am trying to understand the role played by Thin. I am new to Web stuff so bear with me. I have a home web server running on Ubuntu and has Nginx installed. I am kind of wondering why should I i...
2 bala 2011-Dec-07 17:12
Very confused - request no responding
...Hi, In one for my apps I store complete html pages in the public folder. That is index.html and images. That is accessed using http://127.0.0.1:3000/content/f9/index.html I'm on Rails 3.0.6 and I ca...
4 GunsNRails 2011-Dec-07 15:12