# Mongrel

**URL:** https://www.ruby-forum.com/c/server/mongrel/22.md?page=6

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

---

## [X\_send\_file sends a 1 byte file](https://www.ruby-forum.com/t/x-send-file-sends-a-1-byte-file/140660)

<div class="topic-metadata">

**Author:** [@glsmyth](https://www.ruby-forum.com/u/glsmyth)\
**Replies:** 6\
**Last updated:** [June 24, 2008, 12:38pm UTC](https://www.ruby-forum.com/t/x-send-file-sends-a-1-byte-file/140660 "2008-06-24T12:38:55Z")

</div>

Hello, sorry if creating a dupe… I’m trying to download files to authenticated users in my app. I’ve set up x\_send\_file. All seems to be correct to me, however when I try to download any file, I get a 1-byte long fil…

---

## [Patched ruby seems to break mongrel?](https://www.ruby-forum.com/t/patched-ruby-seems-to-break-mongrel/141205)

<div class="topic-metadata">

**Author:** [@David\_Shettler](https://www.ruby-forum.com/u/David_Shettler)\
**Replies:** 5\
**Last updated:** [June 23, 2008, 9:39pm UTC](https://www.ruby-forum.com/t/patched-ruby-seems-to-break-mongrel/141205 "2008-06-23T21:39:12Z")

</div>

Hey all, patched ruby on my development and production environments to 1.8.6-p230 to address these new ruby vulnerabilities: Arbitrary code execution vulnerabilities mongrel began segfaulting after restarting. Then …

---

## [Mongrel Access log?](https://www.ruby-forum.com/t/mongrel-access-log/140617)

<div class="topic-metadata">

**Author:** [@epirsch](https://www.ruby-forum.com/u/epirsch)\
**Replies:** 0\
**Last updated:** [June 16, 2008, 8:58pm UTC](https://www.ruby-forum.com/t/mongrel-access-log/140617 "2008-06-16T20:58:49Z")

</div>

I see the module RequestLog::Access in the API but how do I use it/ turn on the log to see access log for mongrel? can someone help me out with it? Thanks Emmanuel

---

## [Geza Tendai/NB/BII is out of the office](https://www.ruby-forum.com/t/geza-tendai-nb-bii-is-out-of-the-office/140579)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [June 16, 2008, 1:21pm UTC](https://www.ruby-forum.com/t/geza-tendai-nb-bii-is-out-of-the-office/140579 "2008-06-16T13:21:49Z")

</div>

I will be out of the office starting 06/16/2008 and will not return until 06/28/2008. I will respond to your message when I return. The server made the following annotations This message contains information that…

---

## [Apache rewrites with mongrel](https://www.ruby-forum.com/t/apache-rewrites-with-mongrel/140571)

<div class="topic-metadata">

**Author:** [@der\_guido](https://www.ruby-forum.com/u/der_guido)\
**Replies:** 3\
**Last updated:** [June 16, 2008, 1:01pm UTC](https://www.ruby-forum.com/t/apache-rewrites-with-mongrel/140571 "2008-06-16T13:01:46Z")

</div>

IÂ´m knew to rewrites on apache in combination with mongrelcluster. ItÂ´s urgend for me, because the server has an loadaverage about 10 :-((((( Ok so IÂ´m using 3 mongrel-server on an mongrelcluster. The Loadbalancer …

---

## [Mongrel won't start ... mongrel\_rails (MissingSourceFile)](https://www.ruby-forum.com/t/mongrel-wont-start-mongrel-rails-missingsourcefile/140318)

<div class="topic-metadata">

**Author:** [@david](https://www.ruby-forum.com/u/david)\
**Replies:** 2\
**Last updated:** [June 13, 2008, 11:43am UTC](https://www.ruby-forum.com/t/mongrel-wont-start-mongrel-rails-missingsourcefile/140318 "2008-06-13T11:43:47Z")

</div>

Hi All, I’m a newbie and I’m soooo confused at the moment! Here’s my setup: I’ve installed Ruby 1.8 on an Ubuntu 7.10 platform. I used apt to install that. I downloaded rubygems\_1.1.1 and installed that (tar -x…

---

## [Re: Why not ignore stale PID files?](https://www.ruby-forum.com/t/re-why-not-ignore-stale-pid-files/140116)

<div class="topic-metadata">

**Author:** [@foobarwidget](https://www.ruby-forum.com/u/foobarwidget)\
**Replies:** 6\
**Last updated:** [June 12, 2008, 1:47am UTC](https://www.ruby-forum.com/t/re-why-not-ignore-stale-pid-files/140116 "2008-06-12T01:47:33Z")

</div>

Zed A. Shaw wrote: That would be the ideal situation, but Ruby doesn’t have good enough process management APIs to do this portably. Erik Hetzner: … but not the edge case where a process is running, with the same…

---

## [Mongrel multipart HTTP response (not request)](https://www.ruby-forum.com/t/mongrel-multipart-http-response-not-request/140197)

<div class="topic-metadata">

**Author:** [@epirsch](https://www.ruby-forum.com/u/epirsch)\
**Replies:** 0\
**Last updated:** [June 11, 2008, 8:19pm UTC](https://www.ruby-forum.com/t/mongrel-multipart-http-response-not-request/140197 "2008-06-11T20:19:51Z")

</div>

Hi, Is this possible to send a Multipart response on Mongrel ? How would I do that in the handler? Thanks Emmanuel

---

## [Mongrel install crash on win32](https://www.ruby-forum.com/t/mongrel-install-crash-on-win32/121379)

<div class="topic-metadata">

**Author:** [@jesperronn](https://www.ruby-forum.com/u/jesperronn)\
**Replies:** 13\
**Last updated:** [June 8, 2008, 12:45pm UTC](https://www.ruby-forum.com/t/mongrel-install-crash-on-win32/121379 "2008-06-08T12:45:47Z")

</div>

Something suddenly went wrong in my ruby install. When installing Mongrel on my Windows XP laptop, it incorrectly tries to build it as a native extension. I don’t even get the selection where I can choose to install a…

---

## [Mongrel access logs?](https://www.ruby-forum.com/t/mongrel-access-logs/139794)

<div class="topic-metadata">

**Author:** [@epirsch](https://www.ruby-forum.com/u/epirsch)\
**Replies:** 0\
**Last updated:** [June 7, 2008, 3:11am UTC](https://www.ruby-forum.com/t/mongrel-access-logs/139794 "2008-06-07T03:11:10Z")

</div>

Hi How do I turn on/off the mongrel access logs? I have not seen any docs and the API does not describes it very well… Thanks Emmanuel

---

## [Package needed: fastthread-1.0.2](https://www.ruby-forum.com/t/package-needed-fastthread-1-0-2/139768)

<div class="topic-metadata">

**Author:** [@mental](https://www.ruby-forum.com/u/mental)\
**Replies:** 1\
**Last updated:** [June 7, 2008, 12:51am UTC](https://www.ruby-forum.com/t/package-needed-fastthread-1-0-2/139768 "2008-06-07T00:51:48Z")

</div>

I’ve just committed the makings of fastthread-1.0.2 to SVN, fixing a couple long-standing bugs in 1.0.1: merged the fix from ruby\_1\_8 to avoid rb\_bugging during exit with waiting threads SizedQueue#enq is now def…

---

## [Why not ignore stale PID files?](https://www.ruby-forum.com/t/why-not-ignore-stale-pid-files/139691)

<div class="topic-metadata">

**Author:** [@Gunnar\_W](https://www.ruby-forum.com/u/Gunnar_W)\
**Replies:** 7\
**Last updated:** [June 6, 2008, 11:41pm UTC](https://www.ruby-forum.com/t/why-not-ignore-stale-pid-files/139691 "2008-06-06T23:41:18Z")

</div>

Hi, I have an application which is dying horrible deaths (i.e. segmentation faults) in mid-flight, in production… And of course, I should fix it. But while I find and fix the bugs, I found something I think should be…

---

## [Logging?](https://www.ruby-forum.com/t/logging/139686)

<div class="topic-metadata">

**Author:** [@epirsch](https://www.ruby-forum.com/u/epirsch)\
**Replies:** 0\
**Last updated:** [June 6, 2008, 2:01am UTC](https://www.ruby-forum.com/t/logging/139686 "2008-06-06T02:01:35Z")

</div>

Is there a simple way to turn on./off logging ? or do I have to build my own? Trying to see all the request coming in (like access log in apache) thanks Emmanuel

---

## [Static files and mongrel](https://www.ruby-forum.com/t/static-files-and-mongrel/139673)

<div class="topic-metadata">

**Author:** [@epirsch](https://www.ruby-forum.com/u/epirsch)\
**Replies:** 2\
**Last updated:** [June 5, 2008, 11:53pm UTC](https://www.ruby-forum.com/t/static-files-and-mongrel/139673 "2008-06-05T23:53:52Z")

</div>

Hi how does mongrel (without rails or merb) handles Static files? Do I have to create a handler for static file handling? Thanks Emmanuel

---

## [Cluster shutdown on web farm when using clustered filesystem](https://www.ruby-forum.com/t/cluster-shutdown-on-web-farm-when-using-clustered-filesystem/139666)

<div class="topic-metadata">

**Author:** [@fjlj](https://www.ruby-forum.com/u/fjlj)\
**Replies:** 0\
**Last updated:** [June 5, 2008, 10:14pm UTC](https://www.ruby-forum.com/t/cluster-shutdown-on-web-farm-when-using-clustered-filesystem/139666 "2008-06-05T22:14:20Z")

</div>

Hi, I have a number of servers running mongrel cluster all of whom feed off of a shared filesystem (OCFS2). Each cluster has its own mongrel\_cluster\_web2.yml file with distinct PID and Log file names. In theory the…

---

## [Passing environment variables to mongrel](https://www.ruby-forum.com/t/passing-environment-variables-to-mongrel/139356)

<div class="topic-metadata">

**Author:** [@jenny\_w](https://www.ruby-forum.com/u/jenny_w)\
**Replies:** 2\
**Last updated:** [June 3, 2008, 4:10pm UTC](https://www.ruby-forum.com/t/passing-environment-variables-to-mongrel/139356 "2008-06-03T16:10:50Z")

</div>

The Rails app I’m working on requires an environment variable to be set. I thought I could do this in my cap deploy script. Unfortunately, it seems that the Mongrel processes that are started up by Mongrel Cluster hav…

---

## [Error: Mongrel timed out this thread: too many open files](https://www.ruby-forum.com/t/error-mongrel-timed-out-this-thread-too-many-open-files/139011)

<div class="topic-metadata">

**Author:** [@emmett](https://www.ruby-forum.com/u/emmett)\
**Replies:** 7\
**Last updated:** [June 3, 2008, 8:15am UTC](https://www.ruby-forum.com/t/error-mongrel-timed-out-this-thread-too-many-open-files/139011 "2008-06-03T08:15:38Z")

</div>

I just switched to Mongrel, and it’s been working much better than my previous lighttpd/fastcgi setup. So thanks for the awesomeness. My current problem: once or twice an hour, I get following error in production Mon…

---

## [Mongrel error since updating to OSX 10.5.3](https://www.ruby-forum.com/t/mongrel-error-since-updating-to-osx-10-5-3/139085)

<div class="topic-metadata">

**Author:** [@Matt\_Daw](https://www.ruby-forum.com/u/Matt_Daw)\
**Replies:** 3\
**Last updated:** [June 2, 2008, 10:37pm UTC](https://www.ruby-forum.com/t/mongrel-error-since-updating-to-osx-10-5-3/139085 "2008-06-02T22:37:09Z")

</div>

Howdy, I’m getting an error message when trying to run one of my rails apps, which seems to have started after updating to 10.5.3. mattdaw-2:v1.5\_patch mdaw$ mongrel\_rails start \*\* Starting Mongrel listening at 0.0.0.…

---

## [How to disable mongrel logs](https://www.ruby-forum.com/t/how-to-disable-mongrel-logs/139182)

<div class="topic-metadata">

**Author:** [@pederbl](https://www.ruby-forum.com/u/pederbl)\
**Replies:** 0\
**Last updated:** [June 1, 2008, 10:09am UTC](https://www.ruby-forum.com/t/how-to-disable-mongrel-logs/139182 "2008-06-01T10:09:03Z")

</div>

How do I disable mongrel’s logging?

---

## [Mongrel handler and root\_handler](https://www.ruby-forum.com/t/mongrel-handler-and-root-handler/139126)

<div class="topic-metadata">

**Author:** [@epirsch](https://www.ruby-forum.com/u/epirsch)\
**Replies:** 0\
**Last updated:** [May 31, 2008, 1:40am UTC](https://www.ruby-forum.com/t/mongrel-handler-and-root-handler/139126 "2008-05-31T01:40:30Z")

</div>

Hi I am writing my own handler and seeing some strance behavior. Best is describing by the following code say I create mongrel server (see at the end of the email) and have one handler for the root (so shoudl handle …

---

## [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…

---

## [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…

---

## [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…

---

## [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 …

---

## [God - start command exited with non-zero code = 1](https://www.ruby-forum.com/t/god-start-command-exited-with-non-zero-code-1/138067)

<div class="topic-metadata">

**Author:** [@arfon](https://www.ruby-forum.com/u/arfon)\
**Replies:** 2\
**Last updated:** [May 20, 2008, 10:41am UTC](https://www.ruby-forum.com/t/god-start-command-exited-with-non-zero-code-1/138067 "2008-05-20T10:41:02Z")

</div>

Hi, I’m trying to use god to monitor my mongrels. When they are running everything looks OK but when a mongrel process dies and god tries to restart it I get the following error: command exited with non-zero code = 1 …

---

## [Some architecture questions for my mongrelian friends](https://www.ruby-forum.com/t/some-architecture-questions-for-my-mongrelian-friends/137856)

<div class="topic-metadata">

**Author:** [@sjmadsen](https://www.ruby-forum.com/u/sjmadsen)\
**Replies:** 6\
**Last updated:** [May 18, 2008, 5:15pm UTC](https://www.ruby-forum.com/t/some-architecture-questions-for-my-mongrelian-friends/137856 "2008-05-18T17:15:53Z")

</div>

Hey, I’m working on a project, and mongrel may be part of the stack, but I’ve got some more general questions and ideas I’m hoping to run by this list. The people on this list have a broader knowledgebase and more ex…

---

## [Mongrel.conf redirects](https://www.ruby-forum.com/t/mongrel-conf-redirects/137768)

<div class="topic-metadata">

**Author:** [@krypt](https://www.ruby-forum.com/u/krypt)\
**Replies:** 0\
**Last updated:** [May 16, 2008, 4:50am UTC](https://www.ruby-forum.com/t/mongrel-conf-redirects/137768 "2008-05-16T04:50:15Z")

</div>

So regex is apparently supported in mongrel.conf redirects, but I can’t get it to work. Anyone have an example of a regex redirect I can see?

---

## [Expires header for .css](https://www.ruby-forum.com/t/expires-header-for-css/136864)

<div class="topic-metadata">

**Author:** [@scottd72](https://www.ruby-forum.com/u/scottd72)\
**Replies:** 3\
**Last updated:** [May 6, 2008, 11:50pm UTC](https://www.ruby-forum.com/t/expires-header-for-css/136864 "2008-05-06T23:50:51Z")

</div>

I’m using mongrel as my http server. I was using yslow to evaluate the performance of my web site and noticed I was downloading the .css file on every request??? I use one .css file for the whole site and I though I …

---

## [Mongrel\_upload\_progess\_bar - where are my files?](https://www.ruby-forum.com/t/mongrel-upload-progess-bar-where-are-my-files/136731)

<div class="topic-metadata">

**Author:** [@jawosis](https://www.ruby-forum.com/u/jawosis)\
**Replies:** 0\
**Last updated:** [May 5, 2008, 10:57pm UTC](https://www.ruby-forum.com/t/mongrel-upload-progess-bar-where-are-my-files/136731 "2008-05-05T22:57:24Z")

</div>

I just configured mongrel\_upload\_progess\_bar following this doc:

---

## [Mongrel\_upload\_progress\_bar - where are my files?](https://www.ruby-forum.com/t/mongrel-upload-progress-bar-where-are-my-files/136730)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [May 5, 2008, 10:34pm UTC](https://www.ruby-forum.com/t/mongrel-upload-progress-bar-where-are-my-files/136730 "2008-05-05T22:34:15Z")

</div>

I just configured mongrel\_upload\_progess\_bar following this doc:

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

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