Re: Memory Resources - Howto Refresh

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Hi,
>
> After days of work, without rebooting my box, it suddenly slowed down.
> My filesystem is just
> 41% of the total size that my hard disk can hold. I executed "free" to
> check on the available
> memory resources. I found the following information:
>
>
> [edelarosa@eadelarosa xxx]$ free
>              total       used       free     shared    buffers     cached
> Mem:        505220     428728      76492          0      16860     195208
> -/+ buffers/cache:   216660     288560
> Swap:      1052248     194312     857936
>
>
>
> Well, I don't really want to reboot my box.  Is there a way that I could
> refresh (or probably
> release the unused) resources of my box?  After all, some of my
> previously used
> applications (eclipse, jboss, and mysql) have been shutdown for quite a
> long while now.

Okay, I'm going to out-and-out say that I have no idea whether what I'm
about to say is gonna help you or not, but it can't hurt.

RH9 came with a cache-swap bug that's easily fixed.  It's discussed in the
thread below:

https://listman.redhat.com/archives/shrike-list/2003-August/msg00329.html

Basically, from root, type:

/sbin/sysctl -w vm.bdflush="30 500 0 0 2560 15360 60 20 0"

Then edit your /etc/sysctl.conf and add the line:

vm.bdflush="30 500 0 0 2560 15360 60 20 0"

If this is your problem, then the command line deal *should* speed you up
pretty quickly...

HTH,

Ben


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux