Are you using AOLserver 4.5x on a 64-bit platform? nsd will crash on 32-bit platforms when memory usage (or log files) exceed 2GB. I had to upgrade for a similar issue involving memory usage.
Although I think that it would be ideal to port the Naviserver code at some point. -Hossein On Wed, Nov 18, 2009 at 6:06 AM, John Buckman <j...@bookmooch.com> wrote: > I'm developing a music submission system for Magnatune.com using aolserver > and I'm seeing some problems with large file uploads. > > Specifically, aolserver periodically crashes due to a malloc error. > > It looks like aolserver stores files being uploaded (via form > enctype="multipart/form-data") in memory as they're being uploaded. When > people are uploading zip files of WAV-quality rips of CDs, that's 800mb of > RAM per upload. A few concurrent uploads, and splat. > > It looks like Naviserver has changed the aolserver code in Naviserver > 4.99.1 to > > - Using temporary files for large uploads when content exceeds > pre-configured maxsize parameter > > - New spooler thread for handling large file uploads > > > Does it make sense to port this naviserver code over to aolserver? > > Or, is there another (easier) way to handle large file uploads that doesn't > use lots of memory? > > -john > > > -- > AOLserver - http://www.aolserver.com/ > > To Remove yourself from this list, simply send an email to < > lists...@listserv.aol.com> with the > body of "SIGNOFF AOLSERVER" in the email message. You can leave the > Subject: field of your email blank. > -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to <lists...@listserv.aol.com> with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.