Andre, thanks for the reply. I am noticing, using the 'top' utility,
that the "memory used" number is way up there this morning, around
469576K. The total mem is 512Mb, so obviously something is taking up a
lot of memory. I tried shutting down all the main processes that might
use a lot of memory (httpsd, mysql, named), but the number stayed right
up there. Do you have any idea why this is? Is it Linux just using the
memory for disk caching or something? Even if it is, there is simply not
enough data in use on that server right now to account for it all. This
is a bit mystifying. I believe that top should display the memory as
being freed pretty quickly after the processes that are using it
terminate, shouldn't it? I am sorting by memory useage, and yet nothing
that big shows up. Could this be a glitch in Linux itself? Some kind of
memory leak? Or am I just reading these numbers completely wrong.

I know this isn't exactly specific to Embperl, but it might be relevant
to some of the speed problems which others have mentioned too... any
clues much appreciated!

TIA

-Neil

Andre Landwehr wrote:
> 
> On Thu, Mar 22, 2001 at 03:19:51PM -0500, Neil Gunton wrote:
> > And moreover, I could see it starting to use swap space, which
> > simply should not happen with the kind of minimal load the machine is
> > under.
> 
> It's quite common (at least in Linux, don't know about other
> unices) to use swap space even if huge amounts of memory
> are unused yet. In most cases this will increase the overall
> performance of a system because memory pages that are not used
> very often will get swapped out immediately and not just-in-time
> for another process to allocate all the memory it needs.
> 
> Andre
> 
> --
>  /"\
>  \ /
>   X  ASCII Ribbon campaign against HTML E-Mail
>  / \
> 
>   ------------------------------------------------------------------------
>    Part 1.2Type: application/pgp-signature

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to