You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Gerald Britton <gb...@mit.edu> on 1998/09/22 04:52:01 UTC
general/3040: mmap is not a good idea for very large files
>Number: 3040
>Category: general
>Synopsis: mmap is not a good idea for very large files
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: apache
>State: open
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Mon Sep 21 21:10:01 PDT 1998
>Last-Modified:
>Originator: gbritton@mit.edu
>Organization:
apache
>Release: 1.3.1
>Environment:
Linux (RedHat 5.1)
>Description:
mmaping large files causes a severe preformance hit causing severe swapping
and a large speed drop in transmission.
>How-To-Repeat:
>Fix:
Limit mmaping to files under a given size (dependant on the ammount of memory
in the server, though 16M seems to be a good size to me.
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED. This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig- ]
[nored unless you are responding to an explicit request ]
[from a developer. ]
[Reply only with text; DO NOT SEND ATTACHMENTS! ]