# Server

**URL:** https://www.ruby-forum.com/c/server/33.md?page=382

[Latest](https://www.ruby-forum.com/latest.md) · [Categories](https://www.ruby-forum.com/categories.md) · [Tags](https://www.ruby-forum.com/tags.md)

**Page:** 383

---

## [Session Id Question](https://www.ruby-forum.com/t/session-id-question/120677)

<div class="topic-metadata">

**Author:** [@Fred\_Palmer](https://www.ruby-forum.com/u/Fred_Palmer)\
**Replies:** 2\
**Last updated:** [November 19, 2007, 7:52pm UTC](https://www.ruby-forum.com/t/session-id-question/120677 "2007-11-19T19:52:58Z")

</div>

Is there a way get and log a session id with a request to the access log? Thanks, Fred

---

## [503 error and (61)Connection refused: proxy: HTTP: attempt to connect](https://www.ruby-forum.com/t/503-error-and-61-connection-refused-proxy-http-attempt-to-connect/120498)

<div class="topic-metadata">

**Author:** [@sam](https://www.ruby-forum.com/u/sam)\
**Replies:** 2\
**Last updated:** [November 19, 2007, 3:09pm UTC](https://www.ruby-forum.com/t/503-error-and-61-connection-refused-proxy-http-attempt-to-connect/120498 "2007-11-19T15:09:57Z")

</div>

Hi, I’m trying to troubleshoot a 503 error I’m getting, my mongrels are started, mongrel.8000.log says im good to go, yet I get a 503 error trying to access it. Did a ps aux, here’s the result of that http:// pastie.…

---

## [Connection pool](https://www.ruby-forum.com/t/connection-pool/120564)

<div class="topic-metadata">

**Author:** [@Aleksandar\_L](https://www.ruby-forum.com/u/Aleksandar_L)\
**Replies:** 5\
**Last updated:** [November 19, 2007, 2:34pm UTC](https://www.ruby-forum.com/t/connection-pool/120564 "2007-11-19T14:34:11Z")

</div>

Hi, where is the best place to add a connection pool, for proxy backends into nginx? cheers Aleks

---

## [Multiple Apps - Single Domain](https://www.ruby-forum.com/t/multiple-apps-single-domain/120586)

<div class="topic-metadata">

**Author:** [@stephen](https://www.ruby-forum.com/u/stephen)\
**Replies:** 1\
**Last updated:** [November 19, 2007, 7:59am UTC](https://www.ruby-forum.com/t/multiple-apps-single-domain/120586 "2007-11-19T07:59:33Z")

</div>

Can someone share, or point me to an nginx config example for running multiple applications underneath the same domain. eg: http://mydomain.com/application1 and http://mydomain.com/application2. Setting ActionControl…

---

## [Mongrel\_cluster on OS X 10.5 Leopard](https://www.ruby-forum.com/t/mongrel-cluster-on-os-x-10-5-leopard/120543)

<div class="topic-metadata">

**Author:** [@dacbo](https://www.ruby-forum.com/u/dacbo)\
**Replies:** 3\
**Last updated:** [November 18, 2007, 6:33pm UTC](https://www.ruby-forum.com/t/mongrel-cluster-on-os-x-10-5-leopard/120543 "2007-11-18T18:33:32Z")

</div>

So, Leopard server has been great, most everything I need is here. Thanks to a nice example here: http://www.cyberarmy.net/library/article/1722/ I was even able to sort out using Mongrel with Apache 2. All works out o…

---

## [Devja Vu Invite](https://www.ruby-forum.com/t/devja-vu-invite/120530)

<div class="topic-metadata">

**Author:** [@andreim](https://www.ruby-forum.com/u/andreim)\
**Replies:** 0\
**Last updated:** [November 18, 2007, 12:30am UTC](https://www.ruby-forum.com/t/devja-vu-invite/120530 "2007-11-18T00:30:18Z")

</div>

I saw a while ago that Devja Vu was discussed here and I’d like to create an account for a couple of projects I’m working on. Is anyone kind enough to send me an invitation code? Thanks,

---

## [SSL issue](https://www.ruby-forum.com/t/ssl-issue/120390)

<div class="topic-metadata">

**Author:** [@adityanalla](https://www.ruby-forum.com/u/adityanalla)\
**Replies:** 2\
**Last updated:** [November 16, 2007, 7:02pm UTC](https://www.ruby-forum.com/t/ssl-issue/120390 "2007-11-16T19:02:52Z")

</div>

I am setting up a server with nginx, mongrel cluster with ssl. I am not able to get the ssl settings right. I have used that standard settings mentioned in most of the blogs… listen 443; ssl …

---

## [Digest Auth and Mongrel](https://www.ruby-forum.com/t/digest-auth-and-mongrel/120323)

<div class="topic-metadata">

**Author:** [@barsalou](https://www.ruby-forum.com/u/barsalou)\
**Replies:** 2\
**Last updated:** [November 16, 2007, 6:40pm UTC](https://www.ruby-forum.com/t/digest-auth-and-mongrel/120323 "2007-11-16T18:40:38Z")

</div>

If I have a low volume application and I want to use DigestAuth to limit access to the site, is it possible to do this with just mongrel/mongrel\_cluster? I’m thinking I’m going to have to include Apache to make this w…

---

## [Stealth mode?](https://www.ruby-forum.com/t/stealth-mode/120304)

<div class="topic-metadata">

**Author:** [@awarberg](https://www.ruby-forum.com/u/awarberg)\
**Replies:** 1\
**Last updated:** [November 15, 2007, 6:17pm UTC](https://www.ruby-forum.com/t/stealth-mode/120304 "2007-11-15T18:17:23Z")

</div>

I noticed that nginx displays his version number on error pages (eg. 404 file not found). Is there a way to disable or modify this behavior? – bye andreas

---

## [Best practice Ruby on Rails on Windows configuration](https://www.ruby-forum.com/t/best-practice-ruby-on-rails-on-windows-configuration/120195)

<div class="topic-metadata">

**Author:** [@Benjamin\_van\_Eck](https://www.ruby-forum.com/u/Benjamin_van_Eck)\
**Replies:** 8\
**Last updated:** [November 15, 2007, 4:28pm UTC](https://www.ruby-forum.com/t/best-practice-ruby-on-rails-on-windows-configuration/120195 "2007-11-15T16:28:11Z")

</div>

Hi, I have read many articles on the net today about configuring Ruby on Rails on a Windows server. But there doesn’t seem to a one solution for all on how to configure a new Ruby on Rails server. So I can use some …

---

## [Scripts installed](https://www.ruby-forum.com/t/scripts-installed/120224)

<div class="topic-metadata">

**Author:** [@johnnybutler7](https://www.ruby-forum.com/u/johnnybutler7)\
**Replies:** 4\
**Last updated:** [November 15, 2007, 12:50am UTC](https://www.ruby-forum.com/t/scripts-installed/120224 "2007-11-15T00:50:45Z")

</div>

On a debian production server and my os x development mcahine, there is a script at /usr/local/bin/mongrel\_rails On an ubuntu 7.1 machine, this script appears at /var/lib/gems/1.8/bin/mongrel\_rails mongrel was insta…

---

## [Proxy\_redirect not working with https, redirect to http instead of https](https://www.ruby-forum.com/t/proxy-redirect-not-working-with-https-redirect-to-http-instead-of-https/120166)

<div class="topic-metadata">

**Author:** [@Alain\_Spineux](https://www.ruby-forum.com/u/Alain_Spineux)\
**Replies:** 4\
**Last updated:** [November 15, 2007, 12:23am UTC](https://www.ruby-forum.com/t/proxy-redirect-not-working-with-https-redirect-to-http-instead-of-https/120166 "2007-11-15T00:23:16Z")

</div>

Hi I have a turbogears application running on http://localhost:8080/eg/ I use nginx to provide an HTTPS access. Everything works except when my apps make redirection, the url is well rewritten but the http is not re…

---

## ["client closed prematurely connection..."](https://www.ruby-forum.com/t/client-closed-prematurely-connection/119321)

<div class="topic-metadata">

**Author:** [@aroth](https://www.ruby-forum.com/u/aroth)\
**Replies:** 5\
**Last updated:** [November 14, 2007, 12:36pm UTC](https://www.ruby-forum.com/t/client-closed-prematurely-connection/119321 "2007-11-14T12:36:14Z")

</div>

About 15% of my requests are hanging and the nginx error log outputs: \*5 client closed prematurely connection, so upstream connection is closed too while sending request to upstream At this point I’m not sure what the…

---

## [Nginx failing when too many connections](https://www.ruby-forum.com/t/nginx-failing-when-too-many-connections/120081)

<div class="topic-metadata">

**Author:** [@Juraj\_Ziegler](https://www.ruby-forum.com/u/Juraj_Ziegler)\
**Replies:** 0\
**Last updated:** [November 13, 2007, 4:23pm UTC](https://www.ruby-forum.com/t/nginx-failing-when-too-many-connections/120081 "2007-11-13T16:23:11Z")

</div>

Hi. We have been using nginx for quite some time now, for serving static images, CSS files (and 301 / 302 redirects :). It worked well, until the number of concurrent connections reached the limit of “worker\_processe…

---

## [Nginx to serve many tiny image files](https://www.ruby-forum.com/t/nginx-to-serve-many-tiny-image-files/120004)

<div class="topic-metadata">

**Author:** [@Armin\_R](https://www.ruby-forum.com/u/Armin_R)\
**Replies:** 0\
**Last updated:** [November 12, 2007, 9:15pm UTC](https://www.ruby-forum.com/t/nginx-to-serve-many-tiny-image-files/120004 "2007-11-12T21:15:52Z")

</div>

Hi all, I set up a 4 processor box to serve many tiny jpg files \<1kb, but 15000 different ones. A typical usage-scenario would be to serve images for an oneline catalog or an ad-server with very tiny thumbnails. I …

---

## [Rewrite with proxy\_pass](https://www.ruby-forum.com/t/rewrite-with-proxy-pass/119970)

<div class="topic-metadata">

**Author:** [@sijomo](https://www.ruby-forum.com/u/sijomo)\
**Replies:** 2\
**Last updated:** [November 12, 2007, 5:06pm UTC](https://www.ruby-forum.com/t/rewrite-with-proxy-pass/119970 "2007-11-12T17:06:15Z")

</div>

Hi All, I’ve set up monit (Easy, proactive monitoring of processes, programs, files, directories, filesystems and hosts | Monit) which by default runs an http admin server on a local tcp port of your choice. I want to…

---

## [Passing from data via POST](https://www.ruby-forum.com/t/passing-from-data-via-post/119837)

<div class="topic-metadata">

**Author:** [@Geoffrey\_Bays](https://www.ruby-forum.com/u/Geoffrey_Bays)\
**Replies:** 1\
**Last updated:** [November 11, 2007, 3:52pm UTC](https://www.ruby-forum.com/t/passing-from-data-via-post/119837 "2007-11-11T15:52:00Z")

</div>

Mongrel Users: How does the HttpHandler process() method deal with data passed via POST? The HttpRequest object captures all GET params appended to an URL, but I just tried to retrieve data passed via POST and it cam…

---

## [(resending) bug in ngx\_mail\_proxy\_read\_response](https://www.ruby-forum.com/t/resending-bug-in-ngx-mail-proxy-read-response/119858)

<div class="topic-metadata">

**Author:** [@Mansoor\_P](https://www.ruby-forum.com/u/Mansoor_P)\
**Replies:** 0\
**Last updated:** [November 11, 2007, 12:29pm UTC](https://www.ruby-forum.com/t/resending-bug-in-ngx-mail-proxy-read-response/119858 "2007-11-11T12:29:23Z")

</div>

Hello Igor, please ignore my earlier e-mail since it was incomplete: We have come across a small bug in the function ngx\_mail\_proxy\_read\_response() in src/mail/ngx\_mail\_proxy\_module.c: Basically, after sending the LOG…

---

## [Bug in ngx\_mail\_proxy\_read\_response](https://www.ruby-forum.com/t/bug-in-ngx-mail-proxy-read-response/119857)

<div class="topic-metadata">

**Author:** [@Mansoor\_P](https://www.ruby-forum.com/u/Mansoor_P)\
**Replies:** 0\
**Last updated:** [November 11, 2007, 12:25pm UTC](https://www.ruby-forum.com/t/bug-in-ngx-mail-proxy-read-response/119857 "2007-11-11T12:25:51Z")

</div>

Hi Igor, We have come across a small bug in the function ngx\_mail\_proxy\_read\_response() in src/mail/ngx\_mail\_proxy\_module.c: Basically, after sending the LOGIN command (along with the password) to the upstream server…

---

## [Mongrel and Camping](https://www.ruby-forum.com/t/mongrel-and-camping/119845)

<div class="topic-metadata">

**Author:** [@zmoazeni](https://www.ruby-forum.com/u/zmoazeni)\
**Replies:** 1\
**Last updated:** [November 11, 2007, 7:55am UTC](https://www.ruby-forum.com/t/mongrel-and-camping/119845 "2007-11-11T07:55:48Z")

</div>

Why is the camping handler using Mutex#synchronize to serve requests? I was under the impression that camping was considered more thread safe than Rails? -Zach

---

## [Mongrel wiki?](https://www.ruby-forum.com/t/mongrel-wiki/119575)

<div class="topic-metadata">

**Author:** [@evan](https://www.ruby-forum.com/u/evan)\
**Replies:** 26\
**Last updated:** [November 11, 2007, 4:05am UTC](https://www.ruby-forum.com/t/mongrel-wiki/119575 "2007-11-11T04:05:35Z")

</div>

Dear Mongrels, The same questions keep coming up over and over on the list, which is ok, but not really optimal. If we added a wiki to the Mongrel site to handle FAQs, what wiki should it be? Required features would …

---

## [Upgrade on windows to 1.1](https://www.ruby-forum.com/t/upgrade-on-windows-to-1-1/119809)

<div class="topic-metadata">

**Author:** [@mgreenly](https://www.ruby-forum.com/u/mgreenly)\
**Replies:** 1\
**Last updated:** [November 10, 2007, 8:38pm UTC](https://www.ruby-forum.com/t/upgrade-on-windows-to-1-1/119809 "2007-11-10T20:38:42Z")

</div>

Attempting remote update of mongrel Select which gem to install for your platform (i386-mswin32) mongrel 1.1 (java) mongrel 1.1 (mswin32) mongrel 1.1 (ruby) mongrel 1.0.4 (ruby) mongrel 1.0.4 (mswin32) Skip this gem C…

---

## [Threads issue](https://www.ruby-forum.com/t/threads-issue/119768)

<div class="topic-metadata">

**Author:** [@Arash\_F](https://www.ruby-forum.com/u/Arash_F)\
**Replies:** 1\
**Last updated:** [November 10, 2007, 1:51pm UTC](https://www.ruby-forum.com/t/threads-issue/119768 "2007-11-10T13:51:06Z")

</div>

I’m trying to compile nginx on debian etch yet keep get the following in my configuration summary threads are not used I’ve installed everything pthread related I can find (libpthread-stubs0-dev, libpthread-stubs0, …

---

## [Session stickyness?](https://www.ruby-forum.com/t/session-stickyness/119711)

<div class="topic-metadata">

**Author:** [@Denis\_BrSSS\_khus](https://www.ruby-forum.com/u/Denis_BrSSS_khus)\
**Replies:** 1\
**Last updated:** [November 9, 2007, 8:10pm UTC](https://www.ruby-forum.com/t/session-stickyness/119711 "2007-11-09T20:10:25Z")

</div>

Hi, Is there any way to achieve session stickyness via Nginx proxying? Using Apache ProxyPass directive one can write : ProxyPass / balancer://mycluster/ lbmethod=byrequests stickysession=BALANCEID and use a BALANCE…

---

## [Error installing Mongrel on Solaris 9](https://www.ruby-forum.com/t/error-installing-mongrel-on-solaris-9/119263)

<div class="topic-metadata">

**Author:** [@parki](https://www.ruby-forum.com/u/parki)\
**Replies:** 12\
**Last updated:** [November 9, 2007, 5:22pm UTC](https://www.ruby-forum.com/t/error-installing-mongrel-on-solaris-9/119263 "2007-11-09T17:22:21Z")

</div>

Hi all, We’ve installed RoR on Solaris 9, and are attempting to install Mongrel using the following command:gem install mongrelgetting error “SSL is not installed on this system”.All other gems (including Rake) instal…

---

## [Memory footprint](https://www.ruby-forum.com/t/memory-footprint/119259)

<div class="topic-metadata">

**Author:** [@Jure\_PeSSSSar](https://www.ruby-forum.com/u/Jure_PeSSSSar)\
**Replies:** 8\
**Last updated:** [November 9, 2007, 2:12pm UTC](https://www.ruby-forum.com/t/memory-footprint/119259 "2007-11-09T14:12:29Z")

</div>

Hi all, I’m used to see nginx memory size quite low, in the few megabytes range. However, I have an instance here where worker process is taking about 150MB. It’s true that it serves lots of connections (openads, abou…

---

## [Mongrel not finding correct ruby path](https://www.ruby-forum.com/t/mongrel-not-finding-correct-ruby-path/119246)

<div class="topic-metadata">

**Author:** [@barunio](https://www.ruby-forum.com/u/barunio)\
**Replies:** 4\
**Last updated:** [November 9, 2007, 7:21am UTC](https://www.ruby-forum.com/t/mongrel-not-finding-correct-ruby-path/119246 "2007-11-09T07:21:35Z")

</div>

hello all, i have been trying to figure this out for the last few hours, and after seemingly exhausting all the google search results, i figured i would try this mailing list… i just updated the ruby version on my u…

---

## [Starting/stopping/registering Mongrel for HttpHandler](https://www.ruby-forum.com/t/starting-stopping-registering-mongrel-for-httphandler/119677)

<div class="topic-metadata">

**Author:** [@Geoffrey\_Bays](https://www.ruby-forum.com/u/Geoffrey_Bays)\
**Replies:** 0\
**Last updated:** [November 9, 2007, 4:05am UTC](https://www.ruby-forum.com/t/starting-stopping-registering-mongrel-for-httphandler/119677 "2007-11-09T04:05:49Z")

</div>

Hi. I am currently learning Ruby and writing an app that simply uses Mongrel’s HttpHandler class to create simple ruby servlets. At the end I have been using code similar to the example in simpletest.rb: h = Mongrel:…

---

## [\[noob\] simpletest.rb, mongrel 1.1, ruby 1.8.4, mac os x 10.3.9 hangs](https://www.ruby-forum.com/t/noob-simpletest-rb-mongrel-1-1-ruby-1-8-4-mac-os-x-10-3-9-hangs/119544)

<div class="topic-metadata">

**Author:** [@PAPAPA](https://www.ruby-forum.com/u/PAPAPA)\
**Replies:** 4\
**Last updated:** [November 9, 2007, 3:43am UTC](https://www.ruby-forum.com/t/noob-simpletest-rb-mongrel-1-1-ruby-1-8-4-mac-os-x-10-3-9-hangs/119544 "2007-11-09T03:43:38Z")

</div>

Hello, I’m trying to run the latest/greatest mongrel version: % sudo gem install mongrel … Successfully installed mongrel-1.1 % gem list mongrel mongrel (1.1) % ruby -v ruby 1.8.4 (2005-12-24) \[powerpc-darwin7.9.…

---

## [Can't configure mongrel\_cluster to start on boot](https://www.ruby-forum.com/t/cant-configure-mongrel-cluster-to-start-on-boot/119211)

<div class="topic-metadata">

**Author:** [@mr\_tibs](https://www.ruby-forum.com/u/mr_tibs)\
**Replies:** 3\
**Last updated:** [November 8, 2007, 4:52pm UTC](https://www.ruby-forum.com/t/cant-configure-mongrel-cluster-to-start-on-boot/119211 "2007-11-08T16:52:44Z")

</div>

Hi everyone, I’ve been working with Mongrel, Mongrel\_cluster and Apache and it is great. However, I can’t get mongrel\_cluster to start at boot time. I followed the instructions from http://mongrel.rubyforge.org/docs…

[Previous page](https://www.ruby-forum.com/c/server/33.md?page=381)

[Next page](https://www.ruby-forum.com/c/server/33.md?page=383)
