﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
2070	Large streaming uploads	oyvind.saltvik@…	Jacob	"Based on code from ticket 1448.

Test for large file upload

{{{

from django.db import models

# Create your models here.
class FileList(models.Model):
    name = models.CharField(maxlength=255)
    email = models.EmailField()

    class Admin:
        pass

class AFile(models.Model):
    descr = models.CharField(maxlength=255,core=True)
    file = models.FileField(upload_to='files')
    inlist = models.ForeignKey(FileList,edit_inline=models.STACKED)

}}}

And two 500 megabyte files for upload.

Works with the patch with +20 mb above average memory and minimal cpu load usage by the httpd thread, file upload successful.

Without the patch httpd rages to +140 mb above average memory usage and over 60% cpu usage and fails miserably in the end."	enhancement	closed	HTTP handling	dev	normal	fixed	streaming, upload, large, sprintsept14, feature	dsalvetti@… matthias@… oliver@… Maniac@… nesh@… aenor.realm@… gary.wilson@… serialx.net@… wonlay@… lurker86@… shaun@… antonio.mele@… herbert.poul@… gabor@… koebbe@… axiak@… jm.bugtracking@… moritz.angermann@… django@… brosner@… root.lastnode@… akaihola+djtick@… sam@… trey@… klaus.blindert@… ville@… reza@… registrations@… calvin@… works@… andrewbadr.etc@… uptimebox@… drfarina@… beau@… giuliani.v@… prigun@… zerok@… johannes.beigel@… david@… django@… mocksoul@… schlaber@… danpoe@… django@… django-2070@… clintecker@…	Accepted	1	0	0	0	0	0
