Re: [Mongrel] Setup with Apache 2.2 proxy balancer : timeout during uploads

2006-08-29 Thread Philippe Jayet
Thanks all for your feedback. I've started seeing this too recently. I upgraded to the latest mongrel prerelease 0.3.13.4 and still had an issue this morning. The uploaded files are usually at least 20MB when this happens. Here's my config: Apparently in my setup, there is no relation

Re: [Mongrel] Setup with Apache 2.2 proxy balancer : timeout during uploads

2006-08-29 Thread Philippe Jayet
Hi all, Apparently in my setup, there is no relation with the file size, but one actor has a timeout of 10 minutes, it appears to be quite constant in the log files. But I really can't figure out where it may come from :( Any idea someone ? I'll try to investigate the Apache configuration.

Re: [Mongrel] Setup with Apache 2.2 proxy balancer : timeout during uploads

2006-08-31 Thread Philippe Jayet
Hi all, I'm not quite sure to fully understand how a request is handled by this setup, particularly at which step the full request may be cached and passed by to Mongrel and/or Rails fully, without waiting for the client to finish his upload. Concerning this point, I'm not sure of the

Re: [Mongrel] Setup with Apache 2.2 proxy balancer : timeout during uploads

2006-09-01 Thread Philippe Jayet
Yes, Mongrel processes the full request, including uploaded body before calling rails (and locking it). If the request is large then it also streams the result to a tmpfile in order to not use up ram. You're doing an amazing job Zed :) The response Rails generates is placed into an

[Mongrel] MogileFS handler

2006-11-02 Thread Philippe Jayet
Hello, I've been using NFS for sharing files across a cluster of servers but I've had a lot of problems with that. I'm planning to move to MogileFS which seems to be more stable and more adapted to this usage (lots of user uploaded files). I wonder if someone has already worked on an integration

Re: [Mongrel] MogileFS handler

2006-11-02 Thread Philippe Jayet
Hi, There is a mogile-fs client from robotcoop http://dev.robotcoop.com/Libraries/mogilefs/index.html that can be easily integrated with your Rails app. I'll definitely be using this library in my application. But I need some way to serve the MogileFS files (mainly images and audio files)

Re: [Mongrel] MogileFS handler

2006-11-02 Thread Philippe Jayet
Hi, mod_xsendfile is pretty nice for serving files: http://celebnamer.celebworld.ws/stuff/mod_xsendfile/ Yes, Zed posted that link some time ago. I'll have to give it a try, seems interesting and still maintained ... Especially if you don't want to put all your files in the public

Re: [Mongrel] mongrel memory usage ballooning and process stomping

2007-01-19 Thread Philippe Jayet
This is the fixed version ... Philippe Jayet wrote: I've created a Debian package for ImageScience. It is not well tested but works for me. If anyone is interested, I can upload it somewhere. The package is for FreeImage, the ImageScience dependency ! Philippe J