Perlbal - Re: Patch and RFC: Perlbal OOM with buffered uploads and limited

This is Interesting: Free IT Magazines  
Home > Archive > Perlbal > May 2007 > Re: Patch and RFC: Perlbal OOM with buffered uploads and limited





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: Patch and RFC: Perlbal OOM with buffered uploads and limited
Brad Fitzpatrick

2007-05-16, 7:11 am

On Tue, 15 May 2007 jbj@forbidden.co.uk wrote:

>
> Unless I'm missing something, that will only help if
> chunked_upload_state is not undef? (in our case it's just a huge block
> of data being sent by an HTML form in a POST)


Hah... whoops, my bad. I was reading the wrong code. I messed up chunk
uploads with buffered uploads. Sounded the same in my head, I guess.

>
> Ok - I'll have a look at this. Any likely reason why it might OOM
> after just 60MB? (servers have 2GB RAM, and plenty of it is free).


Perl likes to do that with too big of sysread/syswrites. Don't know why.

In any case, there are two simple places to fix this, but I'd really like
a test case to make me feel better about either/both of them, so let me
know if you whip one up.

- Brad


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com