# Server

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

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

---

## [How to get mongrel to use maintenance.html file?](https://www.ruby-forum.com/t/how-to-get-mongrel-to-use-maintenance-html-file/133447)

<div class="topic-metadata">

**Author:** [@axees335](https://www.ruby-forum.com/u/axees335)\
**Replies:** 3\
**Last updated:** [March 31, 2008, 11:59pm UTC](https://www.ruby-forum.com/t/how-to-get-mongrel-to-use-maintenance-html-file/133447 "2008-03-31T23:59:29Z")

</div>

Does someone know how to tell mongrel\_rails to read the public/system/maintenance.html file?

---

## [Running out of file descriptors under load](https://www.ruby-forum.com/t/running-out-of-file-descriptors-under-load/133479)

<div class="topic-metadata">

**Author:** [@dan](https://www.ruby-forum.com/u/dan)\
**Replies:** 1\
**Last updated:** [March 31, 2008, 11:48pm UTC](https://www.ruby-forum.com/t/running-out-of-file-descriptors-under-load/133479 "2008-03-31T23:48:52Z")

</div>

Hi All, I’m running a Rails site with nginx/mongrel on a fairly well specced dedicated box w/ 4GB RAM and during a spike both the Mongrels and nginx logs started to complain about running out of file descriptors. I’…

---

## [Rewrite migration from apache](https://www.ruby-forum.com/t/rewrite-migration-from-apache/129530)

<div class="topic-metadata">

**Author:** [@matteo-nodari](https://www.ruby-forum.com/u/matteo-nodari)\
**Replies:** 27\
**Last updated:** [March 31, 2008, 8:26pm UTC](https://www.ruby-forum.com/t/rewrite-migration-from-apache/129530 "2008-03-31T20:26:40Z")

</div>

Hi, I’m migrating some sites from apache 2.0 to nginx. I have problems with this rewrite: RewriteRule ^(\[^/\]{2,})/$ home.php?key=$1 I have changed to: rewrite ^(\[^/\]{2,})/$ home.php?key=$1 last; but when I make a c…

---

## [Php-fastcgi and memory leaks](https://www.ruby-forum.com/t/php-fastcgi-and-memory-leaks/132852)

<div class="topic-metadata">

**Author:** [@Phillip\_B\_Oldham](https://www.ruby-forum.com/u/Phillip_B_Oldham)\
**Replies:** 21\
**Last updated:** [March 31, 2008, 3:53pm UTC](https://www.ruby-forum.com/t/php-fastcgi-and-memory-leaks/132852 "2008-03-31T15:53:45Z")

</div>

Further to the email below, I’m still having problems with PHP5 fastcgi and nginx. I’m finding that php slowly takes up 100% of the available memory and starts to drop connections at around 70%. At the moment I’ve got…

---

## [Problem setting up Virtual Hosts](https://www.ruby-forum.com/t/problem-setting-up-virtual-hosts/133274)

<div class="topic-metadata">

**Author:** [@thomas](https://www.ruby-forum.com/u/thomas)\
**Replies:** 4\
**Last updated:** [March 31, 2008, 1:59pm UTC](https://www.ruby-forum.com/t/problem-setting-up-virtual-hosts/133274 "2008-03-31T13:59:57Z")

</div>

Hi, This problem is getting me crazy. I have a server in my office which I use for tests. It has a dynamic address, and I chose DynDns to have a domain name. So its domain name is of mysite.ath.cx. I have set in dynd…

---

## [Module's development and X-Accel-Redirect](https://www.ruby-forum.com/t/modules-development-and-x-accel-redirect/133349)

<div class="topic-metadata">

**Author:** [@vchav](https://www.ruby-forum.com/u/vchav)\
**Replies:** 2\
**Last updated:** [March 31, 2008, 12:48pm UTC](https://www.ruby-forum.com/t/modules-development-and-x-accel-redirect/133349 "2008-03-31T12:48:15Z")

</div>

Hi all My problem refers to the development of a new module for nginx and I need to use X-Accel-Redirect header to implement controlled downloads… I have followed http://blog.kovyrin.net/2006/11/01/nginx-x-accel-redi…

---

## [Best practices for monitoring mongrels with monit?](https://www.ruby-forum.com/t/best-practices-for-monitoring-mongrels-with-monit/131005)

<div class="topic-metadata">

**Author:** [@Elijah\_Wright](https://www.ruby-forum.com/u/Elijah_Wright)\
**Replies:** 8\
**Last updated:** [March 28, 2008, 9:31pm UTC](https://www.ruby-forum.com/t/best-practices-for-monitoring-mongrels-with-monit/131005 "2008-03-28T21:31:18Z")

</div>

Hello, We’re interested in hearing from folks who have worked out a set of “best practices” for monitoring mongrels with monit. My local setup is remarkably similar to the one currently found in the " Practical Prog…

---

## [Some questions about subrequests](https://www.ruby-forum.com/t/some-questions-about-subrequests/133071)

<div class="topic-metadata">

**Author:** [@Manlio\_P](https://www.ruby-forum.com/u/Manlio_P)\
**Replies:** 5\
**Last updated:** [March 28, 2008, 2:23pm UTC](https://www.ruby-forum.com/t/some-questions-about-subrequests/133071 "2008-03-28T14:23:58Z")

</div>

Hi. I would like to add subrequests support in the WSGI module, however I have some doubts. What’s the meaning of the NGX\_HTTP\_ZERO\_IN\_URI and NGX\_HTTP\_SUBREQUEST\_IN\_MEMORY flags? Thanks Manlio P.

---

## [Relative paths in if statements use current path not prefix path](https://www.ruby-forum.com/t/relative-paths-in-if-statements-use-current-path-not-prefix-path/133113)

<div class="topic-metadata">

**Author:** [@elucify](https://www.ruby-forum.com/u/elucify)\
**Replies:** 0\
**Last updated:** [March 27, 2008, 9:55pm UTC](https://www.ruby-forum.com/t/relative-paths-in-if-statements-use-current-path-not-prefix-path/133113 "2008-03-27T21:55:38Z")

</div>

Hi, In 0.5.35, relative file paths in if statement tests do not work relative to the Nginx prefix path. Calls to ngx\_file\_info in ngx\_file.c need to prepend the cycle-\>root.data prefix.

---

## [Ngx.poll extension for mod\_wsgi](https://www.ruby-forum.com/t/ngx-poll-extension-for-mod-wsgi/133024)

<div class="topic-metadata">

**Author:** [@Manlio\_P](https://www.ruby-forum.com/u/Manlio_P)\
**Replies:** 0\
**Last updated:** [March 26, 2008, 8:46pm UTC](https://www.ruby-forum.com/t/ngx-poll-extension-for-mod-wsgi/133024 "2008-03-26T20:46:49Z")

</div>

Hi. For people interested I have designed and implemented an extension for my WSGI module for Nginx for better support of asynchronous applications. Here are some examples: An example of asynchronous query to a Po…

---

## [Ipv6](https://www.ruby-forum.com/t/ipv6/125470)

<div class="topic-metadata">

**Author:** [@Kingsley\_F](https://www.ruby-forum.com/u/Kingsley_F)\
**Replies:** 5\
**Last updated:** [March 26, 2008, 5:42pm UTC](https://www.ruby-forum.com/t/ipv6/125470 "2008-03-26T17:42:07Z")

</div>

does nginx support ipv6? Kingsley F. Technical Leader Content Services / Content Management Group ============================================= Internode Systems Pty Ltd PO Box 284, Rundle Mall 5000 Level 5 150 Gr…

---

## [Rewrite](https://www.ruby-forum.com/t/rewrite/132981)

<div class="topic-metadata">

**Author:** [@Yordan\_G](https://www.ruby-forum.com/u/Yordan_G)\
**Replies:** 7\
**Last updated:** [March 26, 2008, 4:04pm UTC](https://www.ruby-forum.com/t/rewrite/132981 "2008-03-26T16:04:22Z")

</div>

Hello all, How should I proceed "RewriteRule ^(.)/$ index.php?page=$1", because when I replace this rule with if ($host ~ “www.domain.tld” ) { rewrite ^/(\[^/\]+)/ /index.php?page=$1; break; } But my directory in…

---

## [Compiling Nginx on Mac OsX Tiger](https://www.ruby-forum.com/t/compiling-nginx-on-mac-osx-tiger/132672)

<div class="topic-metadata">

**Author:** [@thomas](https://www.ruby-forum.com/u/thomas)\
**Replies:** 7\
**Last updated:** [March 26, 2008, 3:12pm UTC](https://www.ruby-forum.com/t/compiling-nginx-on-mac-osx-tiger/132672 "2008-03-26T15:12:07Z")

</div>

Hi, I am thinking about recycling my goold ole iBook with Tiger into a mobile Rails development plateform. To be really complete I need to have Nginx up and running on my iBook. Has anyone managed to compile Nginx on…

---

## [Mongrel garbage collection](https://www.ruby-forum.com/t/mongrel-garbage-collection/132601)

<div class="topic-metadata">

**Author:** [@sfwalter](https://www.ruby-forum.com/u/sfwalter)\
**Replies:** 26\
**Last updated:** [March 26, 2008, 1:53pm UTC](https://www.ruby-forum.com/t/mongrel-garbage-collection/132601 "2008-03-26T13:53:23Z")

</div>

Sorry, for the re-post, but I’m new to the mailing list and wanted to bring back up and old topic I saw in the archives. http://rubyforge.org/pipermail/mongrel-users/2008-February/004991.html I think a patch to delay…

---

## [Nginx large POST body under Solaris](https://www.ruby-forum.com/t/nginx-large-post-body-under-solaris/132924)

<div class="topic-metadata">

**Author:** [@Wil\_Tan](https://www.ruby-forum.com/u/Wil_Tan)\
**Replies:** 6\
**Last updated:** [March 26, 2008, 10:32am UTC](https://www.ruby-forum.com/t/nginx-large-post-body-under-solaris/132924 "2008-03-26T10:32:12Z")

</div>

Hello Nginx-ers, I had a problem with uploading large files to a FastCGI (Django) process behind nginx. Nginx crashes when running under Solaris 10 (SunOS 5.11 snv\_67 i86pc i386 i86pc) and nginx 0.5.35 compiled witho…

---

## [Use perl or shell scripts for configuration?](https://www.ruby-forum.com/t/use-perl-or-shell-scripts-for-configuration/132919)

<div class="topic-metadata">

**Author:** [@fjlj](https://www.ruby-forum.com/u/fjlj)\
**Replies:** 1\
**Last updated:** [March 25, 2008, 8:35pm UTC](https://www.ruby-forum.com/t/use-perl-or-shell-scripts-for-configuration/132919 "2008-03-25T20:35:33Z")

</div>

Hi All, I am wondering if there is a way for nginx to use some kind of external variables or to include a perl/shell script to use it’s configuration? Let me show you what I mean with an example: We are providing rai…

---

## [Virtual host throughput](https://www.ruby-forum.com/t/virtual-host-throughput/132843)

<div class="topic-metadata">

**Author:** [@Benny\_Frishberg](https://www.ruby-forum.com/u/Benny_Frishberg)\
**Replies:** 4\
**Last updated:** [March 25, 2008, 10:08am UTC](https://www.ruby-forum.com/t/virtual-host-throughput/132843 "2008-03-25T10:08:03Z")

</div>

Hi all, I need to find a way to get the throughput of each virtualhost. Any ideas? Benny

---

## [Error\_page and virtual hosts](https://www.ruby-forum.com/t/error-page-and-virtual-hosts/132772)

<div class="topic-metadata">

**Author:** [@Drazen\_Milosevic](https://www.ruby-forum.com/u/Drazen_Milosevic)\
**Replies:** 2\
**Last updated:** [March 25, 2008, 9:35am UTC](https://www.ruby-forum.com/t/error-page-and-virtual-hosts/132772 "2008-03-25T09:35:54Z")

</div>

Hi everyone, I have a lot of virtual hosts and I was wondering is there a way to setup this once in the main nginx.conf file. server { listen x.x.x.x:80; root /VDOMAINS/domain/www; server\_name domain; server\_name…

---

## [Virtual host throughput](https://www.ruby-forum.com/t/virtual-host-throughput/196611)

<div class="topic-metadata">

**Author:** [@Benny\_Frishberg](https://www.ruby-forum.com/u/Benny_Frishberg)\
**Replies:** 0\
**Last updated:** [March 25, 2008, 8:59am UTC](https://www.ruby-forum.com/t/virtual-host-throughput/196611 "2008-03-25T08:59:12Z")

</div>

Hi all, I need to find a way to get the throughput of each virtualhost. Any ideas? Benny

---

## [Mongrel\_rails not starting](https://www.ruby-forum.com/t/mongrel-rails-not-starting/117011)

<div class="topic-metadata">

**Author:** [@S-gw](https://www.ruby-forum.com/u/S-gw)\
**Replies:** 9\
**Last updated:** [March 24, 2008, 11:58pm UTC](https://www.ruby-forum.com/t/mongrel-rails-not-starting/117011 "2008-03-24T23:58:26Z")

</div>

os x 10.4.10 used gem to install mongrel 1.0.1. seemed to go w/o errors. “mongrel\_rails start -d” spits out this error /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/http11.bundle: Failed to load /usr/local/lib…

---

## [Setting up nginx with mongrel\_cluster: 403 Forbidden](https://www.ruby-forum.com/t/setting-up-nginx-with-mongrel-cluster-403-forbidden/132753)

<div class="topic-metadata">

**Author:** [@lalena](https://www.ruby-forum.com/u/lalena)\
**Replies:** 1\
**Last updated:** [March 24, 2008, 10:15pm UTC](https://www.ruby-forum.com/t/setting-up-nginx-with-mongrel-cluster-403-forbidden/132753 "2008-03-24T22:15:54Z")

</div>

Hi, I’m trying to deploy a Rails application on FreeBSD 7.0 with mongrel\_cluster and nginx/0.5.35. On ports 8000 and 8001 the application runs fine. But on port 80 nginx returns “403 Forbidden”. The according line fr…

---

## [FastCGI problem](https://www.ruby-forum.com/t/fastcgi-problem/132368)

<div class="topic-metadata">

**Author:** [@Yordan\_G](https://www.ruby-forum.com/u/Yordan_G)\
**Replies:** 7\
**Last updated:** [March 24, 2008, 8:43pm UTC](https://www.ruby-forum.com/t/fastcgi-problem/132368 "2008-03-24T20:43:59Z")

</div>

Hello, My nginx.conf is: user web; worker\_processes 1; #error\_log logs/error.log; #error\_log logs/error.log notice; #error\_log logs/error.log info; #pid logs/nginx.pid; events { worker\_connections …

---

## [Doesnt show log on command prompt](https://www.ruby-forum.com/t/doesnt-show-log-on-command-prompt/132737)

<div class="topic-metadata">

**Author:** [@vapor](https://www.ruby-forum.com/u/vapor)\
**Replies:** 4\
**Last updated:** [March 24, 2008, 7:38pm UTC](https://www.ruby-forum.com/t/doesnt-show-log-on-command-prompt/132737 "2008-03-24T19:38:11Z")

</div>

I have latest version of mongrel installed. But when I run ‘ruby script/server’ it starts the server and shows nothing else, like development log it used to show on my previous dev machine. Any idea?

---

## [Stale global SSL error](https://www.ruby-forum.com/t/stale-global-ssl-error/132675)

<div class="topic-metadata">

**Author:** [@Ian\_MSEvans](https://www.ruby-forum.com/u/Ian_MSEvans)\
**Replies:** 2\
**Last updated:** [March 24, 2008, 4:10pm UTC](https://www.ruby-forum.com/t/stale-global-ssl-error/132675 "2008-03-24T16:10:15Z")

</div>

Should I be worried about the following: ignoring stale global SSL error (SSL: error:140D5042:SSL routines:SSL3\_CTRL:called a function you should not call) while reading client request line

---

## [Re: Nginx upload progress module - large file upload stopped](https://www.ruby-forum.com/t/re-nginx-upload-progress-module-large-file-upload-stopped/132756)

<div class="topic-metadata">

**Author:** [@Brice\_F](https://www.ruby-forum.com/u/Brice_F)\
**Replies:** 0\
**Last updated:** [March 24, 2008, 2:14pm UTC](https://www.ruby-forum.com/t/re-nginx-upload-progress-module-large-file-upload-stopped/132756 "2008-03-24T14:14:10Z")

</div>

Hi Ben, On Thu, March 20, 2008 18:34, Ben Blakley wrote: 2008/03/20 02:42:57 \[notice\] 19751#0: signal 17 (SIGCHLD) received 2008/03/20 02:42:57 \[alert\] 19751#0: worker process 19755 exited on signal 11 2008/03/20 0…

---

## [Nginx-0.6.29](https://www.ruby-forum.com/t/nginx-0-6-29/132268)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 8\
**Last updated:** [March 24, 2008, 5:02am UTC](https://www.ruby-forum.com/t/nginx-0-6-29/132268 "2008-03-24T05:02:24Z")

</div>

Changes with nginx 0.6.29 18 Mar 2008 \*) Feature: the ngx\_google\_perftools\_module. \*) Bugfix: the ngx\_http\_perl\_module could be not built on 64-bit platforms; bug appeared in …

---

## [Proxy server configuration](https://www.ruby-forum.com/t/proxy-server-configuration/132707)

<div class="topic-metadata">

**Author:** [@just\_starting](https://www.ruby-forum.com/u/just_starting)\
**Replies:** 2\
**Last updated:** [March 23, 2008, 11:30pm UTC](https://www.ruby-forum.com/t/proxy-server-configuration/132707 "2008-03-23T23:30:35Z")

</div>

hi, Can someone specify how to configure nginx as proxy server for: apache http server running on port 8000 apache tomcat server running on port 8080 What I want as end result is: http://myip/ should point to the ro…

---

## [A patch for using postfix as smtp-backend with xclient extension](https://www.ruby-forum.com/t/a-patch-for-using-postfix-as-smtp-backend-with-xclient-extension/132697)

<div class="topic-metadata">

**Author:** [@Yingbo\_Qiu](https://www.ruby-forum.com/u/Yingbo_Qiu)\
**Replies:** 1\
**Last updated:** [March 23, 2008, 7:29pm UTC](https://www.ruby-forum.com/t/a-patch-for-using-postfix-as-smtp-backend-with-xclient-extension/132697 "2008-03-23T19:29:55Z")

</div>

Hi, Igor The XCLIENT command that nginx send to backend include “LOGIN=foobar” attribute. But postfix couldn’t recognise it and report “501 5.5.4 Bad XCLIENT attribute name: LOGIN” and close connection. I wrote this …

---

## [Redirecting to https](https://www.ruby-forum.com/t/redirecting-to-https/132674)

<div class="topic-metadata">

**Author:** [@Ian\_MSEvans](https://www.ruby-forum.com/u/Ian_MSEvans)\
**Replies:** 1\
**Last updated:** [March 23, 2008, 9:46am UTC](https://www.ruby-forum.com/t/redirecting-to-https/132674 "2008-03-23T09:46:50Z")

</div>

Okay, maybe I have a cold coming on…but I’ve got a couple of URLs I need to redirect to https and the examples I’ve seen don’t appear to be working: location /asecuredir { rewrite ^(.\*) https://www.example.com$1 r…

---

## [Nginx on OpenBSD](https://www.ruby-forum.com/t/nginx-on-openbsd/132548)

<div class="topic-metadata">

**Author:** [@Renaud\_Allard](https://www.ruby-forum.com/u/Renaud_Allard)\
**Replies:** 10\
**Last updated:** [March 22, 2008, 3:46pm UTC](https://www.ruby-forum.com/t/nginx-on-openbsd/132548 "2008-03-22T15:46:04Z")

</div>

Hello, When trying to compile nginx on OpenBSD (4.2 or 4.3 prerelease), I get the following error: In file included from src/os/unix/ngx\_posix\_config.h:74, from src/core/ngx\_config.h:37, from src/core/nginx.c:7: /u…

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

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