[Mongrel] More mongrel pre-release crashes
zedshaw at zedshaw.com
Mon Aug 14 20:13:59 EDT 2006
On Mon, 2006-08-14 at 14:25 -0700, Carl Lerche wrote:
> Alright, here are some more outputs of the log for the latest pre-
> release of mongrel. I'm just copying the relevant stuff:
Carl, what the hell are you doing to my software. :-) Nah, this is
good, but I'm really curious what your app is, it seems to really
> ERROR reading http body: Socket closed or read failure
> Mon Aug 14 00:00:02 CDT 2006: ERROR: undefined method `rewind' for
Ah, right before this should have been a socket read failure message.
Can you send that on to me. I've fixed this and will do another
pre-release. Also, does this crash the server? It shouldn't.
> Mon Aug 14 10:39:55 CDT 2006: ERROR: failed to allocate memory
> 536:in `readpartial'
Ok, you're on your own here. You've basically run out of ram
If you have rails actions that are loading tons of data, consider
forcing that data =nil and call GC.start. Before and after filters are
good for this.
> Also, what does it mean when I see a bunch of gibberish in the log
> file like as follows? You mentioned base64 stuff, how is it sent to
> the log file? I tried to decode a line and I get the following:
> '"GIF89aM\0009\000\367\000\000\000\000\000\377\377\377\037\037 \203_d
Looks like it's sending an image, but I've no idea why it'd put that int
here since I don't have the full log. It could mean that your
configuration isn't setup properly since Mongrel seems to be serving
files. I'd like to find out why you get this message, so if you can
send me a zip of your logs and maybe a detailed description of what your
app does then I can try to find out what causes those.
Send it to me off list so that you can keep it a secret (if you need
Zed A. Shaw
http://www.railsmachine.com/ -- Need Mongrel support?
More information about the Mongrel-users