[Mongrel] Possible memory leak problem...

Ezra Zygmuntowicz ezmobius at gmail.com
Sat Sep 1 11:55:31 EDT 2007

On Sep 1, 2007, at 5:41 AM, Joey Geiger wrote:

> Now, I'm opening a different can of worms, but how do you suggest
> sending an image file from the database without using send_data, or
> does send_data not suffer from the same issues as send_file?
> I tried using X-Sendfile and ran into issues that files weren't being
> pulled out of the DB correctly. (Probably should be able to fix this
> now, after I figured it out)

	You should never store files in the database in the first place.  
send_data has the same leaky problem as send_file. The filesystem is  
a database for files already and is much more efficient at storing  
files then using the database for it.

-- Ezra Zygmuntowicz 
-- Founder & Ruby Hacker
-- ez at engineyard.com
-- Engine Yard, Serious Rails Hosting
-- (866) 518-YARD (9273)

More information about the Mongrel-users mailing list