lkml.org 
[lkml]   [1998]   [Mar]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Subject2.0.33 runs out of memory when using mremap ???
    Date
    From
    strace excerpt, while analyzing a big HTTP log file:

    >write(4, "e] (WinNT; I ;Nav)\" http://www."..., 4096) = 4096
    >mremap(0xbffb4000, 0x25000, 0x25000, 0x1, 0x25000) = -1 ENOMEM (Cannot allocate memory)
    >mremap(0xbffb4000, 0x25000, 0x25000, 0x1, 0x25000) = -1 ENOMEM (Cannot allocate memory)

    ... umm, what?

    This particular process obviously (I've traced it before) obviously
    mremapped a memory block a couple of thousand of times. Every time the
    kernel moved the block a bit higher. Suddenly it ends up at the upper end
    of the processes memory space, at which time the kernel forgets to restart
    at the beginning.

    Clues? Patches?

    --
    Matthias Urlichs
    noris network GmbH

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu

    \
     
     \ /
      Last update: 2005-03-22 13:42    [W:0.020 / U:30.932 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site