# Server

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

[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:** 359

---

## [Proxy\_pass is double-encoding some pre-encoded uri's](https://www.ruby-forum.com/t/proxy-pass-is-double-encoding-some-pre-encoded-uris/138329)

<div class="topic-metadata">

**Author:** [@joeykork](https://www.ruby-forum.com/u/joeykork)\
**Replies:** 3\
**Last updated:** [May 29, 2008, 1:49am UTC](https://www.ruby-forum.com/t/proxy-pass-is-double-encoding-some-pre-encoded-uris/138329 "2008-05-29T01:49:19Z")

</div>

Hello, just wanted to start by saying that nginx is my favorite server for my personal projects - what an awesome piece of work. This is my first bug/help request. I’ve been using proxy\_store as a “mirror on demand” f…

---

## [Mongrel\_rails cluster::restart task via capistrano mongrel\_cluster/recipes problem](https://www.ruby-forum.com/t/mongrel-rails-cluster-restart-task-via-capistrano-mongrel-cluster-recipes-problem/138911)

<div class="topic-metadata">

**Author:** [@stjohn\_goldfinger](https://www.ruby-forum.com/u/stjohn_goldfinger)\
**Replies:** 0\
**Last updated:** [May 28, 2008, 10:25pm UTC](https://www.ruby-forum.com/t/mongrel-rails-cluster-restart-task-via-capistrano-mongrel-cluster-recipes-problem/138911 "2008-05-28T22:25:37Z")

</div>

Hi Guys, I hope its ok to post to this list. I have a rails on ubuntu deployment stack which consists of: locally: cap 2.3.0 and all latest deps server side: apache 2.3, mongrel\_cluster, mod\_proxy and git on the sa…

---

## [Re: How to prevent running out of connections?](https://www.ruby-forum.com/t/re-how-to-prevent-running-out-of-connections/138671)

<div class="topic-metadata">

**Author:** [@Rt\_Ibmer](https://www.ruby-forum.com/u/Rt_Ibmer)\
**Replies:** 1\
**Last updated:** [May 28, 2008, 11:10am UTC](https://www.ruby-forum.com/t/re-how-to-prevent-running-out-of-connections/138671 "2008-05-28T11:10:46Z")

</div>

\[Hello - I sent this last week but did not receive any responses so I am resending it in hopes of getting some information. Thank you!\] How do I make sure we don’t run out of available connections for our nginx 6 box? …

---

## [Failover / fault-tolerant configurations](https://www.ruby-forum.com/t/failover-fault-tolerant-configurations/138777)

<div class="topic-metadata">

**Author:** [@Pavel\_Georgiev](https://www.ruby-forum.com/u/Pavel_Georgiev)\
**Replies:** 3\
**Last updated:** [May 27, 2008, 11:03pm UTC](https://www.ruby-forum.com/t/failover-fault-tolerant-configurations/138777 "2008-05-27T23:03:12Z")

</div>

Im using nginx as a load balances for 2 backend servers that run a php application. I need session awareness so Ive enabled ip\_hash for the upstream, but in case one node fails, all requests that should go to that nod…

---

## [Nginx redirecting to wrong port](https://www.ruby-forum.com/t/nginx-redirecting-to-wrong-port/133873)

<div class="topic-metadata">

**Author:** [@Jodok\_B](https://www.ruby-forum.com/u/Jodok_B)\
**Replies:** 9\
**Last updated:** [May 27, 2008, 4:22pm UTC](https://www.ruby-forum.com/t/nginx-redirecting-to-wrong-port/133873 "2008-05-27T16:22:40Z")

</div>

hi, nginx runs behind a big-ip loadbalancer. the load-balancer accepts connections on port 80, but connects to nginx on port 8080. whenever i request a directory without trailing slash, nginx redirects to the directo…

---

## [Announcing: nginx 0.7.1 for Win32](https://www.ruby-forum.com/t/announcing-nginx-0-7-1-for-win32/138760)

<div class="topic-metadata">

**Author:** [@inspire22](https://www.ruby-forum.com/u/inspire22)\
**Replies:** 0\
**Last updated:** [May 27, 2008, 2:48pm UTC](https://www.ruby-forum.com/t/announcing-nginx-0-7-1-for-win32/138760 "2008-05-27T14:48:43Z")

</div>

Announcement and Feedback Welcome Here: http://www.kevinworthington.com/index.php/2008/05/27/announcing-nginx-071-for-win32/ Download nginx/0.7.1-win32 here: http://www.kevinworthington.com/nginx/win32/ Thanks, Kevi…

---

## [Question about io problem](https://www.ruby-forum.com/t/question-about-io-problem/138724)

<div class="topic-metadata">

**Author:** [@M.Kursad\_DARA](https://www.ruby-forum.com/u/M.Kursad_DARA)\
**Replies:** 8\
**Last updated:** [May 27, 2008, 2:34pm UTC](https://www.ruby-forum.com/t/question-about-io-problem/138724 "2008-05-27T14:34:34Z")

</div>

How can i optimize io on nginx ? it’s serving image and flv files. IO is very high ( %90 ) is there any option to handle it ? thanks. M.Kursad DARA Sistem ve Uygulama Muhendisi Tel : +90 212 365 95 08 mailto:remov…

---

## [Nginx for Symfony](https://www.ruby-forum.com/t/nginx-for-symfony/138549)

<div class="topic-metadata">

**Author:** [@John\_Huong](https://www.ruby-forum.com/u/John_Huong)\
**Replies:** 15\
**Last updated:** [May 27, 2008, 9:08am UTC](https://www.ruby-forum.com/t/nginx-for-symfony/138549 "2008-05-27T09:08:01Z")

</div>

I would like to seek assistance with configuring nginx for a symfony project. So far the examples I have managed to get from Google points to setups where the symfony project is on the root of the virtual host. I am …

---

## [Checking config outputs a pid file](https://www.ruby-forum.com/t/checking-config-outputs-a-pid-file/138713)

<div class="topic-metadata">

**Author:** [@Cherife\_Li](https://www.ruby-forum.com/u/Cherife_Li)\
**Replies:** 7\
**Last updated:** [May 27, 2008, 8:12am UTC](https://www.ruby-forum.com/t/checking-config-outputs-a-pid-file/138713 "2008-05-27T08:12:44Z")

</div>

Hi all, Has anyone noticed that \`nginx -t’ outputs an empty pid file while the nginx process isn’t running. I can only add if \[ ! -s $PID \]; then rm -f $PID fi to the check-config section of my rc file at the mome…

---

## [Vacantion](https://www.ruby-forum.com/t/vacantion/138653)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 2\
**Last updated:** [May 27, 2008, 4:43am UTC](https://www.ruby-forum.com/t/vacantion/138653 "2008-05-27T04:43:42Z")

</div>

I will be on vacantion since May 29 till Jun 12 with limited internet access.

---

## [Confusion with fastcgi handoff, etc](https://www.ruby-forum.com/t/confusion-with-fastcgi-handoff-etc/138702)

<div class="topic-metadata">

**Author:** [@mike](https://www.ruby-forum.com/u/mike)\
**Replies:** 0\
**Last updated:** [May 27, 2008, 12:02am UTC](https://www.ruby-forum.com/t/confusion-with-fastcgi-handoff-etc/138702 "2008-05-27T00:02:07Z")

</div>

I’m trying to figure out why theres a desync between fastcgi and nginx here. The URL has .php in it, so it should be sent to fastcgi. But I get a 404 thrown. Does anyone see anything wrong here? I get the infamous “…

---

## [Re: nginx-0.7.1](https://www.ruby-forum.com/t/re-nginx-0-7-1/138670)

<div class="topic-metadata">

**Author:** [@Rt\_Ibmer](https://www.ruby-forum.com/u/Rt_Ibmer)\
**Replies:** 1\
**Last updated:** [May 26, 2008, 11:24pm UTC](https://www.ruby-forum.com/t/re-nginx-0-7-1/138670 "2008-05-26T23:24:35Z")

</div>

\*) Change: now locations are searched in a tree. Can you please elaborate on what this means exactly? Does this mean that locations can be nested? I think so. Now even the bigger question - can multiple location bl…

---

## [Nginx red5 rtmpt proxy](https://www.ruby-forum.com/t/nginx-red5-rtmpt-proxy/138664)

<div class="topic-metadata">

**Author:** [@Rajesh\_Dharmalingam](https://www.ruby-forum.com/u/Rajesh_Dharmalingam)\
**Replies:** 5\
**Last updated:** [May 26, 2008, 4:17pm UTC](https://www.ruby-forum.com/t/nginx-red5-rtmpt-proxy/138664 "2008-05-26T16:17:36Z")

</div>

Hi, Had anyone tried making red5 rtmpt to run via proxy of nginx? I am trying the following but it does not work. location /open/ { proxy\_pass http://127.0.0.1:8088; proxy\_redirect off…

---

## [A log\_format question](https://www.ruby-forum.com/t/a-log-format-question/138660)

<div class="topic-metadata">

**Author:** [@baalchina](https://www.ruby-forum.com/u/baalchina)\
**Replies:** 2\
**Last updated:** [May 26, 2008, 1:04pm UTC](https://www.ruby-forum.com/t/a-log-format-question/138660 "2008-05-26T13:04:15Z")

</div>

Hello everyone. I am using nginx0.6.31, in CentOS platform. I have a question in log format. When I edit my config, in http {}, I wrote this: ======================================================= log\_format comb…

---

## [Nginx-0.7.1](https://www.ruby-forum.com/t/nginx-0-7-1/138652)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 0\
**Last updated:** [May 26, 2008, 11:51am UTC](https://www.ruby-forum.com/t/nginx-0-7-1/138652 "2008-05-26T11:51:00Z")

</div>

Changes with nginx 0.7.1 26 May 2008 \*) Change: now locations are searched in a tree. \*) Change: the "optimize\_server\_names" directive was canceled due to the "server\_name\_in…

---

## [Embedded perl ssi weirdness?](https://www.ruby-forum.com/t/embedded-perl-ssi-weirdness/138590)

<div class="topic-metadata">

**Author:** [@Jeffrey\_SjfS\_Lim](https://www.ruby-forum.com/u/Jeffrey_SjfS_Lim)\
**Replies:** 5\
**Last updated:** [May 25, 2008, 9:08pm UTC](https://www.ruby-forum.com/t/embedded-perl-ssi-weirdness/138590 "2008-05-25T21:08:43Z")

</div>

hi, folks, I’ve been trying out the embedded perl feature with 0.6.31, and while there were initially some problems with getting it up, I’ve managed to resolve just about everything. I do have some questions, though: …

---

## [400 errors silence by loadbalancer](https://www.ruby-forum.com/t/400-errors-silence-by-loadbalancer/138572)

<div class="topic-metadata">

**Author:** [@Aleksandar\_L](https://www.ruby-forum.com/u/Aleksandar_L)\
**Replies:** 0\
**Last updated:** [May 24, 2008, 10:39pm UTC](https://www.ruby-forum.com/t/400-errors-silence-by-loadbalancer/138572 "2008-05-24T22:39:05Z")

</div>

Hi Igor, this workaround doesn’t work anymore http://wiki.codemongers.com/HWLoadbalancerCheckErrors please can you help to make it working again :wink: \[debug\] \*50 accept: xx.xx.xx.xx fd:16 \[debug\] \*50 event timer …

---

## [Mongrel Crashes in Production](https://www.ruby-forum.com/t/mongrel-crashes-in-production/132257)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 9\
**Last updated:** [May 24, 2008, 7:38am UTC](https://www.ruby-forum.com/t/mongrel-crashes-in-production/132257 "2008-05-24T07:38:16Z")

</div>

I have been getting this error on the production server after rails was updated to 2.0.2 and moreover this worked perfectly in the development mode. This crash occurs when no one is using the app for an hour or so. Th…

---

## [Restarting upstream servers](https://www.ruby-forum.com/t/restarting-upstream-servers/138331)

<div class="topic-metadata">

**Author:** [@joe-dumoulin](https://www.ruby-forum.com/u/joe-dumoulin)\
**Replies:** 4\
**Last updated:** [May 23, 2008, 3:10pm UTC](https://www.ruby-forum.com/t/restarting-upstream-servers/138331 "2008-05-23T15:10:40Z")

</div>

Hi, I’m using a bunch of upstream servers and using nginx as a proxy for them. The upstreams run on two different machines. When I restart the upstreams on one server, I get a bunch of errors like these: 2008/05/21…

---

## [Mongrel cluster not working](https://www.ruby-forum.com/t/mongrel-cluster-not-working/137449)

<div class="topic-metadata">

**Author:** [@aathisankar](https://www.ruby-forum.com/u/aathisankar)\
**Replies:** 1\
**Last updated:** [May 23, 2008, 11:03am UTC](https://www.ruby-forum.com/t/mongrel-cluster-not-working/137449 "2008-05-23T11:03:15Z")

</div>

Hi am a newbie to mongrel… and configuring now mongrel cluster with apache. when i start mongrel as a stand alone instance my app is working fine, by issuing the follwoing command. mongrel\_rails mongrel::start when…

---

## [How to prevent running out of connections?](https://www.ruby-forum.com/t/how-to-prevent-running-out-of-connections/138427)

<div class="topic-metadata">

**Author:** [@Rt\_Ibmer](https://www.ruby-forum.com/u/Rt_Ibmer)\
**Replies:** 0\
**Last updated:** [May 22, 2008, 10:39pm UTC](https://www.ruby-forum.com/t/how-to-prevent-running-out-of-connections/138427 "2008-05-22T22:39:07Z")

</div>

How do I make sure we don’t run out of available connections for our nginx 6 box? For instance when I run stub\_status I see that I have x active connections. I can also see how the keepalive setting in nginx impacts …

---

## [Gem install of mongrel v 1.1.5 broken in jruby](https://www.ruby-forum.com/t/gem-install-of-mongrel-v-1-1-5-broken-in-jruby/138426)

<div class="topic-metadata">

**Author:** [@stepheneb](https://www.ruby-forum.com/u/stepheneb)\
**Replies:** 2\
**Last updated:** [May 22, 2008, 10:11pm UTC](https://www.ruby-forum.com/t/gem-install-of-mongrel-v-1-1-5-broken-in-jruby/138426 "2008-05-22T22:11:32Z")

</div>

Can’t install the latest mongrel (1.1.5) in JRuby (jruby revisions ranging from 6600 to 6750\[trunk\] checked) – the platform is not being identified and it’s trying to do native compilation. I’m not sure it’s actually …

---

## [SSI subrequest cannot work with "error page" directive?](https://www.ruby-forum.com/t/ssi-subrequest-cannot-work-with-error-page-directive/138291)

<div class="topic-metadata">

**Author:** [@nightsailer](https://www.ruby-forum.com/u/nightsailer)\
**Replies:** 1\
**Last updated:** [May 22, 2008, 1:49pm UTC](https://www.ruby-forum.com/t/ssi-subrequest-cannot-work-with-error-page-directive/138291 "2008-05-22T13:49:48Z")

</div>

Hi, I have discovered a situation where nginx can’t handle SSI virtualtags right with “error page”: nginx is configured to serve local files, then fallback to proxy remotefile,and then stored in local through “proxy\_s…

---

## [Django WSGI & limmiting connections](https://www.ruby-forum.com/t/django-wsgi-limmiting-connections/138372)

<div class="topic-metadata">

**Author:** [@Almir\_K](https://www.ruby-forum.com/u/Almir_K)\
**Replies:** 1\
**Last updated:** [May 22, 2008, 1:05pm UTC](https://www.ruby-forum.com/t/django-wsgi-limmiting-connections/138372 "2008-05-22T13:05:01Z")

</div>

i have two question, first relates to running django under nginx as WSGI app, i can’t seem to find any docs about it. right now i’m running django apps as FCGI processes and have (ugly) shell script who makes sure the…

---

## [Php-fpm xcache](https://www.ruby-forum.com/t/php-fpm-xcache/138352)

<div class="topic-metadata">

**Author:** [@HonDev\_D](https://www.ruby-forum.com/u/HonDev_D)\
**Replies:** 4\
**Last updated:** [May 22, 2008, 9:42am UTC](https://www.ruby-forum.com/t/php-fpm-xcache/138352 "2008-05-22T09:42:59Z")

</div>

How does one enable xcache when using php-fpm? Many thanks.

---

## [A Good Tool for Large File Upload](https://www.ruby-forum.com/t/a-good-tool-for-large-file-upload/138333)

<div class="topic-metadata">

**Author:** [@bugdashi](https://www.ruby-forum.com/u/bugdashi)\
**Replies:** 1\
**Last updated:** [May 22, 2008, 6:09am UTC](https://www.ruby-forum.com/t/a-good-tool-for-large-file-upload/138333 "2008-05-22T06:09:44Z")

</div>

I have summarized the tools for large files transfer, and would like to share it with everyone. a)It can transfer less than 900KB files via free email boxes. Because it mayn’t exceed 1MB for a single email. The email …

---

## [Failover / fault-tolerant configurations](https://www.ruby-forum.com/t/failover-fault-tolerant-configurations/138304)

<div class="topic-metadata">

**Author:** [@alex\_clemesha](https://www.ruby-forum.com/u/alex_clemesha)\
**Replies:** 5\
**Last updated:** [May 21, 2008, 10:52pm UTC](https://www.ruby-forum.com/t/failover-fault-tolerant-configurations/138304 "2008-05-21T22:52:18Z")

</div>

Hi, I’m looking for more information on setting up 2 Nginx instances in a failover active/active configuration. The scenario that I’m trying to accomplish is this: 2 Nginx instances, both doing some sort of Session a…

---

## [Bash fork: Resource temporarily unavailable](https://www.ruby-forum.com/t/bash-fork-resource-temporarily-unavailable/138085)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [May 21, 2008, 7:00pm UTC](https://www.ruby-forum.com/t/bash-fork-resource-temporarily-unavailable/138085 "2008-05-21T19:00:04Z")

</div>

i am using nginx version 0.6.31, to server static files config files below. now regularly when I login and I try to do something I get this error, and I am not able to start anything… i have over 10GB of free RAM… ho…

---

## [Re: How to block POST requests?](https://www.ruby-forum.com/t/re-how-to-block-post-requests/138216)

<div class="topic-metadata">

**Author:** [@Rt\_Ibmer](https://www.ruby-forum.com/u/Rt_Ibmer)\
**Replies:** 1\
**Last updated:** [May 21, 2008, 6:49pm UTC](https://www.ruby-forum.com/t/re-how-to-block-post-requests/138216 "2008-05-21T18:49:28Z")

</div>

Calomel, Only allow GET and HEAD request methods if ($request\_method !~ ^(GET|HEAD)$ ) { return 444; } Regarding the above - no one should ever do a POST operation to our site. However since the above check…

---

## [Nginx worker process wont start](https://www.ruby-forum.com/t/nginx-worker-process-wont-start/138283)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 5\
**Last updated:** [May 21, 2008, 6:28pm UTC](https://www.ruby-forum.com/t/nginx-worker-process-wont-start/138283 "2008-05-21T18:28:04Z")

</div>

i get this error and it fails to start, i have 8GB free ram 2008/05/21 08:02:19 \[emerg\] 30558#0: setuid(500) failed (11: Resource temporarily unavailable) 2008/05/21 08:02:19 \[alert\] 30557#0: worker process 30558 exit…

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

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