Re: [Mongrel] Mongrel crashes - bad doggie

2006-08-24 Thread Kaspar Schiess
Try out the latest pre-release to see if you still have the lock-ups: sudo gem install mongrel --source=http://mongrel.rubyforge.org/releases/ Now I get /usr/lib/ruby/1.8/erb.rb:781: [BUG] Segmentation fault ruby 1.8.4 (2005-12-24) [i386-linux] That might mean that I'm onto something that

[Mongrel] MongrelCluster - How can I make a request to a specific mongrel instance?

2006-08-24 Thread Scott R Brittain
In our app we've a number of singleton ruby classes that cache static data in hashes, things like string values, system config params, etc). In a webbrick environment this works ok, but we find in production we have a problem because we have 4 caches, one for each mongrel instance. This

Re: [Mongrel] MongrelCluster - How can I make a request to a specific mongrel instance?

2006-08-24 Thread Ezra Zygmuntowicz
On Aug 24, 2006, at 8:13 AM, Scott R Brittain wrote: In our app we've a number of singleton ruby classes that cache static data in hashes, things like string values, system config params, etc).  In a webbrick environment this works ok, but we find in production we have a problem because we have 4

Re: [Mongrel] MongrelCluster - How can I make a request to a specific mongrel instance?

2006-08-24 Thread John Butler
On Aug 24, 2006, at 8:13 AM, Scott R Brittain wrote: In our app we've a number of singleton ruby classes that cache static data in hashes, things like string values, system config params, etc). In a webbrick environment this works ok, but we find in production we have a problem because

Re: [Mongrel] Mongrel crashes - bad doggie

2006-08-24 Thread Zed Shaw
On Thu, 2006-08-24 at 09:19 +0200, Kaspar Schiess wrote: Try out the latest pre-release to see if you still have the lock-ups: sudo gem install mongrel --source=http://mongrel.rubyforge.org/releases/ Now I get /usr/lib/ruby/1.8/erb.rb:781: [BUG] Segmentation fault ruby 1.8.4

Re: [Mongrel] MongrelCluster - How can I make a request to a specific mongrel instance?

2006-08-24 Thread Marcus Rueckert
On 2006-08-24 08:53:46 -0700, Ezra Zygmuntowicz wrote: Well you can use pound to setup sticky sessions or session affinity but I don't reccomend that as its fragile. I would say your best option is to make a very simple drb server to run your singleton in and then all mongrels can

Re: [Mongrel] MongrelCluster - How can I make a request to a specific mongrel instance?

2006-08-24 Thread Ezra Zygmuntowicz
On Aug 24, 2006, at 12:38 PM, Marcus Rueckert wrote: On 2006-08-24 08:53:46 -0700, Ezra Zygmuntowicz wrote: Well you can use pound to setup sticky sessions or session affinity but I don't reccomend that as its fragile. I would say your best option is to make a very simple drb server to

[Mongrel] Invalid HTTP format, parsing fails

2006-08-24 Thread Ross Singer
Hi,I am having a bit of a problem with my app that is using mongrel.For a particular vendor we use, they are generating links that look like:

[Mongrel] mongrel logging on win32 platform and win32 service

2006-08-24 Thread linux user
Hi All I am usingversion 0.3.13.3 and since there is no logging support for win32 application. I was wondering if it was possible to get any kind of logging at all. I have tried tothese two options 1. Stream redirection using mongrel_rails start -c C:/myspace/snapshot -p 4111 -t 70 -e

Re: [Mongrel] mongrel logging on win32 platform and win32 service

2006-08-24 Thread linux user
On 8/24/06, linux user [EMAIL PROTECTED] wrote: Hi All I am usingversion 0.3.13.3 and since there is no logging support for win32 application. I was wondering if it was possible to get any kind of logging at all. I have tried tothese two options 1. Stream redirection using mongrel_rails

Re: [Mongrel] mongrel logging on win32 platform and win32 service

2006-08-24 Thread Luis Lavena
On 8/24/06, linux user [EMAIL PROTECTED] wrote: Hi All I am using version 0.3.13.3 and since there is no logging support for win32 application. I was wondering if it was possible to get any kind of logging at all. I have tried to these two options 1. Stream redirection using

Re: [Mongrel] MongrelCluster - How can I make a request to a specific mongrel instance?

2006-08-24 Thread Rick Olson
I bet I'm not the only person who would like to see those four lines of code. Pretty please? With a cherry on top? /David drb is incredibly easy: http://www.chadfowler.com/ruby/drb.html http://segment7.net/projects/ruby/drb/ -- Rick Olson http://weblog.techno-weenie.net

[Mongrel] [slightly offtopic] A small, fast Apache2.2 (if there is such a thing)

2006-08-24 Thread Zack Chandler
Hi. I'm using Apache2.2 built from source + mod-proxy + ssl + svn. Everything works fine but I'm sure you I could disable a ton of modules during the build process and in httpd.conf to speed things up and run a tighter memory footprint. Has anyone bothered building Apache2.2 from source

Re: [Mongrel] MongrelCluster - How can I make a request to a specific mongrel instance?

2006-08-24 Thread Kirk Haines
On 8/24/06, David Vrensk [EMAIL PROTECTED] wrote: On 8/24/06, Ezra Zygmuntowicz [EMAIL PROTECTED] wrote: Memcached is indeed another option. Although it sounded like for just one Singleton object cache that memcached would be overkill and require yet another dependency for the

Re: [Mongrel] MongrelCluster - How can I make a request to a specific mongrel instance?

2006-08-24 Thread Ezra Zygmuntowicz
On Aug 24, 2006, at 3:52 PM, David Vrensk wrote:On 8/24/06, Ezra Zygmuntowicz [EMAIL PROTECTED] wrote:     Memcached is indeed another option. Although it sounded like forjust one Singleton object cache that memcached would be overkill andrequire yet another dependency for the app. DRb is

Re: [Mongrel] [slightly offtopic] A small, fast Apache2.2 (if there is such a thing)

2006-08-24 Thread Jeremy Kemper
On 8/24/06, Luis Lavena [EMAIL PROTECTED] wrote: On 8/24/06, Zack Chandler [EMAIL PROTECTED] wrote: Hi. I'm using Apache2.2 built from source + mod-proxy + ssl + svn. Everything works fine but I'm sure you I could disable a ton of modules during the build process and in httpd.conf to speed things

Re: [Mongrel] [slightly offtopic] A small, fast Apache2.2 (if there is such a thing)

2006-08-24 Thread Luis Lavena
On 8/24/06, Jeremy Kemper [EMAIL PROTECTED] wrote: On 8/24/06, Luis Lavena [EMAIL PROTECTED] wrote: On 8/24/06, Zack Chandler [EMAIL PROTECTED] wrote: Hi. I'm using Apache2.2 built from source + mod-proxy + ssl + svn. Everything works fine but I'm sure you I could disable a ton

Re: [Mongrel] mongrel logging on win32 platform and win32 service

2006-08-24 Thread Luis Lavena
On 8/24/06, linux user [EMAIL PROTECTED] wrote: On 8/24/06, Luis Lavena [EMAIL PROTECTED] wrote: On 8/24/06, linux user [EMAIL PROTECTED] wrote: Hi All I am using version 0.3.13.3 and since there is no logging support for win32 application. I was wondering if it was possible