[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [Issue 860] New - httpd memory use proportional to file size

From: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2002-08-09 19:06:23 CEST

Thanks for filing, Michael. Can you also put in the exact recipe you
used -- that is, the material in your email? It had exact file sizes
and stuff...

-K

issues@subversion.tigris.org writes:
> + +============================================================================+
> + | httpd memory use proportional to file size |
> + +----------------------------------------------------------------------------+
> + | Issue #: 860 Component: subversion |
> + | Status: NEW Version: current |
> + | Resolution: Platform: Other |
> + | Issue type: DEFECT OS/Version: FreeBSD |
> + | Priority: P3 Subcomponent: unknown |
> + +----------------------------------------------------------------------------+
> + | Assigned To: issues@subversion |
> + | Reported By: mprice |
> + | QA Contact: issues@subversion |
> + | CC list: Cc: |
> + +----------------------------------------------------------------------------+
> + | Milestone: TargetMilestone: --- |
> + | URL: |
> + +============================================================================+
> + | DESCRIPTION |
> + When a commit over ra_dav is adding a file to the repository, the
> + httpd process allocates as much memory as the size of the file being
> + transfered. For large files this isn't possible and httpd runs out of
> + memory midway through the commit.
> +
> + How to replicate:
> +
> + 1. Create a huge file containing random data. I used dd and
> + /dev/urandom. The file only has to be a little bigger than the maximum
> + ammount of memory a process on the server can allocate. You can reduce
> + the hard limit on the data segment size to view this problem with a
> + smaller file if you wish.
> +
> + 2. Add the file to a repository.
> +
> + 3. Commit the change.
> +
> + 4. Watch httpd run out of memory.
> \ No newline at end of file
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: issues-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: issues-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Aug 9 19:22:51 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.