# Server

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

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

---

## [No response](https://www.ruby-forum.com/t/no-response/179450)

<div class="topic-metadata">

**Author:** [@gaosboy](https://www.ruby-forum.com/u/gaosboy)\
**Replies:** 0\
**Last updated:** [November 25, 2009, 9:46am UTC](https://www.ruby-forum.com/t/no-response/179450 "2009-11-25T09:46:53Z")

</div>

I wrote a module. Receive a post request, and the request body is a big text with size of hundreds of KBs. And get the whole body once. Send the big text to a FS-Server through a socket connection. Return a Json text…

---

## [Is it possible to deny requests automatically from all ips that request bad malformed requests 400](https://www.ruby-forum.com/t/is-it-possible-to-deny-requests-automatically-from-all-ips-that-request-bad-malformed-requests-400/179437)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [November 25, 2009, 12:08am UTC](https://www.ruby-forum.com/t/is-it-possible-to-deny-requests-automatically-from-all-ips-that-request-bad-malformed-requests-400/179437 "2009-11-25T00:08:04Z")

</div>

is it possible to deny requests automatically from all ips that request bad malformed requests 400 http://pastie.org/713666

---

## [Tuning up Nginx on Centos](https://www.ruby-forum.com/t/tuning-up-nginx-on-centos/179434)

<div class="topic-metadata">

**Author:** [@jcartney](https://www.ruby-forum.com/u/jcartney)\
**Replies:** 0\
**Last updated:** [November 24, 2009, 8:41pm UTC](https://www.ruby-forum.com/t/tuning-up-nginx-on-centos/179434 "2009-11-24T20:41:26Z")

</div>

Hello, I kindly ask all nginx experts for some advice with my situation. I have following hardware setup: 2x Intel Quad Core Xeon 2.66Ghz 8G RAM 8x 2TB WD SATAII in RAID6 (11TB total) 1 Gbit Uplink CentOS 5.2 I a…

---

## [An error occurred while sending mail (530 5.7.0 Must issue a STARTTLS command first. 15sm1058080bwz](https://www.ruby-forum.com/t/an-error-occurred-while-sending-mail-530-5-7-0-must-issue-a-starttls-command-first-15sm1058080bwz/179361)

<div class="topic-metadata">

**Author:** [@antonaylward](https://www.ruby-forum.com/u/antonaylward)\
**Replies:** 2\
**Last updated:** [November 23, 2009, 4:42pm UTC](https://www.ruby-forum.com/t/an-error-occurred-while-sending-mail-530-5-7-0-must-issue-a-starttls-command-first-15sm1058080bwz/179361 "2009-11-23T16:42:15Z")

</div>

I get an error after configured everything as in this tutorial: My email.yml: Outgoing email settings meglio: delivery\_method: :smtp smtp\_settings: tls: true address: “smtp.gmail.com” port: ‘587’ domain: “smtp.…

---

## [Nginx upload progress module v0.7](https://www.ruby-forum.com/t/nginx-upload-progress-module-v0-7/179331)

<div class="topic-metadata">

**Author:** [@Brice\_F](https://www.ruby-forum.com/u/Brice_F)\
**Replies:** 0\
**Last updated:** [November 22, 2009, 12:05pm UTC](https://www.ruby-forum.com/t/nginx-upload-progress-module-v0-7/179331 "2009-11-22T12:05:11Z")

</div>

Hi, I’m proud to announce the availability of the version 0.7 of the nginx\_upload\_progress\_module. This version is now stable to be used in production. The release is available in the nginx wiki page or directly from…

---

## [Build error - nginx 0.8.27](https://www.ruby-forum.com/t/build-error-nginx-0-8-27/179323)

<div class="topic-metadata">

**Author:** [@joviyach](https://www.ruby-forum.com/u/joviyach)\
**Replies:** 0\
**Last updated:** [November 22, 2009, 5:27am UTC](https://www.ruby-forum.com/t/build-error-nginx-0-8-27/179323 "2009-11-22T05:27:51Z")

</div>

OS is Linux 2.6.18 x86\_64 ./configure command: ./configure --pid-path=/usr/local/nginx/logs/nginx.pid –sbin-path=/usr/local/sbin/nginx --without-http\_rewrite\_module –without-http\_charset\_module --without-http\_gzip\_mo…

---

## [Parallel subrequests for multi-source long polling?](https://www.ruby-forum.com/t/parallel-subrequests-for-multi-source-long-polling/179133)

<div class="topic-metadata">

**Author:** [@shaun](https://www.ruby-forum.com/u/shaun)\
**Replies:** 18\
**Last updated:** [November 22, 2009, 4:11am UTC](https://www.ruby-forum.com/t/parallel-subrequests-for-multi-source-long-polling/179133 "2009-11-22T04:11:09Z")

</div>

Here’s a description of what I’m hoping to accomplish: A request comes in and, based on the content of the GET arguments or POST data, one or more backends will be selected. The request (with a bit of modification) w…

---

## [Using mongrel\_rails: Can't install Redmine as win2003 service](https://www.ruby-forum.com/t/using-mongrel-rails-cant-install-redmine-as-win2003-service/179316)

<div class="topic-metadata">

**Author:** [@antonaylward](https://www.ruby-forum.com/u/antonaylward)\
**Replies:** 4\
**Last updated:** [November 22, 2009, 2:29am UTC](https://www.ruby-forum.com/t/using-mongrel-rails-cant-install-redmine-as-win2003-service/179316 "2009-11-22T02:29:18Z")

</div>

Hello everyone. After stugging 3+ hours installing redmine I got success but still can’t install redmine as service (windows 2003). So here is my problem. I successfully installed redmine and mapped it to mysql, crea…

---

## [Nginx high i/o](https://www.ruby-forum.com/t/nginx-high-i-o/179280)

<div class="topic-metadata">

**Author:** [@Stefanita\_Rares\_Dum](https://www.ruby-forum.com/u/Stefanita_Rares_Dum)\
**Replies:** 10\
**Last updated:** [November 22, 2009, 2:08am UTC](https://www.ruby-forum.com/t/nginx-high-i-o/179280 "2009-11-22T02:08:49Z")

</div>

hi guys, i have posted a question a while ago, and now i am coming back once more. i have now a dual quad core xeon system, running freebsd 7.2 latest patch level, 64 bit, and 16 gb ram. using the latest nginx-devel. …

---

## [Nginx as Apache proxy for static content](https://www.ruby-forum.com/t/nginx-as-apache-proxy-for-static-content/179253)

<div class="topic-metadata">

**Author:** [@Genko\_P](https://www.ruby-forum.com/u/Genko_P)\
**Replies:** 1\
**Last updated:** [November 21, 2009, 11:00pm UTC](https://www.ruby-forum.com/t/nginx-as-apache-proxy-for-static-content/179253 "2009-11-21T23:00:21Z")

</div>

Hello, I installed Nginx. Set up as a server for static content and a dynamic content to be redirected to a Apache server behind. Everything works fine, server load decreased. I began to serving three times more requ…

---

## [Setuid(500) failed (11: Resource temporarily unavailable](https://www.ruby-forum.com/t/setuid-500-failed-11-resource-temporarily-unavailable/179303)

<div class="topic-metadata">

**Author:** [@kevin](https://www.ruby-forum.com/u/kevin)\
**Replies:** 4\
**Last updated:** [November 21, 2009, 5:47pm UTC](https://www.ruby-forum.com/t/setuid-500-failed-11-resource-temporarily-unavailable/179303 "2009-11-21T17:47:16Z")

</div>

hi guys, when i restart nginx doesnt start up and it gives the followign error: setuid(500) failed (11: Resource temporarily unavailable how to fix this problem?

---

## [Access log - nginx 7.61](https://www.ruby-forum.com/t/access-log-nginx-7-61/179286)

<div class="topic-metadata">

**Author:** [@vburshteyn](https://www.ruby-forum.com/u/vburshteyn)\
**Replies:** 3\
**Last updated:** [November 21, 2009, 11:35am UTC](https://www.ruby-forum.com/t/access-log-nginx-7-61/179286 "2009-11-21T11:35:38Z")

</div>

Hi, Thanks in advance. I am running nginx 7.61 I went through all the config files and delete all the access log entries. Yet every time i restart nginx it creates a new /usr/local/nginx/logs/access.log file. Any …

---

## [Problems with mongrel\_service and used account](https://www.ruby-forum.com/t/problems-with-mongrel-service-and-used-account/179005)

<div class="topic-metadata">

**Author:** [@uberalles](https://www.ruby-forum.com/u/uberalles)\
**Replies:** 2\
**Last updated:** [November 21, 2009, 10:25am UTC](https://www.ruby-forum.com/t/problems-with-mongrel-service-and-used-account/179005 "2009-11-21T10:25:59Z")

</div>

Hi everybody, I try to use in a rails application that is installed with mongrel\_service on windows the win32ole API to access Outlook appointments. This works well when started from the command line, but does not wo…

---

## [Upstream prematurely closed connection while reading response header from upstream,](https://www.ruby-forum.com/t/upstream-prematurely-closed-connection-while-reading-response-header-from-upstream/179282)

<div class="topic-metadata">

**Author:** [@kevin](https://www.ruby-forum.com/u/kevin)\
**Replies:** 2\
**Last updated:** [November 21, 2009, 2:23am UTC](https://www.ruby-forum.com/t/upstream-prematurely-closed-connection-while-reading-response-header-from-upstream/179282 "2009-11-21T02:23:50Z")

</div>

i get this error on nginx log periodically: 2009/11/20 16:37:15 \[error\] 65325#0: \*100877 upstream prematurely closed connection while reading response header from upstream, client: 69.63.178.251, server: XX.com, reque…

---

## [VU#120541/CVE-2009-3555 and IMAPS/POPS with nginx](https://www.ruby-forum.com/t/vu-120541-cve-2009-3555-and-imaps-pops-with-nginx/179276)

<div class="topic-metadata">

**Author:** [@Quanah\_Gibson-Mount](https://www.ruby-forum.com/u/Quanah_Gibson-Mount)\
**Replies:** 6\
**Last updated:** [November 21, 2009, 2:20am UTC](https://www.ruby-forum.com/t/vu-120541-cve-2009-3555-and-imaps-pops-with-nginx/179276 "2009-11-21T02:20:19Z")

</div>

I’ve patched nginx, and tested https, POPS, and IMAPS. https fails correctly: R RENEGOTIATING 3915:error:1409E0E5:SSL routines:SSL3\_WRITE\_BYTES:ssl handshake failure:s3\_pkt.c:529: However, POPS and IMAPS do not: …

---

## [Limit\_rate\_after as variable](https://www.ruby-forum.com/t/limit-rate-after-as-variable/179283)

<div class="topic-metadata">

**Author:** [@noise98](https://www.ruby-forum.com/u/noise98)\
**Replies:** 1\
**Last updated:** [November 21, 2009, 2:16am UTC](https://www.ruby-forum.com/t/limit-rate-after-as-variable/179283 "2009-11-21T02:16:13Z")

</div>

Would changing limit\_rate\_after as variable in config be a problem ? I need to tell nginx to set the limit\_rate\_after differently base on my video file quality. Posted at Nginx Forum:

---

## [How to receive only one summary email every day?](https://www.ruby-forum.com/t/how-to-receive-only-one-summary-email-every-day/179284)

<div class="topic-metadata">

**Author:** [@xrfang](https://www.ruby-forum.com/u/xrfang)\
**Replies:** 0\
**Last updated:** [November 21, 2009, 1:51am UTC](https://www.ruby-forum.com/t/how-to-receive-only-one-summary-email-every-day/179284 "2009-11-21T01:51:03Z")

</div>

The traffic of this list is a bit high for me. How can I receive only a list of new topics once every day? Thanks Posted at Nginx Forum:

---

## [PHP-FPM page created on Facebook - for anyone who is interested](https://www.ruby-forum.com/t/php-fpm-page-created-on-facebook-for-anyone-who-is-interested/179281)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 0\
**Last updated:** [November 21, 2009, 1:01am UTC](https://www.ruby-forum.com/t/php-fpm-page-created-on-facebook-for-anyone-who-is-interested/179281 "2009-11-21T01:01:18Z")

</div>

For anyone who wants to become a fan, feel free. At some point we might be able to use this for announcements and such. Email me off the list for any questions or ideas etc.

---

## [Require SSL for specific URLS](https://www.ruby-forum.com/t/require-ssl-for-specific-urls/179274)

<div class="topic-metadata">

**Author:** [@jorgelo](https://www.ruby-forum.com/u/jorgelo)\
**Replies:** 1\
**Last updated:** [November 20, 2009, 9:54pm UTC](https://www.ruby-forum.com/t/require-ssl-for-specific-urls/179274 "2009-11-20T21:54:02Z")

</div>

I’m wondering how I would go about creating a rule like this in NGINX. I want certain paths to require HTTPS, and redirect to https:// if the current schema is not https. Now, to make it even better, I’m wondering if …

---

## [Nginx Browser Module Troubleshooting](https://www.ruby-forum.com/t/nginx-browser-module-troubleshooting/179273)

<div class="topic-metadata">

**Author:** [@nwp](https://www.ruby-forum.com/u/nwp)\
**Replies:** 0\
**Last updated:** [November 20, 2009, 9:44pm UTC](https://www.ruby-forum.com/t/nginx-browser-module-troubleshooting/179273 "2009-11-20T21:44:40Z")

</div>

I’m sure I’m missing something simple here but I’m using an Nginx browser detection routine (copied from browsers.conf · GitHub) but it doesn’t seem to be working at all. I have tested by changing the script to make m…

---

## [Log response header value](https://www.ruby-forum.com/t/log-response-header-value/179251)

<div class="topic-metadata">

**Author:** [@vlado](https://www.ruby-forum.com/u/vlado)\
**Replies:** 1\
**Last updated:** [November 20, 2009, 2:25pm UTC](https://www.ruby-forum.com/t/log-response-header-value/179251 "2009-11-20T14:25:41Z")

</div>

hi, is it possible to log a response header in the accesslog ? Posted at Nginx Forum:

---

## [Nginx hangs for any reason](https://www.ruby-forum.com/t/nginx-hangs-for-any-reason/179244)

<div class="topic-metadata">

**Author:** [@elvis00](https://www.ruby-forum.com/u/elvis00)\
**Replies:** 0\
**Last updated:** [November 20, 2009, 11:33am UTC](https://www.ruby-forum.com/t/nginx-hangs-for-any-reason/179244 "2009-11-20T11:33:03Z")

</div>

Hi, we are running Zimbra 5.0.15 as a mailservice here and have problems with the stbillity of the http(s)/imap(s)/pop(s) proxies. We see the nginx workers on the boxes using after a while 100% CPU and if all workers…

---

## [HTTP 404 on memcache misses](https://www.ruby-forum.com/t/http-404-on-memcache-misses/179199)

<div class="topic-metadata">

**Author:** [@Vicente\_A](https://www.ruby-forum.com/u/Vicente_A)\
**Replies:** 2\
**Last updated:** [November 20, 2009, 8:57am UTC](https://www.ruby-forum.com/t/http-404-on-memcache-misses/179199 "2009-11-20T08:57:57Z")

</div>

Hi nginx + memcached in front of a tomcat farm, config looks like: location ~\* ^/bla/bla.\*$ { set $memcached\_key $uri; if ( $uri ~ .\*/$ ) { set $index index.html; …

---

## [Limit\_conn/limit\_req specific location + php](https://www.ruby-forum.com/t/limit-conn-limit-req-specific-location-php/179221)

<div class="topic-metadata">

**Author:** [@GerMalaz](https://www.ruby-forum.com/u/GerMalaz)\
**Replies:** 0\
**Last updated:** [November 19, 2009, 10:21pm UTC](https://www.ruby-forum.com/t/limit-conn-limit-req-specific-location-php/179221 "2009-11-19T22:21:46Z")

</div>

Hello! I have to limit conns in an specific location of the website. Aditionally, in this location are php files. There is a location ~ .php$ section, but that can’t be limited globally. There is a location /speci…

---

## [Upgrade from 7.63 to 7.64 fails](https://www.ruby-forum.com/t/upgrade-from-7-63-to-7-64-fails/179175)

<div class="topic-metadata">

**Author:** [@johnt519](https://www.ruby-forum.com/u/johnt519)\
**Replies:** 5\
**Last updated:** [November 19, 2009, 5:12pm UTC](https://www.ruby-forum.com/t/upgrade-from-7-63-to-7-64-fails/179175 "2009-11-19T17:12:06Z")

</div>

All previous updates worked fine and now i get following error on make install: make\[1\]: Entering directory /usr/local/src/nginx-0.7.64' test -d '/usr/local/nginx' || mkdir -p '/usr/local/nginx' test -d '/usr/local' ||…

---

## [Proxy and keepalives?](https://www.ruby-forum.com/t/proxy-and-keepalives/179114)

<div class="topic-metadata">

**Author:** [@AkinsS\_Brian](https://www.ruby-forum.com/u/AkinsS_Brian)\
**Replies:** 5\
**Last updated:** [November 19, 2009, 3:05pm UTC](https://www.ruby-forum.com/t/proxy-and-keepalives/179114 "2009-11-19T15:05:39Z")

</div>

A newbie question: Does nginx use keepalives to upstream servers when using proxy? It does not appear to. I found the module for memcache and keepalives, which increased that performance allot.

---

## [Memcache question?](https://www.ruby-forum.com/t/memcache-question/179192)

<div class="topic-metadata">

**Author:** [@wangbin579](https://www.ruby-forum.com/u/wangbin579)\
**Replies:** 1\
**Last updated:** [November 19, 2009, 10:38am UTC](https://www.ruby-forum.com/t/memcache-question/179192 "2009-11-19T10:38:10Z")

</div>

It seems that the server does not perform the active close normally in the memcache environment. If it is so,why ? Posted at Nginx Forum:

---

## [Nginx and Set-Cookie](https://www.ruby-forum.com/t/nginx-and-set-cookie/179112)

<div class="topic-metadata">

**Author:** [@LSS](https://www.ruby-forum.com/u/LSS)\
**Replies:** 4\
**Last updated:** [November 19, 2009, 10:25am UTC](https://www.ruby-forum.com/t/nginx-and-set-cookie/179112 "2009-11-19T10:25:18Z")

</div>

My FastCGI process sends cookies, but they are not being sent to the browser. Why does nginx not send the cookie header? Nginx 0.7.63

---

## [Redirect based on header value](https://www.ruby-forum.com/t/redirect-based-on-header-value/179139)

<div class="topic-metadata">

**Author:** [@zestriddle](https://www.ruby-forum.com/u/zestriddle)\
**Replies:** 3\
**Last updated:** [November 19, 2009, 10:05am UTC](https://www.ruby-forum.com/t/redirect-based-on-header-value/179139 "2009-11-19T10:05:58Z")

</div>

Let assume that server called n1 is reverse proxy (SSL) for http server s1. Client c1 connects to n1 using given URL https://n1/index.html and in the end reads web page from /var/www/index.html on s1. What I want to d…

---

## [CPS-chained subrequests with I/O interceptions no longer work in nginx 0.8.21 (Was Re: Custom event](https://www.ruby-forum.com/t/cps-chained-subrequests-with-i-o-interceptions-no-longer-work-in-nginx-0-8-21-was-re-custom-event/177970)

<div class="topic-metadata">

**Author:** [@agentzh](https://www.ruby-forum.com/u/agentzh)\
**Replies:** 11\
**Last updated:** [November 19, 2009, 5:24am UTC](https://www.ruby-forum.com/t/cps-chained-subrequests-with-i-o-interceptions-no-longer-work-in-nginx-0-8-21-was-re-custom-event/177970 "2009-11-19T05:24:28Z")

</div>

On Tue, Oct 27, 2009 at 5:41 PM, agentzh removed\_email\_address@domain.invalid wrote: Sorry, the failures should be rephrased a bit: “All the regression tests for my “echo” module’s echo\_sleep directive that is used i…

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

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