# Server

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

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

---

## [1.0.2 release candidates](https://www.ruby-forum.com/t/1-0-2-release-candidates/116925)

<div class="topic-metadata">

**Author:** [@evan](https://www.ruby-forum.com/u/evan)\
**Replies:** 7\
**Last updated:** [October 16, 2007, 1:30am UTC](https://www.ruby-forum.com/t/1-0-2-release-candidates/116925 "2007-10-16T01:30:41Z")

</div>

Hello Mongrels, Release candidates for Mongrel 1.0.2 and its dependencies are now available. Note that gems are now signed, so please add the Mongrel public certificate via: $ wget http://rubyforge.org/frs/download.…

---

## [POST with huge HTTP body](https://www.ruby-forum.com/t/post-with-huge-http-body/117262)

<div class="topic-metadata">

**Author:** [@danielb](https://www.ruby-forum.com/u/danielb)\
**Replies:** 2\
**Last updated:** [October 15, 2007, 9:33pm UTC](https://www.ruby-forum.com/t/post-with-huge-http-body/117262 "2007-10-15T21:33:40Z")

</div>

Hi, I found the following page describing how to stream data from the server to the client: http://api.rubyonrails.com/classes/ActionController/Streaming.html I want to do the opposite, streaming data from the client…

---

## [Re: POST with huge HTTP body](https://www.ruby-forum.com/t/re-post-with-huge-http-body/117279)

<div class="topic-metadata">

**Author:** [@sinkva](https://www.ruby-forum.com/u/sinkva)\
**Replies:** 0\
**Last updated:** [October 15, 2007, 4:02pm UTC](https://www.ruby-forum.com/t/re-post-with-huge-http-body/117279 "2007-10-15T16:02:28Z")

</div>

“… The standard way to use mongrel, with Rails or not, is to set up a few of them behind a reverse proxy like nginx or apache+mod\_proxy\_balancer. In those cases, the proxy will not forward the data to mongrel before …

---

## [Nginx-0.6.14](https://www.ruby-forum.com/t/nginx-0-6-14/117259)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 0\
**Last updated:** [October 15, 2007, 1:37pm UTC](https://www.ruby-forum.com/t/nginx-0-6-14/117259 "2007-10-15T13:37:09Z")

</div>

Changes with nginx 0.6.14 15 Oct 2007 \*) Change: now by default the "echo" SSI command uses entity encoding. \*) Feature: the "encoding" parameter in the "echo" SSI command. \*)…

---

## [Remote\_user and remote\_password for custom http authentication?](https://www.ruby-forum.com/t/remote-user-and-remote-password-for-custom-http-authentication/117172)

<div class="topic-metadata">

**Author:** [@Jed\_Schmidt](https://www.ruby-forum.com/u/Jed_Schmidt)\
**Replies:** 7\
**Last updated:** [October 15, 2007, 8:32am UTC](https://www.ruby-forum.com/t/remote-user-and-remote-password-for-custom-http-authentication/117172 "2007-10-15T08:32:13Z")

</div>

Hello, I hope everyone is having a nice weekend. Can anyone out there tell me whether it would be possible to access the remote user name and password ($user and $password in http://$user:$removed\_email\_address@domai…

---

## [Performance overhead when allocating many small buffers with the pool](https://www.ruby-forum.com/t/performance-overhead-when-allocating-many-small-buffers-with-the-pool/117209)

<div class="topic-metadata">

**Author:** [@Manlio\_P](https://www.ruby-forum.com/u/Manlio_P)\
**Replies:** 1\
**Last updated:** [October 14, 2007, 9:02pm UTC](https://www.ruby-forum.com/t/performance-overhead-when-allocating-many-small-buffers-with-the-pool/117209 "2007-10-14T21:02:51Z")

</div>

Hi. In my mod\_wsgi implementation (function wsgi\_build\_environment) I need to copy each of the HTTP header and wsgi params in Python objects. In the current implementation I just allocate a buffer, copy the content i…

---

## [Mod\_wsgi 0.0.3](https://www.ruby-forum.com/t/mod-wsgi-0-0-3/117180)

<div class="topic-metadata">

**Author:** [@Manlio\_P](https://www.ruby-forum.com/u/Manlio_P)\
**Replies:** 0\
**Last updated:** [October 14, 2007, 1:48pm UTC](https://www.ruby-forum.com/t/mod-wsgi-0-0-3/117180 "2007-10-14T13:48:50Z")

</div>

I’m pleased to annunce the release 0.0.3 of mod\_wsgi. mod\_wsgi is an implementation of the WSGI PEP (PEP 333 – Python Web Server Gateway Interface v1.0 | peps.python.org) for the Nginx HTTP server. The nginx mod\_wsgi…

---

## [Deciphering objects.log](https://www.ruby-forum.com/t/deciphering-objects-log/117088)

<div class="topic-metadata">

**Author:** [@carlos](https://www.ruby-forum.com/u/carlos)\
**Replies:** 5\
**Last updated:** [October 14, 2007, 2:48am UTC](https://www.ruby-forum.com/t/deciphering-objects-log/117088 "2007-10-14T02:48:27Z")

</div>

Howdy – I’ve been tracking down mem leaks (oh, the fun…), and I think there is a clue in objects.log. There are a few mentions of this file, but usually Zed saying “look at this file and it will help you”. Can anyone …

---

## [Connection reset errors](https://www.ruby-forum.com/t/connection-reset-errors/117086)

<div class="topic-metadata">

**Author:** [@adammontgomery](https://www.ruby-forum.com/u/adammontgomery)\
**Replies:** 5\
**Last updated:** [October 13, 2007, 9:10am UTC](https://www.ruby-forum.com/t/connection-reset-errors/117086 "2007-10-13T09:10:03Z")

</div>

Hello, I’m using nginx to proxy for both ruby on rails and php applications. Some of my users are reporting intermittant connection reset errors in their browsers. The behavior they describe consists of the browser fu…

---

## [Mongrel PID file permissions](https://www.ruby-forum.com/t/mongrel-pid-file-permissions/116469)

<div class="topic-metadata">

**Author:** [@fbeausoleil](https://www.ruby-forum.com/u/fbeausoleil)\
**Replies:** 2\
**Last updated:** [October 11, 2007, 7:54pm UTC](https://www.ruby-forum.com/t/mongrel-pid-file-permissions/116469 "2007-10-11T19:54:53Z")

</div>

Hi ! I’m using Mongrel 1.0.1 with --pid and --user/–group. The PID files are correctly owned by the user/group, but their permissions is 0666. Is that normal ? Shouldn’t it be something like 0664 ? Just curious to …

---

## [Monit reporting that pid changed](https://www.ruby-forum.com/t/monit-reporting-that-pid-changed/116794)

<div class="topic-metadata">

**Author:** [@Eire\_A](https://www.ruby-forum.com/u/Eire_A)\
**Replies:** 3\
**Last updated:** [October 10, 2007, 5:00pm UTC](https://www.ruby-forum.com/t/monit-reporting-that-pid-changed/116794 "2007-10-10T17:00:18Z")

</div>

Hi, I was wondering if this is normal or if it something i need to wonder about. I get Monit alerts that my mongrels PID files have changed. Changed Service MONGREL\_2 Date: Tue, 09 Oct 2007 14:19:38 +0000 A…

---

## [Fix for using memcache store in mongrel cluster](https://www.ruby-forum.com/t/fix-for-using-memcache-store-in-mongrel-cluster/116802)

<div class="topic-metadata">

**Author:** [@Kamil\_Kukura](https://www.ruby-forum.com/u/Kamil_Kukura)\
**Replies:** 0\
**Last updated:** [October 9, 2007, 10:41pm UTC](https://www.ruby-forum.com/t/fix-for-using-memcache-store-in-mongrel-cluster/116802 "2007-10-09T22:41:49Z")

</div>

Hi, I was having problem with disappearing sessions when storing them in memcache and when runnning as mongrel cluster in production environment. I’ve created a patch and it seems it’s now okay. A message to rails-cor…

---

## [Possible bug in output chains](https://www.ruby-forum.com/t/possible-bug-in-output-chains/116755)

<div class="topic-metadata">

**Author:** [@Manlio\_P](https://www.ruby-forum.com/u/Manlio_P)\
**Replies:** 2\
**Last updated:** [October 9, 2007, 12:46pm UTC](https://www.ruby-forum.com/t/possible-bug-in-output-chains/116755 "2007-10-09T12:46:57Z")

</div>

Hi. When doing some tests with mod\_wsgi I have found a possible problem with nginx output chains. I write two separate buffers, of size \<~ 1024 bytes, and a final ngx\_http\_send\_special(NGX\_HTTP\_LAST). The problem is…

---

## [Can't add timer in a module postconf init routine](https://www.ruby-forum.com/t/cant-add-timer-in-a-module-postconf-init-routine/116689)

<div class="topic-metadata">

**Author:** [@Brice\_F](https://www.ruby-forum.com/u/Brice_F)\
**Replies:** 3\
**Last updated:** [October 8, 2007, 11:00pm UTC](https://www.ruby-forum.com/t/cant-add-timer-in-a-module-postconf-init-routine/116689 "2007-10-08T23:00:06Z")

</div>

Hi, I tried to ngx\_add\_timer the postconfiguration init callback of a module, but it doesn’t work because ngx\_event\_timer\_init has not yet been called. Is it possible to call ngx\_event\_timer\_init before the configur…

---

## [POST to an html page](https://www.ruby-forum.com/t/post-to-an-html-page/116681)

<div class="topic-metadata">

**Author:** [@jonny](https://www.ruby-forum.com/u/jonny)\
**Replies:** 1\
**Last updated:** [October 8, 2007, 6:58pm UTC](https://www.ruby-forum.com/t/post-to-an-html-page/116681 "2007-10-08T18:58:02Z")

</div>

I’m trying to POST a form to an html page – there is no code ; i am just faking a form flow for a client nginx gives me a “405 Not Allowed” on the post request ; i can get the page fine is there a directive i can use…

---

## [Installing nginx on OS X](https://www.ruby-forum.com/t/installing-nginx-on-os-x/116528)

<div class="topic-metadata">

**Author:** [@dracos](https://www.ruby-forum.com/u/dracos)\
**Replies:** 2\
**Last updated:** [October 7, 2007, 8:42pm UTC](https://www.ruby-forum.com/t/installing-nginx-on-os-x/116528 "2007-10-07T20:42:53Z")

</div>

Hi, I’ve tried installing a couple versions of nginx on OS X. When I run the “make” command I see the following error. Any ideas how to fix this? Thank you, Peter src/http/modules/ngx\_http\_map\_module.c gcc -c -O -…

---

## [Re: multi threaded theoretically useful?](https://www.ruby-forum.com/t/re-multi-threaded-theoretically-useful/116455)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 2\
**Last updated:** [October 5, 2007, 7:11pm UTC](https://www.ruby-forum.com/t/re-multi-threaded-theoretically-useful/116455 "2007-10-05T19:11:22Z")

</div>

Thanks to all for your helpful answers on this question. It’s nice to belong to a mailing list that has smart users (not that others don’t, of course). So overall the answer to my question is that a multi-threaded ra…

---

## [Buffer chain and NGX\_AGAIN](https://www.ruby-forum.com/t/buffer-chain-and-ngx-again/116258)

<div class="topic-metadata">

**Author:** [@Manlio\_P](https://www.ruby-forum.com/u/Manlio_P)\
**Replies:** 2\
**Last updated:** [October 5, 2007, 2:16pm UTC](https://www.ruby-forum.com/t/buffer-chain-and-ngx-again/116258 "2007-10-05T14:16:23Z")

</div>

Hi. I have another question about buffer chains and NGX\_AGAIN. Suppose that ngx\_http\_output\_filter returns NGX\_AGAIN and I set the events to be notified when I can send further data. When my handler is called again, …

---

## [Possible bug with set-cookie](https://www.ruby-forum.com/t/possible-bug-with-set-cookie/116334)

<div class="topic-metadata">

**Author:** [@matteo-nodari](https://www.ruby-forum.com/u/matteo-nodari)\
**Replies:** 0\
**Last updated:** [October 4, 2007, 3:39pm UTC](https://www.ruby-forum.com/t/possible-bug-with-set-cookie/116334 "2007-10-04T15:39:36Z")

</div>

Hi, I have this script: \<?php setcookie('testcookie',str\_repeat('a',$\_REQUEST\['l'\]), (time()+(86400\*30))); ?\> If I execute it, with: http://$url/test.php?l=1799 it works. If I switch from 1799 to 1800, nginx stop s…

---

## [Add/del timer?](https://www.ruby-forum.com/t/add-del-timer/116262)

<div class="topic-metadata">

**Author:** [@Brice\_F](https://www.ruby-forum.com/u/Brice_F)\
**Replies:** 0\
**Last updated:** [October 3, 2007, 11:07pm UTC](https://www.ruby-forum.com/t/add-del-timer/116262 "2007-10-03T23:07:47Z")

</div>

Hi, Is there a possibility to setup a timer to expire after a timeout that calls a callback in an http nginx module ? I saw some timer related functions in ngx\_event\_timer.c but I’m not sure how to use it… Is the fo…

---

## [Mongrel using way more memory on production than staging. Any ideas why?](https://www.ruby-forum.com/t/mongrel-using-way-more-memory-on-production-than-staging-any-ideas-why/116093)

<div class="topic-metadata">

**Author:** [@cwt137](https://www.ruby-forum.com/u/cwt137)\
**Replies:** 23\
**Last updated:** [October 3, 2007, 10:59pm UTC](https://www.ruby-forum.com/t/mongrel-using-way-more-memory-on-production-than-staging-any-ideas-why/116093 "2007-10-03T22:59:23Z")

</div>

I’ve been trying to track down the culprit of erratic behaviour and crashes on my production server (which is split into a number of Xen instances), so set up a staging server so that I could really try to get to the …

---

## [Multiple message-header fields handling](https://www.ruby-forum.com/t/multiple-message-header-fields-handling/116144)

<div class="topic-metadata">

**Author:** [@Manlio\_P](https://www.ruby-forum.com/u/Manlio_P)\
**Replies:** 6\
**Last updated:** [October 3, 2007, 7:50pm UTC](https://www.ruby-forum.com/t/multiple-message-header-fields-handling/116144 "2007-10-03T19:50:47Z")

</div>

I have found a “problem” with multiple message-header fields handling in Nginx. The HTTP 1.1 protocol (section 4.2) says that: “”“Multiple message-header fields with the same field-name MAY be present in a message if…

---

## [How to log server\_name in access\_log](https://www.ruby-forum.com/t/how-to-log-server-name-in-access-log/116094)

<div class="topic-metadata">

**Author:** [@matteo-nodari](https://www.ruby-forum.com/u/matteo-nodari)\
**Replies:** 1\
**Last updated:** [October 2, 2007, 11:25am UTC](https://www.ruby-forum.com/t/how-to-log-server-name-in-access-log/116094 "2007-10-02T11:25:17Z")

</div>

Hi, I have a single access\_log for each vhost configured in nginx. I tried to find in web, google, newsgroup, and so on, but i’m not able to log, as first field of log row, the server\_name. Actually nginx logs as fir…

---

## [Redirect for Search Engines (googlebot et.al.)](https://www.ruby-forum.com/t/redirect-for-search-engines-googlebot-et-al/116082)

<div class="topic-metadata">

**Author:** [@Malte\_Sussdorff](https://www.ruby-forum.com/u/Malte_Sussdorff)\
**Replies:** 1\
**Last updated:** [October 2, 2007, 9:42am UTC](https://www.ruby-forum.com/t/redirect-for-search-engines-googlebot-et-al/116082 "2007-10-02T09:42:13Z")

</div>

I want to use a (slower with limited amount of threads and connections) backend server just for search engines which will not have an impact on the users of the site (as they are using a different upstream). Will som…

---

## [Error with Mongrel\_cluster](https://www.ruby-forum.com/t/error-with-mongrel-cluster/116044)

<div class="topic-metadata">

**Author:** [@bloc](https://www.ruby-forum.com/u/bloc)\
**Replies:** 9\
**Last updated:** [October 1, 2007, 11:08pm UTC](https://www.ruby-forum.com/t/error-with-mongrel-cluster/116044 "2007-10-01T23:08:36Z")

</div>

Hi Guys, IÂ¹m getting this error with mongrel\_cluster. I am able to start mongrel through mongrel\_rails start but the cluster is not working. Initially mongrel\_rails wouldnÂ¹t work but after I added $ORACLE\_HOME and …

---

## [Re: Error with Mongrel\_cluster](https://www.ruby-forum.com/t/re-error-with-mongrel-cluster/116055)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 0\
**Last updated:** [October 1, 2007, 11:00pm UTC](https://www.ruby-forum.com/t/re-error-with-mongrel-cluster/116055 "2007-10-01T23:00:19Z")

</div>

Here’s a link for some code that I once used to fight a somewhat similar problem. http://dev.rubyonrails.org/ticket/7452#comment:41

---

## [Getting started on win32 - without Rails](https://www.ruby-forum.com/t/getting-started-on-win32-without-rails/116003)

<div class="topic-metadata">

**Author:** [@Lars\_Eidnes](https://www.ruby-forum.com/u/Lars_Eidnes)\
**Replies:** 1\
**Last updated:** [October 1, 2007, 5:23pm UTC](https://www.ruby-forum.com/t/getting-started-on-win32-without-rails/116003 "2007-10-01T17:23:52Z")

</div>

Hi, I’m trying to get started developing my first ruby-powered web-app. I wont be using Rails for this, at least I don’t see any reason why I should. However, the “getting started” sections in the documentation only …

---

## [Ngx\_http\_get\_module\_loc\_conf not returning the right configuration (long)?](https://www.ruby-forum.com/t/ngx-http-get-module-loc-conf-not-returning-the-right-configuration-long/115983)

<div class="topic-metadata">

**Author:** [@Brice\_F](https://www.ruby-forum.com/u/Brice_F)\
**Replies:** 1\
**Last updated:** [October 1, 2007, 10:54am UTC](https://www.ruby-forum.com/t/ngx-http-get-module-loc-conf-not-returning-the-right-configuration-long/115983 "2007-10-01T10:54:46Z")

</div>

Hi, While debugging my upload progress hack module, I’m stumbling accross the issue that: lzcf = ngx\_http\_get\_module\_loc\_conf(r, ngx\_http\_uploadprogress\_module); called in an NGX\_HTTP\_POST\_READ\_PHASE handler doesn’t…

---

## [Troubles with http basic authentication](https://www.ruby-forum.com/t/troubles-with-http-basic-authentication/115807)

<div class="topic-metadata">

**Author:** [@matteo-nodari](https://www.ruby-forum.com/u/matteo-nodari)\
**Replies:** 1\
**Last updated:** [September 29, 2007, 7:25pm UTC](https://www.ruby-forum.com/t/troubles-with-http-basic-authentication/115807 "2007-09-29T19:25:42Z")

</div>

Hi, I’m trying to enable basic authentication for a location like this: location /admin { auth\_basic “Restricted”; auth\_basic\_user\_file /tmp/.trypass; index index.php5; allow 192.168.1.1; deny all; } When I…

---

## [Chunk encoded client body](https://www.ruby-forum.com/t/chunk-encoded-client-body/115585)

<div class="topic-metadata">

**Author:** [@Manlio\_P](https://www.ruby-forum.com/u/Manlio_P)\
**Replies:** 2\
**Last updated:** [September 28, 2007, 12:08pm UTC](https://www.ruby-forum.com/t/chunk-encoded-client-body/115585 "2007-09-28T12:08:18Z")

</div>

Hi. Does nginx supports chunk encoded client body? Thanks Manlio P.

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

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